Quote:
|
Originally Posted by damian2001
I have removed all the pages on a domain
I put in an htaccess with 404 handling and it works ok
Unless I go to the root ie. www.domain.com then it goes to the dir listing
I thought it wouldnt find an index page and then go to the 404
What am I doing wrong??
Thanks
Sorry for the stupid question
|
It's working as it is supposed to. You are not requesting a document that doesn't exist.
If you really need to, you can redirect anything hitting domain.com to /index.html, which will then trigger the 404.
I'm not sure why you would do this.