Created
September 16, 2015 13:50
-
-
Save bytefade/0d07d087da24663d48f0 to your computer and use it in GitHub Desktop.
virtualhost, mod rewrite e wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ServerName domain.dev | |
ServerAlias www.domain.dev | |
DocumentRoot /var/www/path/of/domain | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory /var/www/path/of/domain> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment