Skip to content

Instantly share code, notes, and snippets.

@dura4ok
Created July 11, 2016 13:21
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 dura4ok/247a6fc08fdfae717f4f43ba2674840c to your computer and use it in GitHub Desktop.
Save dura4ok/247a6fc08fdfae717f4f43ba2674840c to your computer and use it in GitHub Desktop.
<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