Skip to content

Instantly share code, notes, and snippets.

@dura4ok dura4ok/VirtualHost
Created Jul 11, 2016

Embed
What would you like to do?
<VirtualHost *:80>
ServerName <домен>
ServerAlias <www.домен>
ServerAdmin <домен>@<домен>.ru
DocumentRoot <директория>
CustomLog /var/log/httpd/<домен>.bytes bytes
CustomLog /var/log/httpd/<домен>.log combined
ErrorLog /var/log/httpd/<домен>.error.log
<Directory <директория> >
AllowOverride All
Options +Includes -Indexes +ExecCGI
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.