Skip to content

Instantly share code, notes, and snippets.

@vrkansagara
Created October 18, 2015 04:26
Show Gist options
  • Save vrkansagara/02579c65235334355a16 to your computer and use it in GitHub Desktop.
Save vrkansagara/02579c65235334355a16 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin info@git.local
ServerName git.local
ServerAlias git.local
# Indexes + Directory Root.
#http://debian-handbook.info/browse/stable/sect.http-web-server.html
#DirectoryIndex index.php index.html index.htm
DocumentRoot "/home/vallabh/git"
<Directory "/home/vallabh/git">
Require all granted
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
#http://stackoverflow.com/questions/6959189/apache-virtualhost-403-forbidden
</Directory>
#ScriptAlias /cgi-bin/ /home/vallabh/www/eojas/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /home/vallabh/git/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/vallabh/git/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin info@ZFSkeleton.git.local
ServerName ZFSkeleton.git.local
ServerAlias ZFSkeleton.git.local
# Indexes + Directory Root.
#http://debian-handbook.info/browse/stable/sect.http-web-server.html
DirectoryIndex index.php index.html index.htm
DocumentRoot "/home/vallabh/git/ZFSkeleton/public"
<Directory "/home/vallabh/git/ZFSkeleton/public">
Require all granted
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
#http://stackoverflow.com/questions/6959189/apache-virtualhost-403-forbidden
</Directory>
ErrorLog /home/vallabh/git/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/vallabh/git/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin info@vrkansagara.git.local
ServerName vrkansagara.git.local
ServerAlias vrkansagara.git.local
# Indexes + Directory Root.
#http://debian-handbook.info/browse/stable/sect.http-web-server.html
DirectoryIndex index.php index.html index.htm
DocumentRoot "/home/vallabh/git/vrkansagara.in/public"
<Directory "/home/vallabh/git/vrkansagara.in/public">
Require all granted
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
#http://stackoverflow.com/questions/6959189/apache-virtualhost-403-forbidden
</Directory>
ErrorLog /home/vallabh/git/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/vallabh/git/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin info@mwop.git.local
ServerName mwop.git.local
ServerAlias mwop.git.local
# Indexes + Directory Root.
#http://debian-handbook.info/browse/stable/sect.http-web-server.html
DirectoryIndex index.php index.html index.htm
DocumentRoot "/home/vallabh/git/mwop.net/public"
<Directory "/home/vallabh/git/mwop.net/public">
Require all granted
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
#http://stackoverflow.com/questions/6959189/apache-virtualhost-403-forbidden
</Directory>
ErrorLog /home/vallabh/git/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/vallabh/git/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment