Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost 127.0.0.1:8080>
- ServerName mysite.gr
- DocumentRoot /var/www/mysite/data/www/mysite.gr
- ServerAdmin admin@yandex.ru
- AddDefaultCharset off
- AssignUserID mysite mysite
- CustomLog /var/www/httpd-logs/mysite.gr.access.log combined
- ErrorLog /var/www/httpd-logs/mysite.gr.error.log
- Include /etc/httpd/conf/vhosts-resources/mysite/vhost.conf
- <FilesMatch "\.ph(p[3-5]?|tml)$">
- SetHandler application/x-httpd-php5
- </FilesMatch>
- ScriptAlias /php-bin/ /var/www/php-bin/mysite/
- SetEnvIf X-Forwarded-Proto https HTTPS=on
- AddHandler application/x-httpd-php5 .php .php3 .php4 .php5 .phtml
- Action application/x-httpd-php5 /php-bin/php
- ServerAlias www.mysite.gr
- DirectoryIndex index.php
- </VirtualHost>
- <Directory /var/www/mysite/data/www/mysite.gr>
- Options +Includes -ExecCGI
- </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement