supmeth Posted November 19, 2008 Share Posted November 19, 2008 Hi, Please help!!!!!!!!!!!!! Me going crazy, as one problem gets resolved another seems to keep popping up. Anyways, I am using CentOS 5.2 x86_64. Here's what I have done: Compiled mod_fastcgi with default values Compiled fcgi Compiled apache as follows: ./configure \ --enable-suexec \ --with-suexec-bin=/usr/local/apache2/bin/suexec \ --with-suexec-caller=apache \ --with-suexec-docroot=/pure-ftpd \ --with-suexec-userdir=public_html \ --with-suexec-safepath="/usr/local/bin:/usr/bin:/bin" \ --enable-fastcgi \ Compiled PHP with the: ./configure --prefix=/usr/local/php5 \ --with-config-file-path=/usr/local/php5 \ --with-zlib-dir=/usr/include/zlib.h \ --enable-sockets \ --with-libdir=lib64 \ --with-mysql \ --enable-fastcgi \ --enable-discard-path \ --enable-force-cgi-redirect \ Here's a snippet of my httpd.conf: LoadModule fastcgi_module modules/mod_fastcgi.so <IfModule mod_fastcgi.c> FastCgiWrapper /usr/local/apache2/bin/suexec </IfModule> <VirtualHost 210.56.82.8:80> DocumentRoot /pure-ftpd/user1/public_html ServerName vision-interntional.com SuexecUserGroup ftpusers ftpusers <IfModule mod_fastcgi.c> ScriptAlias /cgi/ /pure-ftpd/user1/php-fcgi/ AddHandler php-fastcgi .php <Location /cgi/php-wrapper> SetHandler fastcgi-script </Location> Action php-fastcgi /cgi/php-wrapper AddType application/x-httpd-php .php </IfModule> </VirtualHost> Thank you in advance. Link to comment https://forums.phpfreaks.com/topic/133295-re-403-error-forbidden-with-apachesuexecmod_fastcgiphp/ Share on other sites More sharing options...
supmeth Posted November 20, 2008 Author Share Posted November 20, 2008 Hi, Never mind, suexec has been terminate my wrapper due incorrect misconfiguration. I misplaced the wrapper script. Thanks. Link to comment https://forums.phpfreaks.com/topic/133295-re-403-error-forbidden-with-apachesuexecmod_fastcgiphp/#findComment-693950 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.