ISPconfig vhosts apache mod and/or fcgi, php ...
Hi,
I'm not a very experienced user of ispconfig, but very happy with. (When experience grows, sure the happiness does also).
Thinking about the apache modes, like apache/mod contra apache/fastcgi and with php, an option to control that mode during site generation/update would be very helpful. The suggestion is, to have a checkbox labeled "Fcgi" or a like in ISPconfig Manager that could be the switch to inject specific lines in the vhost control file. At the moment, I do that manually. An example vhost looks like:
#
<VirtualHost 192.168.175.100:80>
SuexecUserGroup web7_u2 web7
ServerName pws150.local.vnet:80
ServerAdmin webmasterATlocal.vnet
DocumentRoot /var/www/web7/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias /cgi-bin/ /var/www/web7/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web7/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
# ===
ScriptAlias /php-fastcgi/ /var/www/web7/cgi-bin/
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /php-fastcgi/php5-fcgi
# ===
Alias /error/ "/var/www/web7/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
</VirtualHost>
#
The lines between the # === comments showing the additional controls. The place is essential.
My question is, is there a way just implemented to have such result? BTW, the shown example is running successfully in a VMware machine, so - no worry about the concious domain name.
Hilmar
|
Recent comments
11 hours 15 min ago
11 hours 20 min ago
16 hours 19 min ago
23 hours 12 sec ago
23 hours 49 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 12 hours ago
1 day 15 hours ago
1 day 17 hours ago