Member
Member
josmac   2007-10-15, 07:38
#1

Howdy,
Installed zenphoto 1.0.8.2 without great difficulty, managed to get as far as the admin screens, but whenever I try to access the photos themselves I get the 404:

Not Found
The requested URL /cgi-system/Sierra/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Seems like I have a misconfiguration in my .htaccess or zp-config, but I can't find it.

Here is what I have:
.htaccess

htaccess file for zenphoto


NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.


RewriteEngine On

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


RewriteBase /zenphoto


RewriteRule ^admin/?$ zen/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule ^.*$ - [R,L]

RewriteRule index.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-_]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^(.)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.
)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.*)/image/([^/\]+)$ zen/i.php?a=$1&i=$2 [L,QSA]

Catch-all - everything else gets handled in PHP for compatibility.


RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]

And here is what I have in zp-config:

Any help you can offer would be appreciated by this tired newbie!

Joseph

Member
Member
josmac   2007-10-17, 00:28
#2

Fixed! This site is hosted on Dreamhost. They have specific instructions for configuring zenphoto (http://wiki.dreamhost.com/ZenPhoto). Needed to upgrade to PHP 5...

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.