.htaccess Server Path |
.htaccess Server Path |
aspmkt2009 |
Sep 4 2009, 01:28 PM
Post
#1
|
Newbie Group: Members Posts: 13 Joined: 30-June 09 Member No.: 9,033 |
I have set Filezilla to ASCII not autodetect or binary.
For some reason my intranet page will not detect my .htaccess file and prompt for a password. I have the .htpasswd file set up, I just don't have the file name listed here, and the code in it was generated and encrypted. Here's the code I have set up for the .htaccess AuthType Basic AuthUserFile /inetpub/vhosts/aspenequipment.com/httpdocs/intranet/.ht...... AuthGroupFile /dev/null AuthName "Aspen Equipment Intranet" Require valid-user Here's what PHP says is my root path... C:\inetpub\vhosts\aspenequipment.com\httpdocs\ I have a phpinfo.php file out there if you want to take a look... http://www.aspenequipment.com/phpinfo.php Thanks for any advice, I'm pretty sure I just have the coding wrong somewhere. I have tried multiple variations of the root path from the full thing, including c:/ to just aspenequipment.com/intranet. |
pandy |
Sep 4 2009, 03:44 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
QUOTE AuthUserFile /inetpub/vhosts/aspenequipment.com/httpdocs/intranet/.ht...... QUOTE Here's what PHP says is my root path... C:\inetpub\vhosts\aspenequipment.com\httpdocs\ You should use the full path to .htpasswd, exactly how you wrote it the second time above. |
Lo-Fi Version | Time is now: 29th March 2024 - 05:10 AM |