AcceptPathInfo, SetOutputFilter and SetInputFilter: Not working …

Discussion in 'Apache' started by cre8ive, Nov 18, 2007.

  1. #1
    I installed Apache2.0.x. I also installed php4.x. Both are installed on Windows XP Pro. PHP seems to be working fine, and now, I want to configure Apache so that it can read PHP files that do not have .php extension.

    I have the following .htaccess file

    <Files top>
        AcceptPathInfo on
        SetOutputFilter PHP
        SetInputFilter PHP
    </Files>
    Code (markup):
    However, ‘top’ PHP file does not work as it should. I get the following error message:

    What am I missing …?
     
    cre8ive, Nov 18, 2007 IP