Forum Moderators: phranque

Message Too Old, No Replies

how to give access without auth to server

         

darkage

9:12 pm on Mar 18, 2007 (gmt 0)

10+ Year Member



Ive got the following in my http.conf file:


<Directory /www/admin>
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /www/somefile
Require user admin
Order deny,allow
Deny from all
Allow from <my home ip address here>
</Directory>

This means that only i can access this directory from home and when i do i still have to enter username + passwd.

Now problem is that ive installed some software on the webserver that needs to respawn threads, by accessing files inside /www/admin

Now id like to configure it so that the server is granted access without entering username/passwd.

I could put in :


AuthType Basic
AuthName "Restricted Files"
AuthUserFile /www/somefile
Require user admin
Order deny,allow
Deny from all
Satisfy any
allow from <my home ip> <my server ip>

But that means that i dont have to enter úsername/passwd when i access it from home (either satisfy ip condition or username + passwd). So thats not what i wanted.

In summary: Everyone needs to satisfy ip AND username+passwd except server ip that goes straight thru.

How do i do it?

Thanks in advance.

darkage

7:52 pm on Mar 20, 2007 (gmt 0)

10+ Year Member



nobody knows the answer? :(

darkage

6:41 pm on Apr 1, 2007 (gmt 0)

10+ Year Member



bump - somebody gotta know...