mod_rewrite still not working

I pulled this query out of another thread so that the subject matches the question (and also because I didn't want it to get lost in all the other stuff in that thread, most of which has been resolved).

I have been assured by my ISP tech support that mod_rewrite *is* installed and I've got an .htaccess file in the zenphoto directory with "RewriteBase /zenphoto" in it (it's the only thing in the file) but my gallery still doesn't work with this feature enabled. I get the pretty urls but whenever I click on one I continue to get a 404 error. You can see it here:

friendsofthejeninfreedomtheatre.org/zenphoto

Does anyone have any ideas what else I can look at?

TIA

Comments

  • "it's the only thing in the file"

    you need to use the one that comes with zenphoto. It needs to contain everything that comes with the installation package and you just have to modify the rewrite base in that file.

    Download the zip from the front page
    pull out the .htaccess file.
    modify it to reflect your rewritebase /zenphoto
    upload it to your zenphoto directory
  • Doh!

    I had no idea there was an .htaccess file included in the zenphoto package because it was invisible! I've always just made my own for the few directories that have needed them.

    All is working. Thank you very much.
  • trisweb Administrator
    Ah, excellent. Sorry for the confusion -- in future versions, the install process will be slipstreamed and will generate everything for you, so that should be less of a problem.
Sign In or Register to comment.