php parameters like test.php/856/file.zip

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
fireworx
-


Joined: 23 Nov 2005
Posts: 2

PostPosted: Thu Nov 24, 2005 12:02 am    Post subject: php parameters like test.php/856/file.zip Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Nov 24, 2005 12:12 pm    Post subject: Re: php parameters like test.php/856/file.zip Reply with quote

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 View user's profile Send private message Send e-mail
fireworx
-


Joined: 23 Nov 2005
Posts: 2

PostPosted: Thu Nov 24, 2005 5:00 pm    Post subject: parameter Reply with quote

thx in advance :)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group