I had just finished defining error pages using the ErrorDocument
in httpd.conf. After restarting the server, I noticed that when I entered the address of a directory (not a file) like http://www.example.com/adirectory, Apache gave a "301 Moved Permenantly" error. Removing the ErrorDocument didn't do anything either. THe only way to access these URLs is to include a / at the end of the URL, like http://www.example.com/adirectory/ How can I allow URLs to be displayed without the / at the end. Thanks, San.
Check Apache rules.
Specifically .htaccess RewriteRule with a regular expression to end URL with a /