[Gllug] apache virtual hosts

Richard Cottrill richard_c at tpg.com.au
Wed Jul 10 23:06:34 UTC 2002


> From: gllug-admin at linux.co.uk [mailto:gllug-admin at linux.co.uk]On Behalf
> Of Leigh Mason
> I'm trying to get apache to serve pages from my /home/leigh/public_html
> directory. I've left the userDir directive within httpd.conf set to the
> default `public_html', but how do I map a request for mydomain.net/leigh
> to my directory?

Try "mydomain.net/~leigh" or some variation. I believe with the userDir
directive you have to use a tilde to denote a home directory rather than
something else just called leigh.

Not positive, but worth the 10 seconds of effort.

Richard



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list