Problem with mod_rewrite?

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?

Comments

  • acrylian Administrator, Developer
    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/
  • 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
  • acrylian Administrator, Developer
    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.
  • 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. :-)
  • acrylian Administrator, Developer
    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.
  • 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
  • acrylian Administrator, Developer
    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.
  • 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
  • acrylian Administrator, Developer
    Sorry, I have no idea. I tried it on another site without any problems (shared hosting).
Sign In or Register to comment.