htaccess woes

Cyril Drouin - Bysoft cyril.drouin at bysoft.fr
Mon Jul 26 12:08:48 UTC 2004


It should be "Apache" not root
Try to change the group to your apache user (I assume it's apache")


-----Message d'origine-----
De : redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
De la part de kenwardc
Envoyé : lundi 26 juillet 2004 12:31
À : 'General Red Hat Linux discussion list'
Objet : RE: htaccess woes


Hi Cyril

Many thanks for getting back to me. The permissions etc. on the file
are as follows:

-rw-r--r--    1 root     root           23 Jul 26 11:05 .htaccess

Does this look OK? Apologies - I am VERY new to Linux and am learning
as I go. My expertise usually lies with M$ products.

Regards
Chris

> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Cyril 
> Drouin - Bysoft
> Sent: 26 July 2004 11:21
> To: 'General Red Hat Linux discussion list'
> Subject: RE : htaccess woes
> 
> HI,
> 
> Make sure your file .htaccess got the correct access rights. 
> It should be at least "Readable" by Apache.
> 
> Rgds,
> 
> Cyril
> -----Message d'origine-----
> De : redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com]
> De la part de kenwardc
> Envoyé : lundi 26 juillet 2004 12:13
> À : 'General Red Hat Linux discussion list'
> Objet : htaccess woes
> 
> 
> Hi All
> 
> My first post to this forum so be gentle! ;-)
> 
> Have just installed a new Linux Red Hat server and am trying 
> to protect the phpMyAdmin folder with .htaccess. Having 
> trouble and wanted to know if there were any experts out there!
> 
> 1. I go to the folder I wish to protect
> 2. I type htpasswd -c htaccess username
> 3. I am prompted for the password and the retype 4. File 
> appears to save OK.
> 
> If I then try to access that folder I get the web page straight
away.
> Most frustrating - I was expecting it to as for a password.
> 
> Any help gratefully accepted.
> 
> Regards
> Chris
> 
> 
> 
> ---
> All messages scanned by AVG 7.0 Anti-Virus scanner and TGIS 
> Anti-Spam Firewall.
> 
> 
> --
> redhat-list mailing list
> unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 



---
All messages scanned by AVG 7.0 Anti-Virus scanner and TGIS Anti-Spam
Firewall.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list