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

RE: [cobalt-users] IMP set-up, .htaccess file --> magic_quotes_gpcERROR



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of
> baltimoremd@xxxxxxxxxxxxxxx
> Sent: Sunday, 27 May 2001 9:56 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] IMP set-up, .htaccess file -->
> magic_quotes_gpcERROR
>
>
> 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.

I didn't catch the original post, but I'll toss in a couple of suggestions.

First, try putting your .htpasswd file in a non-web directory - I'm not sure
about that particular server, but it can cause problems on some configs.

Second, try including this line in case you have some kind of clash with
another type of Authorisation:

AuthAuthoritative on

If you're still not having much luck, try checking the access.conf (though
it may possibly appear in srm.conf or httpd.conf). You need somthing along
these lines:

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"

AllowOverride AuthConfig Indexes Limit

You'll need at the very least, AuthConfig. If you see AllowOverride None,
that's most likely your problem.

Hope this helps solve things for you


--
Donna Lever
Smart Artist Web Services
http://www.smartartist.com.au/