Welcome to WebmasterWorld Guest from 23.22.240.119

Forum Moderators: Ocean10000 & incrediBILL & phranque

Apache 2.4 and Windows 8.1 Authentication

     
12:27 am on Dec 13, 2017 (gmt 0)

New User

joined:Dec 13, 2017
posts:2
votes: 0


I have problem
in apache and linux everything was done
in windows I have the problem
directive syntax and which I put in the configuration file
there is not much information on the internet about apache and windows
I do not know if I write something right or if I do not place it correctly
8:14 am on Dec 13, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11144
votes: 116


welcome to WebmasterWorld [webmasterworld.com],gotogosub!

what error have you seen in the response or in the server error log file?
10:59 am on Dec 13, 2017 (gmt 0)

New User

joined:Dec 13, 2017
posts:2
votes: 0


I created the .htpasswd and placed it on the path shown by the directive

<Directory "C:\Program Files\Apache Software Foundation\Apache2.4\htdocs">
AuthName "Authentication Required"
AuthType Basic
AuthuserFile "C:\Program Files\Apache Software Foundation\Apache2.4\.htpasswd"
Require valid-user
</Directory>

place the directive in the conf folder and the httpd file
and does not work
stop the server and it does not let me start
3:29 pm on Dec 13, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11144
votes: 116


check the server error log file for clues.
6:32 pm on Dec 13, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:14383
votes: 567


Isn't there something in Apache docs about slashes?

:: shuffling papers ::
When entering a file path on non-Unix platforms, care should be taken to make sure that only forward slashes are used even though the platform may allow the use of back slashes. In general it is a good idea to always use forward slashes throughout the configuration files.
I'm not entirely sure about the C: either.

phranque, if the server refuses to start, would there even be an error log file?
12:10 am on Dec 14, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11144
votes: 116


phranque, if the server refuses to start, would there even be an error log file?

while I can verify that I have seen error log entries in such cases I cannot verify that there will be an error log entry for all cases of server startup failure.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members