Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htacces is being ignored

Status
Not open for further replies.

ThomasJSmart

Programmer
Sep 16, 2002
634
apache is totally ignoring the htacces file iv got in this folder:
im running the latest apache 1.3 build on windows xp

httpd.conf:
AllowOverride All

AccessFileName .htaccess

<Files ~ &quot;^\.ht&quot;>
Order allow,deny
Deny from all
Satisfy All
</Files>

.htaccess:
AuthType Basic
AuthName &quot;By Invitation Only&quot;
AuthUserFile h:/sites/htpasswd
Require user thomas

any help apreciated,
thanks,
Thomas I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
syntax is:

AuthType Basic
AuthName &quot;By Invitation Only&quot;
AuthUserFile &quot;h:/sites/htpasswd&quot;
<Limit GET POST>
Require user thomas
</Limit> Newposter
&quot;Good judgment comes from experience. Experience comes from bad judgment.&quot;
 
Working ok now, i got presented with the dialog when I tried to access it. Remember when you test it to close your browser window first because the browser stores the user info until you close your browser to clear the info.


É ::
 
yea i got it working, im using the auth mod now tho, that works :) I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top