Created
February 28, 2012 16:26
-
-
Save anonymous/1933468 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory /var/www/%MySite%/data/www/%MySite%.ru> | |
Options +ExecCGI -Includes | |
FCGIWrapper /var/www/%MySite%/data/php-bin/php .php | |
FCGIWrapper /var/www/%MySite%/data/php-bin/php .php3 | |
FCGIWrapper /var/www/%MySite%/data/php-bin/php .php4 | |
FCGIWrapper /var/www/%MySite%/data/php-bin/php .php5 | |
FCGIWrapper /var/www/%MySite%/data/php-bin/php .phtml | |
</Directory> | |
<VirtualHost %MyIP%:81 > | |
ServerName %MySite%.ru | |
CustomLog /var/www/httpd-logs/%MySite%.ru.access.log combined | |
DocumentRoot /var/www/%MySite%/data/www/%MySite%.ru | |
ErrorLog /var/www/httpd-logs/%MySite%.ru.error.log | |
ServerAdmin webmaster@%MySite%.ru | |
ServerAlias www.%MySite%.ru | |
SuexecUserGroup %MySite% %MySite% | |
AddHandler fcgid-script .php .php3 .php4 .php5 .phtml | |
ScriptAlias /cgi-bin/ /var/www/%MySite%/data/www/%MySite%.ru/cgi-bin/ | |
</VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment