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

Re: [cobalt-users] IMP set-up, .htaccess file --> magic_quotes_gpc ERROR



On Sun, 27 May 2001, Tim Bolt wrote:

> > > This morning I tried with .htaccess file containing variations on 
> > > the commands I was given (and twhich I found in archives, etc):
> 
> 
> > Here's what works on an RaQ4 (missed what system you have)
> > php_flag magic_quotes_gpc on
> > AuthUserFile /home/sites/sitex/web/cgi-bin/.htpasswd
> > AuthGroupFile /dev/null
> > AuthName "whatever"
> > AuthType Basic
> > AuthPAM_Enabled off
> > <Limit GET PUT POST>
> > require valid-user
> > </Limit>
> 
> 
> Thanks Thom, but still no good.

While I've never really understood the following, it was suggested
that I add it to /etc/httpd/conf/srm.conf

# PHP4 (backwards compatible with php3)
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
#AddType application/x-httpd-php4-source .php4s
#AddType application/x-httpd-php4-source .php3s
#AddType application/x-httpd-php4-source .phps

Perhaps this will help?

thom
baltimoremd@xxxxxxxxxxxxxxx             Thom LaCosta K3HRN Webmaster