Gossamer Forum
Home : Products : Links 2.0 : Customization :

Problems with .htaccess

Quote Reply
Problems with .htaccess
I created a .htaccess file in the top directory of my cgi-bin and according to my ISP I had to create .htpasswd in the root directory. When I did this, it protectected my cgi-bin but anytime someone clicked on a listing that was using jump.cgi it asked for username and password. Am I not able to put this file in the top directory of my cgi-bin? If not, where should I place it to get the most directories protected? Or is there a line that I can add in the .htaccess file that will allow jump.cgi without a password?
Here is my .htaccess file
Code:
AuthUserFile /home/homewithgod/.htpasswd
AuthGroupFile /dev/null
AuthName HomewithGod
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

------------------
Jimmy Crow
www.homewithgod.com

[This message has been edited by jcrow (edited April 21, 2000).]
Quote Reply
Re: Problems with .htaccess In reply to
You should place the .htaccess and .htpasswd file in your admin directory only.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Problems with .htaccess In reply to
Thanks, Eliot.

------------------
Jimmy Crow
www.homewithgod.com
Quote Reply
Re: Problems with .htaccess In reply to
You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.