This is a discussion on mod_auth on subdomains with Lighttpd within the Web servers forums, part of the Mastering Servers category; Hi, I want to set up authentication for a sub domain. From lighttpd.conf: $HTTP["host"] =~ "safetalking.bobstudio.com" { server.indexfiles = ("index.html") ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi, I want to set up authentication for a sub domain.
From lighttpd.conf: $HTTP["host"] =~ "safetalking.bobstudio.com" { server.indexfiles = ("index.html") server.document-root = "/var/www/safetalking" auth.debug = 0 auth.backend = "plain" auth.backend.plain.userfile = "/home/joe/lighttpd/safetalking-auth.txt" auth.require = ("safetalking.bobstudio.com" => ( "method" => "basic", "realm" => "Password protected area", "require" => "user=sound" ) } safetalking-auth.txt just contains safe:talking Thanks |
| Sponsored Links | ||
|
|
|
||||
|
Hi,
The line: Code:
auth.require = ("safetalking.bobstudio.com" =>
Code:
auth.require = ("/var/www/safetalking" =>
![]()
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Rockdalinux,
I've tried that still to no avail, the thing is I want the user to login to a part of the website that isnt a directory view, just a static html page. Thanks Is this possible? Last edited by hellhound; 07-27-2008 at 07:41 PM.. |
![]() |
| Bookmarks |
| Tags |
| lighttpd auth subdomain |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lighttpd ProxyPass | thunderbirdsei | Web servers | 0 | 04-30-2008 11:50 PM |
| find subdomains in url | nvbhole | Shell scripting | 2 | 12-22-2007 01:12 PM |
| Apache and lighttpd together | anjanesh | Web servers | 4 | 08-29-2007 06:11 PM |
| redirect to www in lighttpd | muks | Web servers | 11 | 06-02-2007 11:55 PM |
| Lighttpd socket with multiple subdomains or single IP | muks | Web servers | 2 | 03-17-2007 05:48 AM |