"Some Dude" <some DeleteThis @dude.net> schreef in bericht
news:k380f0pd54maakjobkvhe7cmhb29hto571@4ax.com...
> I have recently seen trailing slash errors in my error logs...I am not
> the admin of the site but am wondering if there is a possibility there
> is some sort of Apache bug that is causing this or is it a simple
> misconfiguration error?
Requesting <a style='text-decoration: underline;' href="http://www.site.tld/a/b/c" target="_blank">www.site.tld/a/b/c</a> differ from <a style='text-decoration: underline;' href="http://www.site.tld/a/b/c/" target="_blank">www.site.tld/a/b/c/</a> significantly.
The first url takes c as a filename, in the last url it is a folder.
If c is a folder the first fail; the last will attempt to open the
default -commonly named index.html- page to be found in that folder.
Best thing to do is adding the trailing slash to any link to a folder
yourself.
Some configurations are set to magically add a trailing / if c is found to
be a folder, some are not.
Mod_dir is one way to do this
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mod_dir.html" target="_blank">http://httpd.apache.org/docs-2.0/mod/mod_dir.html</a>
Technically, a disabled feature or a missing add-on is not a bug ...
HansH<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: trailing slash error