Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

RE: [PHP] Apache Error 500 From: Andrew Hill (ahill <email protected>)
Date: 12/31/01

Patrick,

It's likeley that one that one server PHP is installed as a GGI -
unfortunatley the trick you want to use only work when PHP is installed as a
module.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers

> -----Original Message-----
> From: patricka <email protected> [mailto:patricka <email protected>]
> Sent: Monday, December 31, 2001 10:20 AM
> To: php-general <email protected>
> Subject: [PHP] Apache Error 500
>
>
> Hi,
>
> I am using the list comment to decompose urls for navigation.
> This works fine. Except on one particular server and I don't know
> why..
>
> if my url is like : test.php everything is ok, but when I use
> test.php/1, I get the Apache Internal 500 Error.
>
> I believe that apache is checking if the 1 in the dir test.php
> exists, which of course is not the case since test.php is a file.
> I am only allowed to modify a htaccess file...
>
> Does anyone have a suggestion how to fix this?
>
> Thanks,
>
> Patrick
>
>
>
> PS:
>
> my file test.php looks like
>
> list($dummy1,$dummy2,$pid1,$pid2) = split("/",$PHP_SELF);
> switch( $pid1 ) {
> case 1:
> include "file1.html";
> break;
> case 2:
> include "file2.html";
> break;
> default:
> include "default.html";
> break;
> }
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>