Hi, i have compiled php5-cgi with custombuild.
All the php sites, I was getting, INTERNAL 500 ERROR.
So I looked around and asked around, and I found out that it was because i didn't have the php-cgi binary in the cgi-bin/ folder of the user's public_html/ directory.
Does this mean that, for every time user is added, I have to manually add the php-cgi binary onto the user's public_html/cgi-bin folder ? it seems it doesn't make sense.
and I had to create a htaccess file in the user's folder like this:
Action php5-cgi /cgi-bin/php-cgi
AddHandler php5-cgi .php
Is it just me or does custombuild not place this by default in the httpd.conf ?
Can someone please help me?
But even then, I still have problem. My mod_rewrite is not working at all. Because in my .htaccess file, i also have:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
but none of that is taking effect.
all my files are chowned to the user.
cgi-bin/php-cgi is chmod set to 755
Someone please help me, I am about to migrate to a new server with suPHP php5-fastcgi on as default setting and would like to get this taken care of ASAP.
Thanks in advance.
All the php sites, I was getting, INTERNAL 500 ERROR.
So I looked around and asked around, and I found out that it was because i didn't have the php-cgi binary in the cgi-bin/ folder of the user's public_html/ directory.
Does this mean that, for every time user is added, I have to manually add the php-cgi binary onto the user's public_html/cgi-bin folder ? it seems it doesn't make sense.
and I had to create a htaccess file in the user's folder like this:
Action php5-cgi /cgi-bin/php-cgi
AddHandler php5-cgi .php
Is it just me or does custombuild not place this by default in the httpd.conf ?
Can someone please help me?
But even then, I still have problem. My mod_rewrite is not working at all. Because in my .htaccess file, i also have:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
but none of that is taking effect.
all my files are chowned to the user.
cgi-bin/php-cgi is chmod set to 755
Someone please help me, I am about to migrate to a new server with suPHP php5-fastcgi on as default setting and would like to get this taken care of ASAP.
Thanks in advance.