The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    1
Loading...

Share This Page