| | |
HTTP Auth (.htpasswd) Not Working In CGI-BIN
![]() |
•
•
Join Date: May 2008
Posts: 225
Reputation:
Solved Threads: 18
Hi,
I am trying to HTTP Auth protect a directory in my cgi-bin directory. I have a .htaccess file:
When I put this .htaccess file in an ordinary directory e.g. /var/www/html/site/secure/.htaccess it works fine and asks for the username and password however when I put it in my secure CGI directory (/var/www/cgi-bin/secure/) it doesn't ask for user/pass just shows the script. Is this a common problem or is it something to do with DIR permisions?
I am trying to HTTP Auth protect a directory in my cgi-bin directory. I have a .htaccess file:
AuthUserFile /var/www/cgi-bin/secure/.htpasswd AuthGroupFile /dev/null AuthName "uTutorial Console" AuthType Basic <Limit GET POST> require user valid-user </Limit>
My Blog, Life and everything that matters to me - SamRudge.co.uk
![]() |
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: httpd-vhosts.conf isn't accepting new vertual hosts!
- Next Thread: .htaccess - remove www. except when https
| Thread Tools | Search this Thread |
.net apache asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java javaee jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





