View Single Post
  #2  
Old 23rd December 2007, 17:49
DazzyB DazzyB is offline
Junior Member
 
Join Date: Apr 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
<VirtualHost server>
 DocumentRoot /srv/server/htdocs/
 ServerName server.dazzonline.za.net
 ServerAdmin admin@dazzonline.za.net
 <Directory /srv/server/htdocs/>
  AllowOverride None
  Order allow,deny
  Allow from all
  DirectoryIndex index.htm index.html index.php
 </Directory>
 ScriptAlias /cgi-bin/ /srv/server/cgi-bin/
 <Directory /srv/server/cgi-bin/>
  AllowOverride None
  Options +ExecCGI -Includes
  Order allow,deny
  Allow from all
 </Directory>
</VirtualHost>
<VirtualHost www>
 DocumentRoot /srv/www/htdocs/
 ServerName www.dazzonline.za.net
 ServerAdmin admin@dazzonline.za.net
 <Directory /srv/www/htdocs/>
  AllowOverride None
  Order allow,deny
  Allow from all
  DirectoryIndex index.htm index.html index.php
 </Directory>
 ScriptAlias /cgi-bin/ /srv/www/cgi-bin/
 <Directory /srv/www/cgi-bin/>
  AllowOverride None
  Options +ExecCGI -Includes
  Order allow,deny
  Allow from all
 </Directory>
</VirtualHost>
Reply With Quote