Remove index.php using PATH_INFO |
[eluser]WanWizard[/eluser]
Thanks. First thing I notice: SCRIPT_NAME should contain '/index.php' (if it's in the document root). But is doesn't, it contains the URI string (/oauth/confirm). Weird, the SCRIPT_FILENAME does contain the path to index.php. The correct value is however stored in ORIG_SCRIPT_NAME. Is your apache running in a chrooted environment? Or PHP in CGI mode? If CGI, what's the value of 'cgi.fix_pathinfo' in your php.ini? As a test, could you add this at the top of your index.php? Code: $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
[eluser]Brandon Beasley[/eluser]
Well it looks like I am under a PHP-CGI environment because this solution ended up working: htaccess for PHP-CGI hosting (and use segments with query strings) http://ellislab.com/forums/viewthread/96347/ Thanks for all your help WanWizard!
[eluser]Unknown[/eluser]
try this.. $config[‘uri_protocol’] = “REQUEST_URI”; replace REQUEST_URI >> AUTO $config[‘uri_protocol’] = “AUTO”; $config[‘enable_query_strings’] = TRUE; $config[‘permitted_uri_chars’] = ‘a-z? 0-9&=~%.:_\-’;
|
Welcome Guest, Not a member yet? Register Sign In |