Solved

How to make a folder not view able to to public

Posted on 2012-04-02
5
230 Views
Last Modified: 2012-04-02
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
Folder-Example.jpg
0
Comment
Question by:Computer Guy
  • 3
5 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37795294
0
 
LVL 3

Author Comment

by:Computer Guy
ID: 37795301
Where do I get to this?
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37795318
under advanced section
0
 
LVL 1

Expert Comment

by:Xizz
ID: 37795325
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
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37795330
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question