![]() |
|
Issue with "Albums" - Folder 'Not Found' - 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: Issue with "Albums" - Folder 'Not Found' (/thread-5346.html) |
Issue with "Albums" - Folder 'Not Found' - hubutz - 2009-06-16 Hey all, just installed ZenPhoto - worked all fine (at least it seem to work fine). I've created a new folder in the albums folder (via SCP) and copied some files. ZenPhoto did recognize that and created a new album, but... when i visit my nearly uncustomized site and click on the gallery.. it shows the "Not Found"-error page. Anyone got a clue what I've done wrong? Can i help with more infos? If yes, which? Thanks and cheers, hub //EDIT could this be an issue with the .htaccess? Don't have any clue of this, this is the content of my actual one: # htaccess file version 1.2.2.0; # Update the above and the define in setup.php when you make changes to the rewrite rules! # NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory. (Or let setup.php do it for you!) <IfModule mod_rewrite.c> RewriteEngine On #### !!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!! RewriteBase / #### RewriteRule ^admin/?$ zp-core/admin.php [R,L] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^albums/?(.+/?)?$ $1 [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [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/([A-Za-z0-9\-_]+)/([0-9]+)/?$ index.php?p=$1&page=$2 [L,QSA] RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA] RewriteRule ^(.*)/page/([A-Za-z0-9\-_]+)/?$ index.php?album=$1&p=$2 [L,QSA] #### Rewrite rule addition for search RewriteRule ^page/search/fields([0-9]+)/(.*)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA] RewriteRule ^page/search/fields([0-9]+)/(.*)/?$ index.php?p=search&searchfields=$1&words=$2 [L,QSA] RewriteRule ^page/search/archive/(.*)/([0-9]+)/?$ index.php?p=search&date=$1&page=$2 [L,QSA] RewriteRule ^page/search/archive/(.*)/?$ index.php?p=search&date=$1 [L,QSA] RewriteRule ^page/search/tags/(.*)/([0-9]+)/?$ index.php?p=search&searchfields=4&words=$1&page=$2 [L,QSA] RewriteRule ^page/search/tags/(.*)/?$ index.php?p=search&searchfields=4&words=$1 [L,QSA] RewriteRule ^page/search/(.*)/([0-9]+)/?$ index.php?p=search&words=$1&page=$2 [L,QSA] RewriteRule ^page/search/(.*)/?$ index.php?p=search&words=$1 [L,QSA] Issue with "Albums" - Folder 'Not Found' - hubutz - 2009-06-16 If i disable the "modrewrite" option in the option it works. what do i have to change in the httpd.conf to get this working? Thanks! Issue with "Albums" - Folder 'Not Found' - sbillard - 2009-06-16 I'm assuming that the above .htaccess file is the one setup created for you. If so, your server probably does not support mod_rewrite. If not, re-run setup to be sure that the RewriteBase is correct--the one above presumes you installed in the root folder of your site. |