Adrian wrote:
> 
> Hi everybody,
> 
> I want to set-up http://www.localdomain.com.au/~localuser on my Linux redhat
> box.  How do I do this?  I have a look around and can't work it out.

In your httpd.conf file, add the following:


Listen 127.0.0.1:80  
NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>
        DocumentRoot /some/directory
        ServerName www.localdomain.com.au
</VirtualHost>

and ensure that www.localdomain.com.au is
available in the DNS as 127.0.0.1 (perhaps
in /etc/hosts)


-rickw


--
Rick Welykochy || Praxis Services Pty Limited
"Tired of being a crash test dummy for Microsoft? Try Linux"


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to