“mobile”/ adcombo
Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Server blocking?

Discussion in 'General Internet Marketing' started by church, Jul 15, 2014.

  1. church

    church Affiliate 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?
  2. terraleads
  3. ljads_jerrold

    ljads_jerrold Affiliate Manager Affiliate Manager affiliate

    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:

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

    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.

Top Resources