The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> .htaccess Server Path
aspmkt2009
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 05:14 PM