Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Offering a redirect on a password directory

Discussion in 'General Discussion' started by gopher, May 7, 2009.

  1. gopher

    gopher Registered

    Joined:
    May 7, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Dear cpanel,
    My webhost Midphase suggested I contact this forum for advice, seeing as it uses cpanel for the configuration of websites. I have a password protected directory on my website, and would like to redirect with .htaccess any bad password requests to my guestbook website. So the first question is, do I put the .htaccess file in the password protected directory, or the directory that isn't password protected that is its parent? The second is what would I enter the .htaccess file that would detect if someone tried to enter it with the wrong password where to send them?

    Thank you.
     
  2. gopher

    gopher Registered

    Joined:
    May 7, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice