Advertisement
ghotriw

apache config

Jun 30th, 2015
3,519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CFDG 1.17 KB | None | 0 0
  1. <VirtualHost *:80>
  2.         ServerAdmin ghotriw@gmail.com
  3.         ServerName ksenia.dev
  4.  
  5.         AssignUserID ghotriw ghotriw
  6.  
  7.         DocumentRoot /home/ghotriw/Work/ksenia.dev/www
  8.         <Directory />
  9.                 Options FollowSymLinks
  10.                 AllowOverride None
  11.         </Directory>
  12.         <Directory /home/ghotriw/Work/ksenia.dev/www>
  13.                 Options Indexes FollowSymLinks MultiViews
  14.                 AllowOverride All
  15.                 php_admin_value mbstring.func_overload 2
  16.                 php_admin_value mbstring.internal_encoding UTF-8
  17.                 php_admin_value opcache.revalidate_freq 0
  18.                 Require all granted
  19.         </Directory>
  20.  
  21.         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  22.         <Directory "/usr/lib/cgi-bin">
  23.                 AllowOverride None
  24.                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  25.                 Require all granted
  26.         </Directory>
  27.  
  28.         ErrorLog ${APACHE_LOG_DIR}/error.log
  29.  
  30.         # Possible values include: debug, info, notice, warn, error, crit,
  31.         # alert, emerg.
  32.         LogLevel warn
  33.  
  34.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  35. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement