Re: Re[2]: [PHP] dynamic -> static

From: Date: Thu, 09 Oct 2003 18:33:52 +0000
Subject: Re: Re[2]: [PHP] dynamic -> static
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-165655@lists.php.net to get a copy of this message
>: I have the following configuration. >: >: Redhat 8.0 >: Apache/2.0.40 (stock redhat install) >: PHP 4.2.2 (stock redhat install) >: >: What I get when I try and run this is an Object Not Found. > >If I was Apache, I would try to serve the file: > > /index.php/var1/val1/var2/val2/index.php >or > /index.php/var1/val1/var2/val2/index.html Interesting - I must admit I have never used Apache 2.anything (my understanding is that it's a pointles upgrade if you're on unix), so the slash-syntax method has only been reliably tested by me on Apache 1.3.x, where it works with no configuration modifications to the default. I guess for 2.0, you could start using mod_rewrite or mod_alias to rewrite the URLs in a non-problematic format. :\ -mike. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#165655) next »