AdikDVB

Untitled

May 8th, 2018
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost 111.222.33.44:80 >
  2. ServerName www.my-shop.net
  3. ServerAlias www.my-shop.net my-shop.net
  4. ServerAdmin webmaster@my-shop.net
  5. DocumentRoot /home/admin/domains/my-shop.net/public_html/application/public
  6. ScriptAlias /cgi-bin/ /home/admin/domains/my-shop.net/public_html/application/public/cgi-bin/
  7. UseCanonicalName OFF
  8. <IfModule !mod_ruid2.c>
  9. SuexecUserGroup admin admin
  10. </IfModule>
  11. CustomLog /var/log/httpd/domains/my-shop.net.bytes bytes
  12. CustomLog /var/log/httpd/domains/my-shop.net.log combined
  13. ErrorLog /var/log/httpd/domains/my-shop.net.error.log
  14. <Directory /home/admin/domains/my-shop.net/public_html/application/public>
  15. php_admin_flag safe_mode OFF
  16. php_admin_flag engine ON
  17. php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f admin@my-shop.net'
  18. php_admin_value mail.log /home/admin/.php/php-mail.log
  19. php_admin_value open_basedir /home/admin/:/tmp:/var/tmp:/usr/local/lib/php/
  20. </Directory>
  21. </VirtualHost>
  22.  
  23. <VirtualHost 111.222.33.44:443 >
  24. SSLEngine on
  25. SSLCertificateFile /usr/local/directadmin/data/users/admin/domains/my-shop.net.cert.combined
  26. SSLCertificateKeyFile /usr/local/directadmin/data/users/admin/domains/my-shop.net.key
  27. SSLCACertificateFile /usr/local/directadmin/data/users/admin/domains/my-shop.net.cacert
  28. ServerName www.my-shop.net
  29. ServerAlias www.my-shop.net my-shop.net
  30. ServerAdmin webmaster@my-shop.net
  31. DocumentRoot /home/admin/domains/my-shop.net/public_html/application/public
  32. ScriptAlias /cgi-bin/ /home/admin/domains/my-shop.net/public_html/cgi-bin/
  33. UseCanonicalName OFF
  34. <IfModule !mod_ruid2.c>
  35. SuexecUserGroup admin admin
  36. </IfModule>
  37. CustomLog /var/log/httpd/domains/my-shop.net.bytes bytes
  38. CustomLog /var/log/httpd/domains/my-shop.net.log combined
  39. ErrorLog /var/log/httpd/domains/my-shop.net.error.log
  40. <Directory /home/admin/domains/my-shop.net/public_html/application/public>
  41. php_admin_flag safe_mode OFF
  42. php_admin_flag engine ON
  43. php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f admin@my-shop.net'
  44. php_admin_value mail.log /home/admin/.php/php-mail.log
  45. php_admin_value open_basedir /home/admin/:/tmp:/var/tmp:/usr/local/lib/php/
  46. </Directory>
  47. </VirtualHost>
  48.  
  49. |*if !SUB|
  50. |?DOCROOT=/home/admin/domains/my-shop.net/public_html/application/public|
  51. |*endif|
RAW Paste Data