Re: Re: .htaccess

From: Date: Wed, 14 Sep 2005 02:29:42 +0000
Subject: Re: Re: .htaccess
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-222337@lists.php.net to get a copy of this message
blackwater dev wrote: > Thanks David, > > I just set it to AllowOverride All and restarted apache but it still > doesn't seem to work. > > On 9/13/05, David Robley <robleyd@ozemail.com.au> wrote: >> blackwater dev wrote: >> >> > I am using .htaccess files throughout my code directory tree to set >> > certain directives such as php_value auto_prepend_file >> > ../lib/libmatrix.php >> > >> > The problem is, they don't work. >> > >> > I have this in apache: >> > >> > <Directory "usr/local/apache/htdocs/realtors/"> >> > Options FollowSymLinks >> > AllowOverride None >> > </Directory> >> > >> > Where realtors is the root directory of my site...how can I get it to >> > work? >> > >> > Thanks! >> >> I think you need to look again at the apache documentation, especially >> >> >> http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride Odd - works for me (just tried it). By not working, I assume you mean the file is not being included, but you get no error. First, check that apache is truly reading the .htaccess file by putting a syntax error in it - if it is being read you should get a 500 Server error when you try to hit a page in the directory where the .htaccess file is. Cheers -- David Robley When you're in love, you're at the mercy of a stranger.

« previous php.general (#222337) next »