Results 1 to 4 of 4

Thread: SOS - Unable to password protect a page
      
   

  1. #1
    vkeer is offline Sergeant
    Join Date
    Dec 2008
    Posts
    22

    Exclamation SOS - Unable to password protect a page

    Guys please help.

    I have an add on domain under which my site is running. I figured out how to password protect a directory under my root directory however I am unable to create a sub directory under my add-on domain.

    If I go to cpanel it shows me following :
    /public_html/
    cgi-bin
    Private (Locked)
    demo
    add-on domain.com

    If I click on my add-on domain it protects my complete website instead of just one page which I want. I want to create another sub directory under this add-on domain so only few pages gets protected and not complete website.

    Please can some one guide me what exactly should I be doing?

    I have all the pages ready just need directions to publish and protect them.

    Regards,
    __________________
    www.inventlogo.com

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: SOS - Unable to password protect a page

    Cpanel doesn't giving the functionality to protect only specific pages, only an entire directory. You will have to place all of the files you want protected into a directory and then protect that.

    Based on what you are saying I assume that when you are navigating your directory structure you have been clicking name of the directory which is bringing up a page to protect it. If you click the folder image to the left of the directory it will navigate you to that directory and list all of the directories within. You can then navigate to the directory you created for the files you want protected.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    vkeer is offline Sergeant
    Join Date
    Dec 2008
    Posts
    22

    Default Re: SOS - Unable to password protect a page

    Thanks that worked fine.

    Also I tried one more method. Created a subdomain under Add-on domain and protected it. Dont know if thats a common practice.

  4. #4
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: SOS - Unable to password protect a page

    Quote Originally Posted by vkeer View Post
    Also I tried one more method. Created a subdomain under Add-on domain and protected it. Dont know if thats a common practice.
    A subdomain is basically a directory that the server treats a little differently

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49