The Most Active and Friendliest
Affiliate Marketing Community Online!

“Propeller”/  Direct Affiliate

Server blocking?

church

Active Member
affiliate
Can I possibly block someone from seeing everything on my server?

I have some landing pages on say /landingpage/1 but if they go to /landingpage/ they can see 2,3,4 etc

Can I stop that please?
 
You have to turn off Directory Browsing. If you have SSH access to your server then you'll need to go in and change the httpd.conf (provided you are using apache).

First of all find where is the main apache’s config file httpd.conf is located. If you use Debian, it should be here: /etc/apache/httpd.conf. Using some file editor like Vim or Nano open this file and find the line that looks as follows:

Code:
Options Includes Indexes FollowSymLinks MultiViews

then remove word Indexes and save the file. The line should look like this one:

Code:
Options Includes FollowSymLinks MultiViews

After it is done, restart apache (e.g. /etc/init.d/apache restart in Debian). That’s it!

If you don't have access to ssh or this is a shared hosting server, you will need to contact your hosting company and have them disable it.
 
banners
Back