Welcome Guest, Not a member yet? Register   Sign In
.htaccess without the '?' : Working locally, but not on production server
#2

[eluser]Dan Horrigan[/eluser]
This is because most shared hosting servers (or cPanel servers) run PHP in CGI mode. When it runs in CGI mode, it forces you to use REQUEST_URI (because of an issue with the PHP core...PATH_INFO does not get rewritten correctly when in CGI mode). I believe in PHP 5.3 the issue has been fixed and you don't need the ?/ anymore, but cannot verify this.

Unfortunately you are stuck with running it this way unless you change hosts or something.

It shouldn't be that big of a deal though since you shouldn't be changing .htaccess or config.php too often.

Dan


Messages In This Thread
.htaccess without the '?' : Working locally, but not on production server - by El Forum - 06-08-2010, 12:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB