logo       

Re: vhost problem: msg#00104

web.lighttpd

Subject: Re: vhost problem

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/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise