ZenphotoCMS Forum
album works but doesn't work without index.php - 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: album works but doesn't work without index.php (/thread-735.html)



album works but doesn't work without index.php - EdnaGarrett - 2006-08-13

Installed it in XAMP but have the index.php error (doesn't redirect to index.php), instead if I go to
http://localhost/zenphoto
it shows "Zenphoto error: Album does not exist."

In the zenphoto admin panel images work fine, descriptions and all.

tried this but still doesn't work
http://www.zenphoto.org/support/topic.php?id=564

also turned on
mod_rewrite
as read in another thread

now, I'm out of ideas

help please




album works but doesn't work without index.php - EdnaGarrett - 2006-08-13

YAY! it's working!!

saw this thread
http://www.zenphoto.org/support/topic.php?id=751#post-4140
and included the last Rewrite rule, and now it works

in file
.htaccess

just below
RewriteRule ^admin/?$

I added:

RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]

new fix for index.php passed as a param


RewriteRule index.php$ index.php [L,QSA]

put above this line


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

and now I can get in!!!

thanks!

thanks Trisweb!