Welcome to WebmasterWorld Guest from 54.146.221.231

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Server question

     
1:23 am on Mar 12, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 27, 2002
posts:99
votes: 0


HI!

On an Apache server... I'm not exactly sure what you call this, but when you go to a website and type in a webpage that's not there, sometimes you get a listing of every page. What do you call that? You can turn this on and off, right? I'd prefer to get a 404 if the page is not found...

How can I fix this?

1:26 am on Mar 12, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Jan 11, 2003
posts:442
votes: 0


I believe you are talking about directory listings. You can turn those off from your .htaccess file :

Options -Indexes

That will give such requests a 403 instead.