Click to See Complete Forum and Search --> : ForceType and PHP


DannyTuppeny
11-28-2002, 06:42 PM
In httpd.conf I've got

<Directory /var/www/html>
<Files testscript>
ForceType application/x-httpd-php
</Files>
</Directory>

The file /var/www/html/testscript contains

<?php echo $_SERVER['REQUEST_URI']; ?>

When I call it, it outputs "/testscript", which is correct.

However, when I call /testscript/test I get a 404, instead of it running testscript, and outputting "/testscript/test"...

It's redhat8, apache 2. I copied bits from

http://www.devarticles.com/art/1/143/3

Any ideas what's wrong?

DannyTuppeny
11-28-2002, 07:00 PM
It's ok, sorted :o)

http://www.phpbuilder.com/annotate/message.php3?id=1012452