rendered paste bodyNameVirtualHost 192.168.1.130:80
<VirtualHost 192.168.1.130:80>
ServerName www.domain.net
DocumentRoot /opt/gforge5/www/catalog
ErrorDocument 404 /404.php
<Directory "/opt/gforge5/www/catalog">
Options Indexes FollowSymLinks Multiviews
Order allow,deny
allow from all
</Directory>
</VirtualHost>
<VirtualHost 192.168.1.130:80>
ServerName gforge.domain.net
DocumentRoot /opt/gforge5/www
ErrorDocument 404 /404.php
<Directory "/opt/gforge5/www">
Options Indexes FollowSymLinks Multiviews
Order allow,deny
allow from all
</Directory>
<Location "/gf">
ForceType application/x-httpd-php
</Location>
#
# mailman settings - may have to adjust
#
ScriptAlias /mailman /usr/lib/mailman/cgi-bin
Alias /pipermail /var/lib/mailman/archives/public
<Directory "/usr/lib/mailman/cgi-bin">
Options Indexes FollowSymLinks Multiviews
Order allow,deny
allow from all
</Directory>
<Directory "/var/lib/mailman/archives/public">
Options Indexes FollowSymLinks Multiviews
Order allow,deny
allow from all
</Directory>
#
# SVN Repository
#
<Location /svn>
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
</Location>
php_value include_path ".:/opt/gforge5/lib/external:/opt/gforge5/lib:/opt/gforge5"
</VirtualHost>
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