Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Same content via multiple authentication methods |
|
Author |
|
turncol
Joined: 17 Sep 2007 Posts: 6
|
Posted: Mon 17 Sep '07 18:02 Post subject: Same content via multiple authentication methods |
|
|
Hi All,
Another Apache Newbie here!
I am putting together an Apache server to test updating a windows application via the various authentication methods.
My current setup requires three copies of the data for each of the authentication methods (No Auth, Basic & Digest) However this is a pain trying to keep upto date and using up a lot of disk space!
Would it be possible to have one directory containing the data but accessed from 3 different sites\auth methods using virtual hosts or any other alternative method?
Any help or suggestions would be greatly appreciated
TC |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7298 Location: Germany, Next to Hamburg
|
Posted: Wed 19 Sep '07 10:22 Post subject: |
|
|
You could try alias an location to use different methods. I haven't tried that out, but maybe it works for you.
Alias /auth/ "c:/apache/htdocs/auth"
<Location /auth>
AuthUserFile C:/apache/passwd
AuthName "Secure"
AuthType Basic
<Limit GET POST PUT>
require valid-user
</Limit>
</Location> |
|
Back to top |
|
turncol
Joined: 17 Sep 2007 Posts: 6
|
Posted: Wed 19 Sep '07 10:27 Post subject: |
|
|
I managed to get it sorted using an alias and a some virtual hosts. Took a wee bit of time but I got there in the end!!
Thanks |
|
Back to top |
|
|
|
|
|
|