How do paths like http://example.com/mediawiki/index.php/Main_Page work? How does it know index.php is a script and not a directory? Where is this enabled/disabled?
mod_rewrite isn't enabled, and it works.Google mod_rewrite
can you be more specific? someone has a box where index.php/Main_Page doesn't work and I'm trying to figure out which of the billion config differences is causing the problem. is it a php.ini setting? something in httpd.conf? Both the owner of the box and I failed to find an answer through google (google isn't so great for looking for "?" and "/").The httpd.conf tells apache to run index.php through the php module.
Originally posted by: CTho9305
mod_rewrite isn't enabled, and it works.Google mod_rewrite
can you be more specific? someone has a box where index.php/Main_Page doesn't work and I'm trying to figure out which of the billion config differences is causing the problem. is it a php.ini setting? something in httpd.conf? Both the owner of the box and I failed to find an answer through google (google isn't so great for looking for "?" and "/").The httpd.conf tells apache to run index.php through the php module.
Originally posted by: CTho9305
'aha, it's a mod_php config option in apache2'
'Note for Apache 2 users: This may give a "file not found error". This is because Apache 2 processes PHP in a different way. Quick answer to this is to put "Accept Path Info on" in the apache configuration. See also the Apache 2 manual.'
'bingo'
The owner of the machine figured it out.