Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie Sangal-Arun's Avatar
    Join Date
    May 2006
    Gurgaon, India + Denver Colorado USA

    Angry Directory is not secure while browsing the link

    Hi All,

    When I'm browsing the following link at my machine, it's showing the directory structure under railwaysite folder.

    Is there any way, I can restrict this access to others. What I want is that, it should display a standard IE error page whenever someone tries to access this link.

    Arun Sangal

    SCM: 1- 720 251 9962

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    I'm guessing your server is running apache. It it is, you can control directory permissions through the /etc/httpd/conf/httpd.conf file (or it may be that there's a file in /etc/httpd/conf.d/ that relates to this site specifically).

    Look for the <Directory>...</Directory> part of that file that sets up the permissions to the web's directory, you can control access by IP address, hostname, network addresses, etc. There are usually plenty of examples in that conf file that you can refer to.
    Linux user #126863 - see

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts