Can't seem to get my .htaccess file to work, config:

<Directory />
Options FollowSymLinks
#AllowOverride FileInfo
AllowOverride FileInfo AuthConfig Limit
</Directory>

<Directory "C:/website/mydomain.com/">
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo AuthConfig Limit
Order allow,deny
Allow from all
</Directory>

.htaccess file:

ErrorDocument 404 /parse_requests.php

I go to http://localhost/blah/bleh/ and it just spits out IE's regular 404 instead of going to /parse_requests.php

Works fine on my Linux box ....

Any ideas?

    4 days later

    Try specifying the full path to parse_requests.php - ie:

    ErrorDocument 404 C:/website/mydomain.com/parse_requests.php

    HTH

    Jonathen

      Try specifying the full path to parse_requests.php - ie:

      ErrorDocument 404 C:/website/mydomain.com/parse_requests.php

      HTH

      Jonathen

        I got it the other day. The header() I sent was needing to be sent different from Windows.

        Thanks anyways.

          Write a Reply...