Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. ServerName example.com
  2. ServerAlias www.example.com
  3. ServerAdmin info@example.com
  4. DocumentRoot /home/admin/web/example.com/public_html
  5. ScriptAlias /cgi-bin/ /home/admin/web/example.com/cgi-bin/
  6. Alias /vstats/ /home/admin/web/example.com/stats/
  7. Alias /error/ /home/admin/web/example.com/document_errors/
  8. #SuexecUserGroup admin admin
  9. CustomLog /var/log/httpd/domains/example.com.bytes bytes
  10. CustomLog /var/log/httpd/domains/example.com.log combined
  11. ErrorLog /var/log/httpd/domains/example.com.error.log
  12. <Directory /home/admin/web/example.com/public_html>
  13. AllowOverride All
  14. Options +Includes -Indexes +ExecCGI
  15. php_admin_value open_basedir /home/admin/web/example.com/public_html:/home/admin/tmp
  16. php_admin_value upload_tmp_dir /home/admin/tmp
  17. php_admin_value session.save_path /home/admin/tmp
  18. </Directory>
  19. <Directory /home/admin/web/example.com/stats>
  20. AllowOverride All
  21. </Directory>
  22.  
  23. <IfModule mod_ruid2.c>
  24. RMode config
  25. RUidGid admin admin
  26. RGroups apache
  27. </IfModule>
  28. <IfModule itk.c>
  29. AssignUserID admin admin
  30. </IfModule>
  31.  
  32. Include /home/admin/conf/web/httpd.example.com.conf*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement