ZenphotoCMS Forum
Problem with mod_rewrite? - 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: Problem with mod_rewrite? (/thread-5656.html)



Problem with mod_rewrite? - jacenty - 2009-08-12

Strange problem.
On my installation zenphoto few people can't go deeper than start screen - error Page don't exist.

In apache log I got error:
File does not exist: /path..to..zenphoto/portrets, referer: http://blah...blah.com/

It's looks like not rewriten address becouse proper address should be
/path..to..zenphoto/albums/portrets????

Or I miss something?




Problem with mod_rewrite? - acrylian - 2009-08-12

So what does setup report about modrewrite? Did you try to disable modrewrite? Zenphoto links never point to the "albums" folder itself!
Also please review: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/




Problem with mod_rewrite? - jacenty - 2009-08-12

I read this already.
When I turn off modrewrite - everything works fine.
And I know that fact about links.
But strange is this: on some machines moderewrite works fine (I check this on my laptop with OSX, Safari, and PC with Firefox or IE), on other - not (My friend PC with Firefox...). Maybe some plugins? Where I should look to catch the point?
Thanks anyway for response.
Jack




Problem with mod_rewrite? - acrylian - 2009-08-12

If modrewrite works or not is a matter of the configuration of your server and has actually nothing to do with the computer someone visits the site from.




Problem with mod_rewrite? - jacenty - 2009-08-13

Yeah, maybe you right - but question is: why on some computer this error apear, and on other not?
And this is not random.
If someone can't open album - then reloading page, using other browser - don't change anything.
In other side my computer and few other people tell me everything is fine.
So - strange...
Thanks for response. :-)




Problem with mod_rewrite? - acrylian - 2009-08-13

Sorry, then the only thing that comes to mind might be a browser issue like a outdated cache file for example which can play funny tricks. Or the visiting computers have a wrong firewall configuration or else.

If it is not random you need to find out what all the machines it does not work have in common. Modrewrite is a server configuration option.




Problem with mod_rewrite? - jacenty - 2009-08-24

I think i got problem.
When in browser I wrote http://www.blah..blah.com - everything works fine, I can browse whole gallery.
But when somebody wrote address like this: http://blah..blah.com (without www) - then I can browse only mainpage - if I want go deeper into gallery got error: Not Found. The requested URL ...... was not found on this server.
How to fix that?
Jacenty




Problem with mod_rewrite? - acrylian - 2009-08-24

Are you sure your server is configured to use the domain with and without the "www"? Please try if this is a general issue and if contact your host.




Problem with mod_rewrite? - jacenty - 2009-08-24

My start page works and dosn't mather with or without www in address, so I suppouse my server is configured properly. Problem starts when I try go deeper in gallery - then without www and with modrewrite ENABLED I got error "Not Found". If I turn off modrewrite, then I can go deeper withou problem.

Resume:
http://www.blah...blah.com - works
http://blah...blah.com - works
http://www.blah...blah.com/portraits/ - works
http://blah...blah.com/portraits/ - ERROR: "Not Found" (with mode_rewrite ON)
http://blah...blah.com/index.php?album=portraits (with mode_rewrite OFF) - works

So again - how to fix that? Any Clue?

Jacenty




Problem with mod_rewrite? - acrylian - 2009-08-24

Sorry, I have no idea. I tried it on another site without any problems (shared hosting).