.htaccess issues
somazx
Joined: 2004-07-09
Posts: 2 |
Posted: Fri, 2004-07-09 20:34 |
I'm moving a running install of gallery to a new server. Going from Apache 1.3 to 2.0 on Suse 9.1 (apache, php - all installed via Suse packages). Everything works except for mod_rewrite: "Warning! the .htaccess file there is getting interpreted by apache - if I put bogus directives in - it gives a 500 error. Gallery appears to be able to write to the file since its putting the following in: # BEGIN Gallery section However url rewriting isn't working at all. Server Info: |
|
Posts: 2
Well I sort of fixed this myself. I ran secure.sh. Then I replaced the .htaccess file generated by gallery with my old .htaccess file to get the mod_rewrite commands. Then I modified config.php and turned on support for mod_rewrite. Now it works fine. So it seems to me something may be wrong with how Gallery is detecting if .htaccess is working properly.
Posts: 2322
That error message has been updated in 1.4.4 to reflect what it's actually trying to do. It's trying to verify php_value statements in the .htaccess. The test a little further down the page, explicitly for mod_rewrite is what you want to look at.