1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Disable Access to website from outside world

Discussion in 'Plesk for Linux - 8.x and Older' started by qualispace, Jun 2, 2007.

  1. qualispace

    qualispace Regular Pleskian

    26
    73%
    Joined:
    Mar 9, 2005
    Messages:
    102
    Likes Received:
    0
    Hello,

    I want to disable the access to a certain website from outside world and it should be accessed only from a couple of IP addresses. I tried the following directives in the httpd.include file

    Order deny,allow
    Allow from <IP_ADDRESS>

    However, when I try to restart Apache, it does not start and I get an error saying Order not allowed.

    Any idea how can I achieve the requirement?
     
  2. qualispace

    qualispace Regular Pleskian

    26
    73%
    Joined:
    Mar 9, 2005
    Messages:
    102
    Likes Received:
    0
    Well, I found the solution by creating a .htaccess file. Now I need to know how can I restrict the access to the admin URL of a mailing list. Any idea?
     
  3. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    Same deal. You can create a .htaccess file in the mailinglist software folder.
     
  4. qualispace

    qualispace Regular Pleskian

    26
    73%
    Joined:
    Mar 9, 2005
    Messages:
    102
    Likes Received:
    0
    Can you give me a sample .htaccess file?
     
  5. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    Just the same as the one you mentioned in your original post.
     
Loading...