Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Sep 2002
    Posts
    4
    Member #
    204
    hey all...i hope somebody out there can help me here. i'm new to html and web design so you'll probably see more of me here, lol. i have a home page that i host on one of my old computers and i would like to have some pages password protected. now knowing my virgin knowledge of html, what would be the best way to accomplish this..please be gentle,lmao.

    thanx

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    If you host it yourself and you use Apache, you can use .htaccess files. Here's a tutorial: http://faq.clever.net/htaccess.htm
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Junior Member
    Join Date
    Sep 2002
    Posts
    4
    Member #
    204
    thanx for the link filburt...lol, looks like it may be way over my head but i will give it a shot once i get back from vacation.

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Just reply if you need any help
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    Junior Member
    Join Date
    Sep 2002
    Posts
    4
    Member #
    204
    filburt...you said to reply for help....HELP.lol..like i said earlier, i know basically nothing about html and such. i host a basic home page built with a wysiwyg (Adobe PageMill & DW4). i read tutorial several times, lol, was latin.should i just forget about it till i learn more? tnx for all your help

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    You can try this, something I wrote a few days ago: http://www.turtletips.com/htaccess/generator.php
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    Junior Member
    Join Date
    Sep 2002
    Posts
    4
    Member #
    204
    bummer..IE 5.5 required? i'm working on a mac, 5.5 not available for mac. it's 5.1...any alternatives? was looking at some java applets...but they seem outdated, not to mention even more confusing.

  9. #8
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I'm on a Mac too

    Java applets is definitely not wise; they're very easy to hack past.

    Since you say you're using a Mac I'll assume that it's running the web server too. Here's how to do the .htaccess stuff, provided you have Apache up and running and all that.

    1. Open Terminal
    2. Change to the directory you want to put your stuff in (I believe it's ~/Sites, so type cd ~/Sites)
    3. Type htpasswd -c .htpasswd username, then when prompted enter in a password and confirm it.
    4. Type pico .htaccess and press Enter
    5. Type the following:
    Code:
    AuthUserFile /Users/your short username in OS X/Sites/.htpasswd
    AuthName "Please Enter a Password"
    AuthType Basic
    
    <Limit GET POST>
    requre user username you entered for htpasswd
    </Limit>
    6. Press Ctrl-X (not Cmd-X), Y, then Enter.

    ...and theoretically the ~/Sites directory is now password-protected.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:15 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com