All Questions
Tagged with lighttpd virtualhost
18
questions
1
vote
1
answer
1k
views
SNI for Multiple Hosts on Lighttpd
Inherited lighttpd server, I'm somewhat clueless on it. Trying to use SNI to install a 3rd SSL cert without another IP. Currently the SSL config in lighttpd.conf looks like so:
$SERVER["socket"] == ":...
0
votes
0
answers
904
views
How to set up a lighttpd modular config for several vhosts
I have a question regarding lighttpd best practices for vhosts setups. I wanted to set up a modular config for several vhosts with splitted config files to be able to enable/disable specific vhosts ...
2
votes
1
answer
2k
views
Configure sub-domains at different ports with lighttpd
I've one domain example.com and two sub domains of it docs.example.com & bugs.example.com. And I've two applications running at ports 8080 & 8090. How to configure Lighttpd so that, it can ...
0
votes
2
answers
464
views
Lighttpd vhost regex
I'm having a problem with my vhosts using regex. When I use the following code, I get a 404 not found:
$HTTP["host"] =~ "(^|\.)example\.com$" {
...
}
However, when I explicitly set it to the ...
1
vote
2
answers
4k
views
lighttpd virtual hosting configuration
I need help setting up virtual hosting in lighttpd.
i have the lighttpd default webpage in /var/www/lighttpd dir and i have created other dirs for my other websites /var/www/web1.com/public_html and /...
0
votes
2
answers
3k
views
How to combine Lighttpd simple_vhost with www to non-www redirects?
I've set a simple virtual hosting using Lighttpd simple_vhost module and want to do a permanent 301 redirect from www to non-www.
Here are most significant parts of my configuration file:
server....
0
votes
1
answer
787
views
Making lighttpd redirect from www.example.com to www.example.com/cgi-bin/index.pl
What the title says..
www.example.com is defined in lighttpd.conf as a virtual host:
$HTTP["host"] =~ "(^|\.)example.com$" {
server.document-root = "/usr/www/example.com/http"
...
2
votes
1
answer
474
views
lighttpd adding vhost error
I'm trying to have multiple domains.
Followed the instructions from web and added the lines in lighttpd.conf file:
$HTTP["host"] =~ “(^|.)example.com$” {
server.document-root = “/var/www/example....
1
vote
0
answers
961
views
Lighttpd: Subdomains give an 404 Error
Since the last days, all my subdomains doesn't work anymore. I get only an 404 Error/Placeholder page. I have not make any changes on my Lighttpd.conf or on the 10-simple-vhost.conf.
Does have anyone ...
2
votes
1
answer
100
views
Webserver vhost configuration in database?
I know it's possible with lighttpd, but is there a way to achieve the same thing with Apache or better yet, nginx?
2
votes
0
answers
890
views
lighttpd + FastCGI + Mono not working with evhost enabled
I've started the migration of a Windows VPS to linode.com, choosing lighttpd over nginx and apache to host some sites built on asp.net mvc, and I'm stuck with what I think is a "document-root" ...
0
votes
2
answers
692
views
lighttpd folder/site specific config files
I've been researching what I'm sure is a very simple task. Coming from .htaccess to lighttpd.conf, I'm sure I am still missing some important concepts.
I am using lighttpd for a number of virtual ...
0
votes
2
answers
684
views
Lighttpd Virtual Hosts on Windows Server 2008
I've been running Windows Server 2008 very happily on my server for two months now, but only for one domain. Now that I have two sites to host I would like to set up virtual hosts.
I've remove the ...
0
votes
3
answers
3k
views
Setting up simple vhost on lighttpd
I've recently installed Lighttpd on Ubuntu 10.04. I used the standard concfig file without modification and placed my content in /var/www. I opened a browser typed in the URL www.myexample.co.uk and ...
0
votes
1
answer
433
views
lighttpd virtual host config
Trying to get these two vhosts set up correctly. I have two sites on this domain that i'm hosting: www.example.com/example.com and test.example.com.
How do I get both of these to work in my vhost ...
3
votes
1
answer
2k
views
Lighttpd Subdomains
$HTTP["host"] == "example.com" {
server.document-root = "/var/www/vhosts/example.com/httpdocs/development/api"
server.errorlog = "/var/log/lighttpd/error.log"
accesslog....
-2
votes
1
answer
277
views
Lighttpd Virtual hosts
Ok guys, I'm in a mess.
Check my lighttpd.conf here, http://pastebin.com/m4c398259.
I've got no idea really, I've read as much up and tried as many tutorials as I possibly can. But this is above my ...
0
votes
4
answers
1k
views
Media server and Web server -- same IP address, how do I set this up?
Hi I'm trying to build a website where users can upload images. I am wanting to have a seperate media server to host the images, so that the web application can point to the images like
mediaserver....