Skip to content

Instantly share code, notes, and snippets.

@Polanco08
Created August 27, 2014 14:54
Show Gist options
  • Save Polanco08/4963c35b2a8f59015368 to your computer and use it in GitHub Desktop.
Save Polanco08/4963c35b2a8f59015368 to your computer and use it in GitHub Desktop.
Configuración de un host virtual en apache
<VirtualHost *:80>
ServerName vallekano.es
ServerAlias vallekano
DocumentRoot /var/www/vallekano
DirectoryIndex index.php
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/vallekano>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment