Forum Moderators: phranque

Message Too Old, No Replies

how do I remove these non existent files?

         

oddsod

11:35 am on Jan 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google seems to have found some links somewhere to hundreds of files in mysite.com/index/ and I can see then in a site:mysite.com search.

However, I don't have an /index/ folder, and never did. The hosting company maintains that it's a feature in Apache that if I have an index.htm file then mysite.com/index/put-anything-here will result in a 200, not a 404.

How do I serve 404 responses to these requests?

TIA

coopster

3:19 pm on Jan 5, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Sounds like MultiViews is enabled. Add an Option directive to disable if you are not using them.
Options -MultiViews

oddsod

4:29 pm on Jan 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Brilliant! Sorted.

Thanks very much :)