LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   $path_info (https://www.linuxquestions.org/questions/linux-software-2/%24path_info-133044/)

datadriven 01-09-2004 08:47 AM

$path_info
 
On my dedicated server I often do things like this

http://www.somedomain.com/page.php/2/3/4

And then the variable $PATH_INFO would contain "/2/3/4" on page.php, which I could then explode and use for DB lookups, making indexable dynamic content.

On my local box I'm getting a 404 instead of the desired effect. Is the setting in httpd.conf or php.ini

system is slack 9.1

david_ross 01-09-2004 03:07 PM

Take a look at:
http://httpd.apache.org/docs-2.0/mod...acceptpathinfo

datadriven 01-09-2004 06:13 PM

These docs refer to apache 2, unfortunately I'm running Apache/1.3.29 . I searched the 1.3 manual to see if that directive was listed, but I couldn't find it. I'll try it to see if it works.


All times are GMT -5. The time now is 07:08 PM.