Current time: 11-27-2024, 04:17 AM Hello There, Guest! (LoginRegister)


Post Reply 
rewrite to *.php carring out the whole php file instead of executing it
Author Message
iRaS Offline
Junior Member
*

Posts: 13
Joined: Mar 2009
Reputation: 0
Post: #3
RE: rewrite to *.php carring out the whole php file instead of executing it
(03-23-2009 06:08 PM)joximu Wrote:  obviously fcgid cannot find the command "de".

of course it can not find the command "de". it should run the php5-fcgid-starter not "de". "de" is an php file. i told apache that this is an application/x-httpd-php but without success. fcgid still wants to execute it.

i have searched on the web for fcgid configuration and found that fcgid-php don't support extensionless files. so the customers can't do this on webservices with fcgid or fastcgi (its the same) but on webservices with mod-php they can.

right, this is not a bug of ispCP.. its just not satisfing me. a php newbie normally downloading WAMP and programming his website on his pc. WAMP works with mod-php and they can programm some code that won't work on the server even if he has the same php version...

(03-23-2009 06:08 PM)joximu Wrote:  I did not have any problems with rewriting - it has to do with fcgi (or fastcgi) - did you already try fastcgi instead?

no, i have not yet tried fastcgi instead of fcgid. but it works now with the line
Code:
AddHandler fcgid-script .php

this line should only be added if php is available for this vhost. so it have to be in the template for vhosts (*_php2_entry.tpl).

i don't know why it works for you without this line but on every site i found the entry looks like this:

Code:
[...]
AddHandler fcgid-script .php
FCGIWrapper /usr/bin/php5-fcgi-starter .php
[...]
(This post was last modified: 03-23-2009 07:44 PM by iRaS.)
03-23-2009 07:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: rewrite to *.php carring out the whole php file instead of executing it - iRaS - 03-23-2009 07:42 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)