Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] apache htaccess setup allowoveride all ?


On Mon, February 4, 2008 11:11 am, Jeremy Visser wrote:
> On Fri, 2008-02-01 at 12:53 +1100, Voytek Eymont wrote:
>
>> do I also need 'AllowOverride All' in vhost's conf ?
>
> Nope, your error is showing that Apache is indeed parsing the .htaccess
> file, which it would not be doing if the AllowOverride setting is
> incorrect.
>
> Are you loading PHP as CGI or a module? From memory, if you load PHP as
> CGI, you cannot set PHP flags in the .htaccess -- you have to set them
> in php.ini.


Jeremy, thanks

php runs as module

actually, setting 'All' and .htaccess with

php_flag magic_quotes_gpc on

seems to have fixed my problem




-- 
Voytek