![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
can someone help me password protect pages
I'm trying to password protect some pages..
I'd like to be able to protect certain pages, but don't know how to do this. I know how to protect a directory, like /members/ but what about just single pages in the root. Can it be done,, I can't just move the pages into a directory because then the scripts to run the site won't work unless I recode the entire thing,,, for example, I know how to password protect domain.com/members/ but what I want to do is password protect domain.com/members.html without password protecting domain.com I hope this is understandable |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
|
icq me
just need to redirect members.html to /members/ you can't just password protect one file |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Dec 2005
Location: Swedän
Posts: 2,947
|
Wrong posting... ehm
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2006
Posts: 3,663
|
htaccess
![]()
__________________
sig for sale - pornpicz(at)gmail.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
hitting you up now,, |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Aug 2001
Posts: 973
|
I can tell you exactly what to do, but first you must update us on the "love of my life" drama. Haha just kidding bro
![]() Actually I don't really know how to do it, I'm sure someone here will hook you up though, good luck. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jul 2004
Location: New York ICQ#348007554
Posts: 4,212
|
----------------
To password protect just a single file in a folder, use the following .htaccess file: AuthUserFile /full/path/to/.htpasswd AuthType Basic AuthName "My Secret Page" <Files "mypage.html"> Require valid-user </Files> This will password protect just the mypage.html file in the folder where you put the .htaccess file. ----------- |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
thanks Ray.
I tried something similar found on Dynamic Drive But it does not look like it is working? It did for a second & I logged in, now I don't get the prompt anymore.. must because I have cookie maybe http://www.77k.org/testing.htm is anyone getting the password prompts? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Quote:
Yep... ![]()
__________________
MacDaddy Coder. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
thanks Boldy what about without the www http://77k.org/testing.htm |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Quote:
![]()
__________________
MacDaddy Coder. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
thanks, ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |