Step 2: Edit the .htaccess file

Very nice Gallery and glad to have a simple one that looks nice!!

Only one problem....

I cant find the exact answer to this, so I am posting!! The setup says to do this is step 2

"Edit the .htaccess file in the root zenphoto folder if you have the mod_rewrite apache module, and want cruft-free URLs. Just change the one line indicated to make it work."

Which line do I change in my .htaccess file and to what? If anyone can help that would be great!!

Mel

Comments

  • ziebo Member
    At approximately line 8, after

    `# !!! Change this to the absolute path !!!`. This line will read

    `RewriteBase /zp`. You'll change it to the absolute path of your ZenPhoto installation directory. For example, if you were to install ZP at http://www.collagestudios.net/photos, then you'll change that line to say

    `RewriteBase /photos`. Because I've installed it at http://boison.org/insight, my .htaccess includes the path

    `RewriteBase /insight`.

    Hope this helps.
  • Mel Member
    Ok thanks... I did that and refresh my install page and it asks me for my login and password. Maybe I did something wrong. Any help would be great!! Thanks
  • ziebo Member
    Enter the login information that you specified in config.php. You have to have atleast one image uploaded in order for ZenPhoto to work, AFAIK. You can do this either by FTP or through the admin interface. Everything should work out from there?
  • Mel Member
    Would that be my ftp username and pass? Because I entered that and nothing happens.

    Where is the admin interface?
  • ziebo Member
    No, it's whatever you set (or the defaults, if you made no changes) in config.php, lines 38 (username) and 41 (password). You can login at [zenphotoinstallfolder]/zen/admin.php.
  • Mel Member
    Well the problem was found... for some reason the admin part does not work in firefox.
  • ziebo Member
    It works fine for me in the latest version of Firefox. Do you have Javascript enabled, although I'm not sure if that'll cause any problems...it's just that Zenphoto is AJAX heavy.
  • Mel Member
    I have the lastest version and Java enabled.. I dunno ... but I cant do any admin parts unless I am in IE. Its ok thou... at least I can do it... Thanks
Sign In or Register to comment.