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

From: Date: Thu, 09 Oct 2003 18:44:33 +0000
Subject: Re: Re[2]: [PHP] dynamic -> static
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-165659@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. AcceptPathInfo: This directive controls whether requests that contain trailing pathname information that follows an actual filename (or non-existent file in an existing directory) will be accepted or rejected. The trailing pathname information can be made available to scripts in the PATH_INFO environment variable. For example, assume the location /test/ points to a directory that contains only the single file here.html. Then requests for /test/here.html/more and /test/nothere.html/more both collect /more as PATH_INFO. ...from: http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#165659) next »