Re: parsing /'s in urls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



leehro@xxxxxxxxxxxxx wrote:

My host recently upgraded PHP.  I had a script, download.php, that would
work like this

http://www.myhost.com/download.php/30/file.torrent

the download.php script would take the 30, look up the real filename in the
database, and readfile() it back.  this was a great setup because the
browser just thought it was accessing a direct link to a file.

But now download.php/30/file.torrent results in a 404.

Is this something I can change back?

this is an apache related thing

http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo

--
Sebastian Mendel

www.sebastianmendel.de www.warzonez.de www.tekkno4u.de www.nofetish.com
www.sf.net/projects/phpdatetime        www.sf.net/projects/phptimesheet

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux