Click to See Complete Forum and Search --> : index.php doesn't work with Netscape Enterprise


Anon
11-09-2000, 08:46 PM
Hello there,
I've got PHP 4.0.3pl1 to work with netscape enterprise Server 3.6, but one (important) thing doesn't work:

Whenever the server should translate http://host/someurl/ into http://host/someurl/index.php, I get a binary dump of the directory (same as typing 'cat .')..

I have added index.php to the index-names in the Netscape configuration, but no difference.

Anybody got this to work?

-daniel
P.S. Getting PHP to work with NS is not really easy, gcc 2.7.2.2 doesn't work (libg++ is not threadsafe enough), and configure doesn't really know how to deal with SUNWspro and iostream.

Anon
11-10-2000, 10:34 AM
does php work at all?
i mean foo.php works fine, so you only have problem with the index?

did you set the mime types?

Anon
11-10-2000, 10:37 PM
Yes it does, I had imp working without too much trouble, but I then tried to install Source-Forge, which uses redirect to http://host/ quite often (for caching), and any other package I installed has to be explicitly called with /index.php for php to work.

Anon
12-04-2000, 05:35 AM
I have exactely the same problem as Daniel using PHP4 and the Netscape Enterprise Server. index.php is added to the index-names in the Netscape configuration.

PHP4 (CGI) works perfect using an URL like this:

http://some.host.com/foo/index.php

PHP4 produces an internal error using a URL like this one:

http://some.host.com/foo/

someone got an idea?

Thanx,
Thomas:-)