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

From: Date: Thu, 09 Oct 2003 18:40:01 +0000
Subject: Re: Re[2]: [PHP] dynamic -> static
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-165656@lists.php.net to get a copy of this message
Did a little more googling and found the answer. In Apache 2.0, by default is does not allow this type of URL. But I found a few article on it that explained that if I modified this in httpd.conf modify, or add, this line. AcceptPathInfo On Don't know what it does, but it fixes the problem. Jim Lucas ----- Original Message ----- From: "Mike Migurski" <mike@saturn5.com> To: "Eugene Lee" <list-php-1@fsck.net> Cc: <php-general@lists.php.net> Sent: Thursday, October 09, 2003 11:33 AM Subject: Re: Re[2]: [PHP] dynamic -> static > >: 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#165656) next »