Bug #732
closedmod_simple_vhost doesn't fire?
Description
Tried this with
- unstable debian package (1.4.11.?)
- source build from 1.4.11 tgz
- from svn except it was borked so.. =)
I have a simple setup on the server monitor.servedge.com (see attached config)
Instead of simple_v picking this up, it gets routed to the normal static doc root.
- I'm just requesting "/". /home/servers/monitor.servedge.com/index.html exists and is readable/exable by all.
- I tried reconfiguring to use "pages" instead of "/./" for the simple_v doc root extension directory, but that didn't help (and I also use /./ successfully with lighty on other servers).
- I have a very similar config on other boxes with no problem. This is a debian 3.1 system running on a Virtuozzo i686 virtual machine from Teknic.
- I don't have anything important on that box yet so if you want a login on it or something for testing purposes, let me know (I'm anonymouse on #lighttpd)
- The config and request logs were from yesterday and I just generated the strace now, so any variance you see might be from that. I requested the same URL though and the config is almost identical both times.
Config http://rafb.net/paste/results/Jv1Z8635.html
Debug log http://rafb.net/paste/results/pywBpZ53.html
Strace http://monitor.servedge.com/lighttpd.trace
Ping me @irc if you need more info, retest, access, etc.
Files
Updated by Anonymous over 18 years ago
$100USD bounty to whoever helps me get this to work.
see <anonymouse> in #lighttpd
-- anonymouse
Updated by Anonymous over 18 years ago
Umm... Unless I'm misreading terribly, your config is wrong.
Change
simple-vhost.document-root = "pages"
To
simple-vhost.document-root = ""
Per the documentation, virtual hosts are searched for by:
document-root = virtual-server-root + http-host + virtual-server-docroot
So in your case, it was previously searching for:
/home/servers/mountedge.com/pages/index.html
-- dhazeghi
Updated by Anonymous over 18 years ago
lighttpd process does not have access to your vhost directory. Make sure that you have set up the permissions properly - not only for the directory itself but for all path from /.
Updated by Anonymous over 18 years ago
Replying to anonymous:
lighttpd process does not have access to your vhost directory. Make sure that you have set up the permissions properly - not only for the directory itself but for all path from /.
465 02:35:44.045771 stat64("/home/servers/monitor.servedge.com/pages/", 0xbfffee30) = -1 EACCES (Permission denied)
466 02:35:44.045847 stat64("/home/servers/blank/pages/", 0xbfffee30) = -1 EACCES (Permission denied)
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to invalid
btw: bug tracker != support forum
Also available in: Atom