<quote who="ashley maher">

> Any kind soul mind pointing me to a url that has working debian based
> examples of vhost configs 

Quick explanation:

 * I add the NameVirtualHost entries I need to /etc/apache2/ports.conf

 * I create per-virtual files in /etc/apache2/sites-enabled that look
   roughly like this (usually with other bits for the apps running on them,
   but these are the basics):

<VirtualHost 1.1.1.1>
        ServerAdmin [EMAIL PROTECTED]
        ServerName example.com
        ServerAlias www.example.com

        DocumentRoot /srv/example.com/root

        CustomLog /srv/example.com/log/access.log combined
        ErrorLog /srv/example.com/log/error.log
</VirtualHost>

- Jeff

-- 
FISL 7.0: Porto Alegre, Brazil        http://fisl.softwarelivre.org/7.0/www/
 
              "We are not complete muppets." - Murray Cumming
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to