|
Re: vhost problem: msg#00105web.lighttpd
"Jan Kneschke" <jan@xxxxxxxxxxx> schrieb im Newsbeitrag news:20040926140715.GN18016@xxxxxxxxxx > On Sun, Sep 26, 2004 at 03:56:53PM +0200, clone1507 wrote: > > Hi :) > > > > i just installed 1.3.1 and noticed a problem with my domains. > > i configured lighttpd like the one before (1.2.7) > > > > simple-vhost.document-root = "/html/" > > simple-vhost.server-root = "/srv/www/htdocs/" > > simple-vhost.default-host = "domain-one.de" > > > > dir struct: > > /srv/www/htdocs/domain-one.de/html/... > > /srv/www/htdocs/sub1.domain-one.de/html/... > > /srv/www/htdocs/domain-two.de/html/... > > /srv/www/htdocs/sub1.domain-two.de/html/... > > /srv/www/htdocs/sub2.domain-two.de/html/... > > /srv/www/htdocs/sub3.domain-two.de/html/... > > > > i've got 2 domains and 3 subdomains. > > the subdomains and domain-one are working just fine(www.domain-one.de > > domain-one.de ...) > > but domain-two only show up pages if i dont add www. in my browser. > > domain-two.de/info.php works while www.domain-two.de/info.php does not. > > how to fix that? > > t is supposed to work exactly this way. > > You have to add a symlink from /srv/www/htdocs/domain-two.de/ to > /srv/www/htdocs/www.domain-two.de/ if you want them to behave the same. > > > www.domain-one.de is mapped to domain-ioone.de because domain-one.de is > the default-host. > > > Andy > > Jan > > -- > Jan Kneschke http://jan.kneschke.de/ > Perhaps you want to say 'thank you, jan': http://jk.123.org/wishlist/ > > works now thank you :D Andy |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: vhost problem: 00105, Jan Kneschke |
|---|---|
| Next by Date: | Run lighttpd as root: 00105, modperl |
| Previous by Thread: | Re: vhost problemi: 00105, Jan Kneschke |
| Next by Thread: | Run lighttpd as root: 00105, modperl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |