Quote:
When I`m putting wrong url I see the content of /var/www . How to restricted it ?
|
Apache by default gives a 404 Error page, when the document you've requested does not exist.
So I guess you have changed somehow the "ErrorDocument" directive in httpd.conf resulting in a directory listing.
You should post httpd.conf in order to be able to help you.