From: Carsten K. <car...@ma...> - 2002-01-14 02:25:29
|
It turns out with Apache/1.3.22, PhpWiki's use of "<IfModule mod_php4.c>" in the '.htaccess' file is correct after all. The default 'httpd.conf' is very conservative, and so it does not permit "Options" overrides in '.htaccess' files. The solution is to tell the server to allow "Options" overrides for the 'phpwiki' directory, or if you're not too concerned about security, you can just enable it globally, like this: # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo" , # "AuthConfig", and "Limit" # # AllowOverride None AllowOverride Options FileInfo My server was already configured to allow "FileInfo" overrides, so I just added "Options". I found this solution on the PHP web site: <http://www.php.net/manual/en/configuration.php> Carsten On Sunday, January 13, 2002, at 07:10 pm, Jeff Dairiki wrote: > On Sun, 13 Jan 2002 19:01:40 -0500 > "Carsten Klapp" <car...@ma...> wrote: > > Just as a sanity check, see what happens if you remove > all the IfModule stuff from .htaccess. I.e., just leave > the three lines: > > php_flag register_globals off > php_flag track_vars on > php_flag allow_url_fopen off > |