Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2006
    Posts
    5

    Default add forbidden page [moved]

    I'd like to add a forbidden page to my websites. This way if someone tries to access something (like an images directory) a page would come up saying forbidden. Anyone know how to do this?

  2. #2
    Member
    Join Date
    May 2006
    Location
    India
    Posts
    18

    Default

    To stop indexing your files you can create a .htaccess file and add the below code:

    Options -Indexes

    Now, for your customized 404 page. You can do it from cPanel > ErrorPages.
    RootSupport.Com - Solutions That Fit On The First Try
    ::::: AIM: linuxengineers ::::: MSN: msn@rootsupport.com :::::
    Twenty Four / Seven Technical Support - Windows & Linux Servers
    *Seven days FREE trial available on selected plans

  3. #3
    Member
    Join Date
    Apr 2006
    Posts
    5

    Default

    I'm kind of a newby so I apologize.
    I'm not sure how to create the .htaccess you mentioned.

  4. #4
    Member
    Join Date
    May 2006
    Location
    India
    Posts
    18

    Default

    You will have to create a .htaccess file in the public_html folder. You can find a tutorial for .htaccess at the following URL http://www.freewebmasterhelp.com/tutorials/htaccess/1

    Best luck
    RootSupport.Com - Solutions That Fit On The First Try
    ::::: AIM: linuxengineers ::::: MSN: msn@rootsupport.com :::::
    Twenty Four / Seven Technical Support - Windows & Linux Servers
    *Seven days FREE trial available on selected plans

  5. #5
    Member
    Join Date
    Apr 2006
    Posts
    5

    Default

    Appreciate it.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 03-30-2011, 12:11 AM
  2. forbidden page
    By Potato in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 01-05-2010, 06:40 AM
  3. Apache forbidden page
    By jimmy1987 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-09-2008, 07:00 PM
  4. The page has moved here always popping up.
    By eger in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-08-2003, 01:18 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube