HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Fastcgi and ISPC (http://www.howtoforge.com/forums/showthread.php?t=4271)

tom 12th May 2006 21:35

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.

falko 12th May 2006 22:01

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. :)

tom 12th May 2006 22:05

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

tom 14th May 2006 09:15

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?

falko 14th May 2006 16:09

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.

tom 14th May 2006 16:26

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?

falko 14th May 2006 17:07

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.

tom 14th May 2006 21:44

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?

samrolken 26th May 2006 23:29

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.

falko 27th May 2006 13:59

Make sure mod_fcgi is enabled in your Apache configuration.


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

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