#1  
Old 12th May 2006, 21:35
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default Fastcgi and ISPC

I'm would like to know if sombody has a server running together with the apache mod fastcgi.

I'm interessed how to configure the it and what for difficulties I have to expect.
Reply With Quote
Sponsored Links
  #2  
Old 12th May 2006, 22:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Take a look at this tutorial: Debian Sarge (3.1) with Ruby on Rails and Apache 2 with FastCGI ( http://www.howtoforge.com/ruby_on_ra...fastcgi_debian )
It might give you some ideas.
__________________
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
  #3  
Old 12th May 2006, 22:05
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by falko
Take a look at this tutorial: Debian Sarge (3.1) with Ruby on Rails and Apache 2 with FastCGI ( http://www.howtoforge.com/ruby_on_ra...fastcgi_debian )
It might give you some ideas.
perfect :-)

thanks
Reply With Quote
  #4  
Old 14th May 2006, 09:15
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

There are some problems to integrade it. That is to customize it. fastcgi works whith vhosts but ISPC creates all vhost new all the time.

Where is the script generating the vhosts?
Where is the script generating the the users and groups?

Are there any instructions for all nessesary scripts available?
Have you ideas to integrate fastcgi in ISPC?

Last edited by tom; 14th May 2006 at 09:35.
Reply With Quote
  #5  
Old 14th May 2006, 16:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

It's mentioned on page 6 of the tutorial: http://www.howtoforge.com/ruby_on_ra...tcgi_debian_p6

You must put
Code:
Options +ExecCGI +FollowSymLinks
AllowOverride all
into the Apache Directives field of the web site in ISPConfig.
__________________
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
  #6  
Old 14th May 2006, 16:26
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by falko
It's mentioned on page 6 of the tutorial: http://www.howtoforge.com/ruby_on_ra...tcgi_debian_p6

You must put
Code:
Options +ExecCGI +FollowSymLinks
AllowOverride all
into the Apache Directives field of the web site in ISPConfig.
I've found a more details description for fastcgi but I'm no sure how to integrate it. This howto I've found:
http://archiv.debianhowto.de/de/apac...st_config.html



It is possible to set different setting for every vhost by using the option form for httpd.conf from ISCP?
I mean the particular setting possibillity from fastcgi.

IF I put that:
Code:
      ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/VHOST/
        <Directory "/var/www/php-fcgi-scripts/VHOST">
                AllowOverride None
                Options +ExecCGI -MultiViews -Indexes
                Order allow,deny
                Allow from all
        </Directory>
in the option form field I get not supported


Where is the script generating the vhosts?
Where is the script generating the the users and groups?




Are there any instructions for all nessesary scripts available?

Last edited by tom; 14th May 2006 at 17:01.
Reply With Quote
  #7  
Old 14th May 2006, 17:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Quote:
Originally Posted by tom
It is possible to set different setting for every vhost by using the option form for httpd.conf from ISCP?
I mean the particular setting possibillity from fastcgi.
Yes, by using the Apache Directives field.

Quote:
Originally Posted by tom
IF I put that:
Code:
      ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/VHOST/
        <Directory "/var/www/php-fcgi-scripts/VHOST">
                AllowOverride None
                Options +ExecCGI -MultiViews -Indexes
                Order allow,deny
                Allow from all
        </Directory>
in the option form field I get not supported
Then your apache is not configured properly.


Quote:
Originally Posted by tom
Where is the script generating the vhosts?
Where is the script generating the the users and groups?
It's both in /root/ispconfig/scripts/lib/config.lib.php.




Quote:
Originally Posted by tom
Are there any instructions for all nessesary scripts available?
No.
__________________
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
  #8  
Old 14th May 2006, 21:44
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

That's a part of the general fastcgi.conf:
Quote:
FastCgiServer /var/www/php-fcgi-scripts/PRIM_VHOST/php-fcgi-starter -user USER_PRIM_VHOST -group GROUP_PRIM_VHOST
I don't know what to do whith the PRIM_VHOST, USER_PRIM_VHOST , and GROUP_PRIM_VHOST

Are this general or specific rights and paths? If that is the general fastcgi.conf that must be generel but what would be the general user and group or what means PRIM?
Reply With Quote
  #9  
Old 26th May 2006, 23:29
samrolken samrolken is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Yes, by using the Apache Directives field.

Then your apache is not configured properly.


It's both in /root/ispconfig/scripts/lib/config.lib.php.




No.
I also get the lines commented out and NOT SUPPORTED! put on the end. I followed that how-to to the letter, and everything else worked perfectly.
Reply With Quote
  #10  
Old 27th May 2006, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
 
Default

Make sure mod_fcgi is enabled in your Apache configuration.
__________________
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


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


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