View Single Post
Old 01-06-2005, 10:59 AM  
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
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.
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote