install at root not possible?

I can get the install working just fine, but with one catch: it has to be in a folder. I set up a subdomain (http://photos.fritzhubbard.org/) but unless I put everything in a folder it won't work.

I think (I don't know a ton about this stuff) it has something to with .htaccess really wanting there to be something after the `RewriteBase /` but if it's at root level, then that is indeed the correct address, yes?

It seems to want to work, but the folders aren't accessed correctly. There's no CSS applied and the albums are no called correctly.

I've loaded the working version at http://photos.fritzhubbard.org/zp/

and the non-working version is simply minus the "zp/"

They are exactly the same, other than .htaccess

Is this normal?

Comments

  • trisweb Administrator
    Yes, this is indeed a bug in 0.9 with the new path resolution. The .htaccess is fine, but the printed paths in the PHP files are off by a slash.

    If you want you can tweak the code at the bottom of config.php to manually set the WEBPATH constant like so:

    `define('WEBPATH', '/');`

    Like I said, I'll make the paths work in a bugfix release soon.
  • Tried that, no worky for me.

    If a fix is coming, don't worry about it... I can wait--I'm just a tinkerer.

    So far so good, by the way. I really like where this is going.
  • I'm trying to do the same thing, at http://photos.pixelhum.com

    Gonna have to fiddle later though, no time left now.
  • trisweb Administrator
    Yep, I'll definately fix it in the next release.
  • Groovy :D Look forward to it!
  • chucky Member
    hi i'm using the latest version, 1.0.3, but it can't make the rewriting work when installed at root ....
    do i have to tweak something ??
    thanks
  • You need to change a line in your .htaccess file which is in the root of your zenphoto installation.

    In your case (if it's installed at the root) you should have the following RewriteBase line:
    `RewriteBase /`
  • chucky Member
    that's what i tried, but it didn't work ...
Sign In or Register to comment.