Jump to content

PHP and HTTP 300?


random1

Recommended Posts

I have custom error documents set up in my .htaccess file

 

I recently found when I type an invalid page name I get:

 

Multiple Choices
The document name you requested (/product) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:

    * product.php (common basename) 

 

How can I use my custom error page to get the list of available documents?

Link to comment
https://forums.phpfreaks.com/topic/144285-php-and-http-300/
Share on other sites

set the context option in your apache configuration file to include the context that your custom error hander is using, then add the checkspell directive to that htaccess file or a htaccess in a directory if you are using the context 'directory'. But if your using a custom error handler via htaccess then you would set the context to include 'htaccess'.

 

Link to comment
https://forums.phpfreaks.com/topic/144285-php-and-http-300/#findComment-757210
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.