apache basic auth : only for remote connections

This is a discussion on apache basic auth : only for remote connections within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi I have been trying to restrict access to my webserver (Apache 1.3) on WinXP. What I want to ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2003
tima
 
Posts: n/a
Default apache basic auth : only for remote connections

Hi

I have been trying to restrict access to my webserver (Apache 1.3) on
WinXP.

What I want to do is:

1. Allow all connections from localhost(127.0.0.1), without prompting
for username or password.
2. Restrict access from remote machines (using basic auth)

I can set up the server to do either 1 or 2, but not both. Is it
possible? If so how should I be doing it?

This is what I am doing in my httpd.conf right now,

<Directory "C:/www/blah">
Options -Indexes
AllowOverride None

Allow from 127.0.0.1

Authtype basic
AuthName "By Request Only"
AuthUserFile "pwd.txt"
Require user joeUser

</Directory>

thanks
Hema
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:56 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0