Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 15 of 15

This is a discussion on Problem with .htaccess in the Shared & Semi-Dedicated forum
I want to password-protect a particular directory. I first created /public_html/A-Turzo/.htpasswd with: (fake data, of course) Dave:aatn0reZcpJ6s Sam:aaFarHdJV6Qw2 Sharon:aatuPo4FOPXBQ I then created /public_html/A-Turzo/data/.htaccess (the directory ...

  1. #1
    JPC Member
    Join Date
    Nov 2008
    Location
    Rochester, NY
    Posts
    13

    Problem with .htaccess

    I want to password-protect a particular directory. I first created /public_html/A-Turzo/.htpasswd with: (fake data, of course)

    Dave:aatn0reZcpJ6s
    Sam:aaFarHdJV6Qw2
    Sharon:aatuPo4FOPXBQ

    I then created /public_html/A-Turzo/data/.htaccess (the directory I wanted to protect).

    AuthName "Member Area"
    AuthType Basic
    AuthUserFile /public_html/A-Turzo/.htpasswd
    Require valid-user


    But it doesn't work:

    When I go to communitychessclub.com/A-Turzo/data I get:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@communitychessclub.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    What can I do to fix this?

  2. #2
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    Do you have cPanel hosting. If so, you can password protect a directory from cPanel under "Security >> Password Protect Directories". If you face any problems during this, please open a ticket in support so that we can assist you further.
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

  3. #3
    JPC Member
    Join Date
    Nov 2008
    Location
    Rochester, NY
    Posts
    13

    I don't have quite have cPanel hosting, due to slowness.

    I actually have cPanel hosting. But I lost or forgot my username and password to login. And my site is looping in limbo right now, so I can't check the password jaguarpc gave me. But I still have my FTP password and access to this forum.

    Besides, I would rather use the .htaccess .htpasswd direct method if possible. I want to learn the correct and fundamental way, not some high-level method through cPanel. This is because I am demo-ing password protecting directories in hopes of porting the technique to an International Master's future website. I hope he will host on JaguarPC. I will recommend this to him as soon as I have a working prototype up.

    But thank you anyway!

  4. #4
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    FTP user/pass should be same as cPanel user/pass. You may try it at http://yoursite.com/cpanel to log in. cPanel also uses .htaccess to password protect directories and you can check .htaccess after password protecting the directory from cPanel to see where you were making the mistake.
    You can always open a support ticket at this link so that we can check your issue in detail.
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

  5. #5
    JPC Member
    Join Date
    Nov 2008
    Location
    Rochester, NY
    Posts
    13

    Can't get to my site.

    I tried http://www.communitychessclub.com:2082/ but it just loops and hangs.

    Maybe this error occurred through my incompetence. I can't really say. But if any jaguarPC techs are watching this, please fix the problem.

    Thank you!

    -Randy

  6. #6
    /dev/null JPC-Zishan's Avatar
    Join Date
    Apr 2008
    Posts
    268
    http://www.communitychessclub.com:2082/ is prompting for login at my end. If it loops after login then please submit a support ticket with the cPanel login details so that the techs can check it.
    Zishan - L3 - Shift Lead | JaguarPC

    Helpful Links
    Knowledge Base | Network Status | Current Specials

  7. #7
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by Verlager View Post
    Besides, I would rather use the .htaccess .htpasswd direct method if possible. I want to learn the correct and fundamental way, not some high-level method through cPanel. [...]
    You might want to use cPanel the first time (when you get access) to setup a password protected directory. That way, you can see the (excepted) structure and hierarchy that's being used.

    I have numerous PW protected folders, and the passwords are stored outside the web path in a hidden folder.

    Example: sftp://domain_name/home/account_name/.htpasswds

    Hope this helps...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  8. #8
    JPC Member
    Join Date
    Nov 2008
    Location
    Rochester, NY
    Posts
    13

    That helps a bit.

    That helps a bit. But the bad news is that my FTP access doesn't work nor can I access communitychessclub.com. Time Warner (my local ISP) technical support can't access it either. jaguarPC tech support is able to access it perfectly, though.

    I'm a LinuxMint user and I don't normally experience these outtages with my domain, http://communitychessclub.com

    Thank you for your informative comments.

    -Randy

  9. #9
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    Quote Originally Posted by Verlager View Post
    That helps a bit. But the bad news is that my FTP access doesn't work nor can I access communitychessclub.com. Time Warner (my local ISP) technical support can't access it either. jaguarPC tech support is able to access it perfectly, though.

    I'm a LinuxMint user and I don't normally experience these outtages with my domain, http://communitychessclub.com

    Thank you for your informative comments.

    -Randy
    I just tried you link and the site loaded fine.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  10. #10
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by Verlager View Post
    I'm a LinuxMint user and I don't normally experience these outtages with my domain, http://communitychessclub.com
    ~Cool!

    I run Mint on my laptop and netbook. I'm on my desktop box right now, using Ubuntu 9.10 - and your site is loading just fine for me.

    Sounds like the zone files on Time Warner are jacked - or they have a flaky edge-router (or whatever)... but, that's just an educated guess.

    Have you tried a proxy server yet?!?!?

    For instance: https://www.megaproxy.com/freesurf/

    Your site is coming up fine (for me) on MegaProxy too...

    EDIT

    Here's another old favorite: http://downforeveryoneorjustme.com/c...ychessclub.com

    That's working for me too!
    Last edited by Vin DSL; 01-21-2010 at 06:29 PM.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  11. #11
    JPC Member
    Join Date
    Nov 2008
    Location
    Rochester, NY
    Posts
    13

    Just got off the phone with Time Warner. Problem is at their end.

    A 40 minute telephone call to Time Warner revealed that the DNS problem is at their end, although I am using google DNS. May take a day to fix.

  12. #12
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Heh! I've used JagPC for DNS before...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  13. #13
    JPC Member
    Join Date
    Nov 2008
    Location
    Rochester, NY
    Posts
    13

    Problem solved!

    Turns out my junky Linksys WRT54GS v.6 router crapped out and was preventing access. I had to replace it. Now I can get to communitychessclub.com perfectly.

    I used googleDNS at 8.8.8.8 and 8.8.4.4 but TimeWarner (or your ISP in your case, too) actually has a hand in resolving ip addresses even with OpenDNS or MegaProxy in use, they tell me.

    Vin DSL, LinuxMint is an excellent choice all around for any computer you own. But you might want to check http://www.kuki.me/ especially if you have an Acer Aspire One.

    Thank you for all the help!

  14. #14
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by Verlager View Post
    Vin DSL, LinuxMint is an excellent choice all around for any computer you own. But you might want to check http://www.kuki.me/ especially if you have an Acer Aspire One. [...]
    Glad it worked out for you!

    BTW, I have an Asus Eee PC: Here's a screenie (my Mint install)...

    Netbooks

    Gotta run. BBL
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  15. #15
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Hi Randy,

    I guess I got here too late to offer any advice, but since I see you're also in Rochester, I figured I'd say "hi." I've never been much of a chess player, but I drive by the Rochester Chess Center building on Norris Drive quite often.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

Bookmarks

Posting Permissions

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