Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NameVirtualHost *:80
  2.  
  3.  
  4.  
  5. <VirtualHost *:80>
  6.   ServerAdmin admin@pushingpixels.at
  7.   DocumentRoot "/opt/lampp/htdocs/"
  8.   ServerAlias localhost
  9.   <Directory "/opt/lampp/htdocs/">
  10.     Options Indexes FollowSymlinks Includes ExecCGI
  11.     AllowOverride All
  12.     Order allow,deny
  13.     Allow from all
  14.   </Directory>
  15. </VirtualHost>
  16.  
  17. <VirtualHost *:80>
  18.   ServerAdmin admin@pushingpixels.at
  19.   DocumentRoot "/home/git/repos/solvster/"
  20.   ServerAlias localsolvster.de
  21.   <Directory "/home/git/repos/solvster/">
  22.     Options Indexes FollowSymlinks Includes ExecCGI
  23.     AllowOverride all
  24.     Order allow,deny
  25.     Allow from all
  26.   </Directory>
  27. </VirtualHost>
  28.  
  29. <VirtualHost *:80>
  30.   ServerAdmin admin@pushingpixels.at
  31.   DocumentRoot "/home/git/repos/cobario/"
  32.   ServerAlias cobario
  33.   <Directory "/home/git/repos/cobario/">
  34.     Options Indexes FollowSymlinks Includes ExecCGI
  35.     AllowOverride all
  36.     Order allow,deny
  37.     Allow from all
  38.   </Directory>
  39. </VirtualHost>
  40.  
  41.  
  42. <VirtualHost *:80>
  43.   ServerAdmin admin@pushingpixels.at
  44.   DocumentRoot "/opt/lampp/htdocs/gitweb/"
  45.   ServerAlias gitweb
  46.   <Directory "/opt/lampp/htdocs/gitweb/">
  47.     DirectoryIndex gitweb.cgi
  48.     Allow from all
  49.     AllowOverride all
  50.     Order allow,deny
  51.     Options ExecCGI
  52.     <Files gitweb.cgi>
  53.       SetHandler cgi-script
  54.     </Files>
  55.     SetEnv GITWEB_CONFIG /etc/conf.d/gitweb.conf
  56.   </Directory>
  57. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement