Tag Info

New answers tagged

0

I know this thread is old, but just for the log: make sure that the public_html Folder is readable by lighttpd ! chmod a+rx /home/$USER/public_html


0

convert from comment to CW I have now two server{} directive. One for main domains (with and without www) and one for subdomains, each with a suitable regex to get domain and subdomain name.


0

nginx have "proxy_pass" to do such things but no idea about lighttpd. anyway you can map the document root to subdomain if everything is on the same server. I'm posting nginx "proxy_pass" doc here, hope it'll help :) http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass


1

If everything is on the same server, you must setup a subdomain: Eg: ###### Subdomain settings ############## $HTTP["host"] == "support.example.com"{ server.document-root = "/home/lighttpd/support.example.com/http" accesslog.filename = "/var/log/lighttpd/support.example.com/access.log" } ref: ...



Top 50 recent answers are included