faqts : Computers : Programming : Languages : PHP : Installation and Setup

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

14 of 30 people (47%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How to setup php to work with Netscape Enterprise Server 3.x ?

May 10th, 2000 03:38
unknown unknown, Fabrice LEGRAND, Andrew Benham


Andrew followed the 'usual' instructions
(http://www.webgenx.com/php/phpnes.php3), but PHP pages were reported as
"not found".

The server's error log reported:

[09/May/2000:10:59:13] warning: for host 47.101.228.189 trying to GET 
/php_text.php3, WPU_PlainFile reports:
/opt/corp/projects/pegasus_web/netscape/suitespot/php/php/php_text.php3 
not found

"/opt/corp/projects/pegasus_web/netscape/suitespot/php/php" is the
PHP module, and the server has appended the requested URL 
"/php_text.php3"
- so the URL is being passed as PATH_INFO. However something else in the
server doesn't realise this.

The fix was to update the "obj.conf" file, from:

ObjectType fn="force-type" type="text/plain"
ObjectType fn="rdm-type"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" 
fn="imagemap"

to:

ObjectType fn="force-type" type="text/plain"
Service method="(GET|HEAD)" type="magnus-internal/cgi" fn="send-cgi"
ObjectType fn="rdm-type"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" 
fn="imagemap"