using $_SERVER['PATH_INFO'] with safe_mode

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kcomer
Forum Contributor
Posts: 108
Joined: Tue Aug 27, 2002 8:50 am

using $_SERVER['PATH_INFO'] with safe_mode

Post by kcomer »

I do almost 100% in-house work and have control over the server. I am trying to upload a version of a program onto a hosting company for a client. I develop my web apps using the controler file setup. So my URL's look like this.

http://www.test.com/index.php/home/contact/

The hosting companies servers can't process this and the only answer I received form them was because safe_mode is on. Here is a link to what the server is running

http://ftphelp.secureserver.net/linux-phpinfo.html

If anyone has some ideas or ways around this, I'm all ears.

Thanks,

Keith
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

Is that true? Is that possible? I'd expect
or something like that. 8O
kcomer
Forum Contributor
Posts: 108
Joined: Tue Aug 27, 2002 8:50 am

Post by kcomer »

This is true and possible but it relies on the 'AcceptPathInfo' directive in Apache. Now I just need to get my web host to modify their servers for me, which will never happen.

Keith
Post Reply