random1 Posted February 8, 2009 Share Posted February 8, 2009 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 More sharing options...
printf Posted February 8, 2009 Share Posted February 8, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.