Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th June 2008, 23:20
hrvbid hrvbid is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Thanks: 9
Thanked 14 Times in 7 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2008, 13:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Currently ISPConfig does not support PHP through Fast-CGI...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
Postfix - Relay access denied gotting Server Operation 3 23rd April 2008 15:06
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 15:22
doubt about apache version with ispconfig... lyndros Installation/Configuration 1 7th October 2007 12:22
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 16:55


All times are GMT +2. The time now is 19:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.