after install: ZP links to wrong directory

Hi,

I recently installed ZP at http://tobiashesse.badekow.com/zenphoto/ The images are in /zenphoto/albums/XXX/ but ZP tries to link to /zenphoto/XXX/ whereas I see all the images and galleries in the Zenphoto interface.

Any help is greatly appreciated

Comments

  • wotan-

    that's as it should be. if using mod rewrite functionality, the link to images should be http://your.URL.here/zenphoto/albumname/imagename

    without mod rewrite the URL should be:
    http://your.URL.here/zenphoto/image.php?album=youralbumname&image=yourimagename

    you might check your mod rewrite settings, and even try turning them off completely just to test.

    Does that help?
  • wotan Member
    thinkdreams,

    that helped! Thanks! Now what exactly do I have to change in the .htaccess file to get mod rewrite to work??

    I changed this line

    `# !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!

    RewriteBase /zenphoto`

    Is that correct? And sufficient?
  • Depending on your hosting provider (I use Dreamhost) you may have some additional stuff to do to get modrewrite to work. You also have to make sure you change the line in your zp_config.php file. Search the forum for the exact lines, or look in the Dreamhost setup for more info.

    Those modifications for Dreamhost may work in your situation.
  • FG Member
    help help!!

    FG
Sign In or Register to comment.