Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <VirtualHost 127.0.0.1:8080>
  2. ServerName mysite.gr
  3. DocumentRoot /var/www/mysite/data/www/mysite.gr
  4. ServerAdmin admin@yandex.ru
  5. AddDefaultCharset off
  6. AssignUserID mysite mysite
  7. CustomLog /var/www/httpd-logs/mysite.gr.access.log combined
  8. ErrorLog /var/www/httpd-logs/mysite.gr.error.log
  9. Include /etc/httpd/conf/vhosts-resources/mysite/vhost.conf
  10. <FilesMatch "\.ph(p[3-5]?|tml)$">
  11. SetHandler application/x-httpd-php5
  12. </FilesMatch>
  13. ScriptAlias /php-bin/ /var/www/php-bin/mysite/
  14. SetEnvIf X-Forwarded-Proto https HTTPS=on
  15. AddHandler application/x-httpd-php5 .php .php3 .php4 .php5 .phtml
  16. Action application/x-httpd-php5 /php-bin/php
  17. ServerAlias www.mysite.gr
  18. DirectoryIndex index.php
  19. </VirtualHost>
  20. <Directory /var/www/mysite/data/www/mysite.gr>
  21. Options +Includes -ExecCGI
  22. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement