apache & php - paths like: index.php/Main_Page???

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Google mod_rewrite
mod_rewrite isn't enabled, and it works.

The httpd.conf tells apache to run index.php through the php module.
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 "/").
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: CTho9305
Google mod_rewrite
mod_rewrite isn't enabled, and it works.

The httpd.conf tells apache to run index.php through the php module.
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 "/").

If I'm right, there should only be a couple mentions of "php" in the httpd.conf. One of them will be loading the module, the other will be "registering" the extension.
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
'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.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
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.

Apache 2? Ew.