NameVirtualHost 192.168.1.130:80 ServerName www.domain.net DocumentRoot /opt/gforge5/www/catalog ErrorDocument 404 /404.php Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all ServerName gforge.domain.net DocumentRoot /opt/gforge5/www ErrorDocument 404 /404.php Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all ForceType application/x-httpd-php # # mailman settings - may have to adjust # ScriptAlias /mailman /usr/lib/mailman/cgi-bin Alias /pipermail /var/lib/mailman/archives/public Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all Options Indexes FollowSymLinks Multiviews Order allow,deny allow from all # # SVN Repository # DAV svn SVNParentPath /var/lib/gforge/svnroot # how to authenticate a user AuthzSVNAccessFile /var/lib/gforge/svnroot-access AuthType Basic AuthName "Document repository" AuthUserFile /var/lib/gforge/svnroot-authfile SVNIndexXSLT "/svnindex.xsl" # only authenticated users may access the repository Require valid-user php_value include_path ".:/opt/gforge5/lib/external:/opt/gforge5/lib:/opt/gforge5" EoF vhosts.conf ----------------------------- /etc/hosts [root@gforge gforge]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 gforge.domain.net gforge 127.0.0.1 www.domain.net www 127.0.0.1 localhost.localdomain localhost