Re: Re: .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux