View previous topic :: View next topic |
Author |
Message |
fireworx -
Joined: 23 Nov 2005 Posts: 2
|
Posted: Thu Nov 24, 2005 12:02 am Post subject: php parameters like test.php/856/file.zip |
|
|
hy i'm using abyss x1.
the parameters don't work abyss says not found, but apache handeld this...
example:
a link calls the download.php/843/file.zip
843 is the file >> file.zip the name of zipped file
and download starts...
but the / makes the thing go wrong but i need it so.
can anyone help?
how must i configure the server to do this like apache?
thx ahead |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Nov 24, 2005 12:12 pm Post subject: Re: php parameters like test.php/856/file.zip |
|
|
fireworx,
The extra part of the URL you want to get is called the PATH INFO in CGI jargon. By default PHP does not handle it correctly.
All you have to do is to modify your php.ini and especially the cgi.fix_pathinfo parameter to start getting it. You should also change the PHP Interpreter Type in Abyss Web Server from PHP Style to Standard. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
fireworx -
Joined: 23 Nov 2005 Posts: 2
|
Posted: Thu Nov 24, 2005 5:00 pm Post subject: parameter |
|
|
thx in advance :) |
|
Back to top |
|
 |
|