2

How can I allow my Apache server to return 300 Multiple Choices responses? It would have to be done using .htaccess and using a PHP page as the error page.

So far I got this:

ErrorDocument 300 "/300.php"

The valid URL being http://www.example.com/index.html and the test URL being http://www.example.com/index.php. When I use the test URL, I just get a 404 error. What am I doing wrong?

2
  • Does index.php exist? Does it return a 300 header?
    – JochenJung
    Sep 25, 2012 at 21:13
  • 1
    No, as far as I understand a 300 status page will return a list of up to 5 valid pages. Check out this status code: w3.org/standards/agents/authoring.php
    – Solo
    Sep 25, 2012 at 21:16

1 Answer 1

3

Looks like you like to enable MultiViews

Options +MultiViews
4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.