You are here: Re: [PHP] Re: .htaccess « PHP « IT news, forums, messages
Re: [PHP] Re: .htaccess

Posted by David Robley on 09/14/05 05:29

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация