![]() |
|
Help with a 404 Error? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Help with a 404 Error? (/thread-1703.html) |
Help with a 404 Error? - josmac - 2007-10-15 Howdy, Not Found Seems like I have a misconfiguration in my .htaccess or zp-config, but I can't find it. Here is what I have: htaccess file for zenphotoNOTE: 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] RewriteRule index.php$ index.php [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 Help with a 404 Error? - josmac - 2007-10-17 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... |