• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

How to make a folder not view able to to public

When someone goes to a folder on my website, how can I make them get a forbidden error? Or do you have any better ideas?

I don't want certain stuff to be viewable.

I am using cPanel
Computer Guy
Computer Guy
  • 3
1 Solution
Computer GuyAuthor Commented:
Where do I get to this?
under advanced section
Perhaps you could give some more information about the OS and the webserver you are using. If it is Apache on Linux, try this:

1. Edit the default config in /etc/apache2/sites-available
2. Look for the following "Options Indexes FollowSymLinks"
3. Replace "Indexes" with "-Indexes"
4. Restart apache
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now