Compare commits
2 Commits
73f47dfb47
...
92be4acd7f
Author | SHA1 | Date | |
---|---|---|---|
|
92be4acd7f | ||
|
767f47fe7f |
@ -17,8 +17,12 @@
|
|||||||
|
|
||||||
DocumentRoot /home/doms/${dom.name}/htdocs
|
DocumentRoot /home/doms/${dom.name}/htdocs
|
||||||
|
|
||||||
|
#if( ${cgi} )
|
||||||
Alias /cgi-bin/ /home/doms/${dom.name}/cgi/
|
Alias /cgi-bin/ /home/doms/${dom.name}/cgi/
|
||||||
|
#end
|
||||||
|
#if( ${fastcgi} )
|
||||||
Alias /fastcgi-bin/ /home/doms/${dom.name}/fastcgi/
|
Alias /fastcgi-bin/ /home/doms/${dom.name}/fastcgi/
|
||||||
|
#end
|
||||||
|
|
||||||
<Directory />
|
<Directory />
|
||||||
PassengerEnabled Off
|
PassengerEnabled Off
|
||||||
@ -33,6 +37,15 @@
|
|||||||
#end
|
#end
|
||||||
#if( ${passengerfriendlyerrorpages} )
|
#if( ${passengerfriendlyerrorpages} )
|
||||||
PassengerFriendlyErrorPages On
|
PassengerFriendlyErrorPages On
|
||||||
|
#end
|
||||||
|
#if( ${passengerpython} )
|
||||||
|
PassengerPython ${passengerpython}
|
||||||
|
#end
|
||||||
|
#if( ${passengernodejs} )
|
||||||
|
PassengerNodejs ${passengernodejs}
|
||||||
|
#end
|
||||||
|
#if( ${passengerruby} )
|
||||||
|
PassengerRuby ${passengerruby}
|
||||||
#end
|
#end
|
||||||
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
|
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
|
||||||
</Directory>
|
</Directory>
|
||||||
@ -82,7 +95,10 @@
|
|||||||
RewriteRule ^(.*) - [redirect=404,last]
|
RewriteRule ^(.*) - [redirect=404,last]
|
||||||
|
|
||||||
#end
|
#end
|
||||||
AddType application/x-httpd-php .php .php5 .php4 .php3
|
#if( ${fcgiphpbin} )
|
||||||
|
SetEnv HTTP_PHP_BIN ${fcgiphpbin}
|
||||||
|
#end
|
||||||
|
AddType application/x-httpd-php .php
|
||||||
Action application/x-httpd-php /fastcgi-bin/phpstub
|
Action application/x-httpd-php /fastcgi-bin/phpstub
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
@ -105,8 +121,12 @@
|
|||||||
|
|
||||||
DocumentRoot /home/doms/${dom.name}/htdocs-ssl
|
DocumentRoot /home/doms/${dom.name}/htdocs-ssl
|
||||||
|
|
||||||
|
#if( ${cgi} )
|
||||||
Alias /cgi-bin/ /home/doms/${dom.name}/cgi-ssl/
|
Alias /cgi-bin/ /home/doms/${dom.name}/cgi-ssl/
|
||||||
|
#end
|
||||||
|
#if( ${fastcgi} )
|
||||||
Alias /fastcgi-bin/ /home/doms/${dom.name}/fastcgi-ssl/
|
Alias /fastcgi-bin/ /home/doms/${dom.name}/fastcgi-ssl/
|
||||||
|
#end
|
||||||
|
|
||||||
<Directory />
|
<Directory />
|
||||||
SSLRequireSSL On
|
SSLRequireSSL On
|
||||||
@ -124,13 +144,13 @@
|
|||||||
PassengerFriendlyErrorPages On
|
PassengerFriendlyErrorPages On
|
||||||
#end
|
#end
|
||||||
#if( ${passengerpython} )
|
#if( ${passengerpython} )
|
||||||
PassengerPython /home/pacs/${pac.name}/users/${dom.user.name}/${passengerpython}
|
PassengerPython ${passengerpython}
|
||||||
#end
|
#end
|
||||||
#if( ${passengernodejs} )
|
#if( ${passengernodejs} )
|
||||||
PassengerNodejs /home/pacs/${pac.name}/users/${dom.user.name}/${passengernodejs}
|
PassengerNodejs ${passengernodejs}
|
||||||
#end
|
#end
|
||||||
#if( ${passengerruby} )
|
#if( ${passengerruby} )
|
||||||
PassengerRuby /home/pacs/${pac.name}/users/${dom.user.name}/${passengerruby}
|
PassengerRuby ${passengerruby}
|
||||||
#end
|
#end
|
||||||
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
|
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
|
||||||
</Directory>
|
</Directory>
|
||||||
@ -182,9 +202,9 @@
|
|||||||
#end
|
#end
|
||||||
|
|
||||||
#if( ${fcgiphpbin} )
|
#if( ${fcgiphpbin} )
|
||||||
SetEnv HTTP_PHP_BIN ${fcgiphpbin}
|
SetEnv HTTP_PHP_BIN ${fcgiphpbin}
|
||||||
#end
|
#end
|
||||||
AddType application/x-httpd-php .php .php5 .php4 .php3
|
AddType application/x-httpd-php .php
|
||||||
Action application/x-httpd-php /fastcgi-bin/phpstub
|
Action application/x-httpd-php /fastcgi-bin/phpstub
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
Loading…
Reference in New Issue
Block a user