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

Re: [cobalt-users] [RAQ3] htaccess/htpasswd problems



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You might need to edit your /etc/httpd/conf/access.conf file to say
"AllowOverride All" instead of 'AllowOverride None' down at the htaccess
configuration section..  Try changing it from what you have currently..

After you edit that, you'll have to restart apache:
/etc/rc.d/init.d/httpd restart

Also, same kind of thing was driving me crazy one day.. then i realized
that since i had copied the .htaccess and .htpasswd from another 'site' on
the raq, i hadn't changed the 'sitex' line in the .htaccess.. i had looked
at it, but didn't register that it was pointing to the wrong dir..

Hope this helps a little..

Rob

- -- 
Rob Kennedy
ASPRE, Inc.
rkennedy@xxxxxxxxx
http://www.aspre.net/

Managed e-Business that works
- ---------------------------------
the first exclusive e-Business Application Service Provider (ASP)

t. 215.957.2266 Ext. 2145
f. 215.957.2277

113 Rock Road
Horsham, PA 19044

On Mon, 16 Apr 2001, P S Graham (Erols) wrote:

> (Sorry if this dupes - sent from the wrong account the first time)
> I can not seem to get .htaccess and .htpasswd to work
> I have searched the archives, tried everything I could find/think of, and I
> still end up with:
>
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
>
> The odd thing is I had this working until I had to rebuild the server.
> Is there something I am missing? forgot to do?
>
> Info:
>
> RaQ3i rebuilt from OS restore cd, all updates/patches applied.
>
> .htaccess
>
> AuthPAM_Enabled off
> AuthUserFile /home/sites/site7/.htpasswd
> AuthGroupFile /dev/null
> AuthName Authorized Users Only!
> AuthType Basic
> order allow,deny
> allow from all
>
> <Limit GET>
> require user User1
> </Limit>
>
> .htpasswd
> User1:encryptedpswdhere
>
>
> Thanks,
>
> Patrick
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE62utvgExIAP5wKEsRAibfAJwOjyJ2wIn1Prmq3fGtQdOPRDW/ZQCgl5gw
646Gwnv0V5Hl8s+jpAaHi0w=
=lhyg
-----END PGP SIGNATURE-----