Skip to content

Instantly share code, notes, and snippets.

@eftakhairul
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eftakhairul/44ad865829f0aa644fc1 to your computer and use it in GitHub Desktop.
Save eftakhairul/44ad865829f0aa644fc1 to your computer and use it in GitHub Desktop.
Whole configuration file of virtualhost in Ubuntu 14.p4 for apache 2
<VirtualHost *:80>
ServerAdmin admin@kgt-global.local
DocumentRoot /home/eftakhairul/codes/php/projects/kondar-global/
ServerName www.kgt-global.local
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /home/eftakhairul/codes/php/projects/kondar-global/>
Require all granted
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment