![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
members .htaccess question easy $10 4 u techs
I'm sure this has been a topic before but really need a straight and easy answer about my members section authentication problem.
If you login to my member section: www.mydomain.com/members Then try and download movies from this folder: www.mydomain.com/members or www.mydomain.com/members/girlie1/ or any damn folder within the members section the server asks for the members username and password EVERY TIME it's a real pain in the ass. I have tried different things I have had help from other techs but I can't get a plain English answer. I can paypal $10 to the first person that can explain this to me so I can understand it and fix the problem - you can ICQ me or post your answer to my problem here. Thanks for your time. CLICK
__________________
![]() ICQ: 31-30-30 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
old school fart
Industry Role:
Join Date: May 2001
Location: Florida
Posts: 1,015
|
It looks like yer actually going to mydomain.com/members and then calling the files as www.mydomain.com/members/*
apache sees mydomain.com and www.mydomain.com as 2 seperate entities. And this wasnt worth $10 so give it to charity :P
__________________
The next generation of SEO |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
then I tried mydomain/members/video.mpg same shit, after i entered my login info to get into the members section it still asked me again for username and password before i viewed any videos.
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Post the contents of your .htaccess file here and I'll fix it for ya.
DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
post the contents of your htaccess file...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
Quote:
Owe me a toke. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
can ya ICQ me ya gotta work me though it.
__________________
![]() ICQ: 31-30-30 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
![]() DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
This sounds like that microsoft bug with media player....try embedding the clips in a webpage, bet they play. My mpegs don't play, but when I embed them in a webpage, they play great.
.wmv files should work too, embedded or not.
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
AuthUserFile /home/clicker/public_html/cgi-bin/pass/.htpasswd
AuthName "Members Only" AuthType Basic Require valid-user
__________________
![]() ICQ: 31-30-30 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
path and filename of your db file with nonsense. DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
rrrr sounds like a lotta work, i know there is a way around this by fukin with the .htaccess file or something
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
of the webserver. It's quite easy to retrieve the file when it's accessible for browsers if it's only an issue for movies p00p just answerred that for you. You owe him 10 bucks now ![]() DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
oh ya is this the htaccess file that you are talking about?
Editing/home/clicker/www/members/.htaccess AuthUserFile /home/clicker/public_html/cgi-bin/pass/.htpasswd AuthName "Members Only" AuthType Basic Require valid-user
__________________
![]() ICQ: 31-30-30 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
It's an issue to access folders where pictures are within the members section too, so i guess it's not just movies. I would gladly give p00p $10 if i could help me figure out what the problem is.
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
Im I makin any sense here?
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
MFBA
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
|
apache.org has tons of usful information, i think you need to change a setting in your httpd.conf, but i could be wrong.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
"NOPE that not it. I tried www.mydomain/members/video.mpg " Are they .wmv or .mpg? Either way, try - to - embed - the - clip so it loads off an .html page, not directly from a directory.
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
So Fucking Banned
Join Date: Oct 2002
Location: chandler, az
Posts: 1,052
|
which processor are you using? im pretty sure epoch has as .htaaccess file ... or you could try using a cookie? or using http://members.domain.com/ and setting a cookie.. then you won't have to worry about if they have http://domain.com or http://www.domain.com
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
Quote:
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
So Fucking Banned
Join Date: Oct 2002
Location: chandler, az
Posts: 1,052
|
Quote:
http://movie_user_name:movie_pass_wo.../yourmovie.wmv would work.. that's my only idea... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
So Fucking Banned
Join Date: Oct 2002
Location: chandler, az
Posts: 1,052
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
I GIVE UP!
embed src would solve your problems, assuming it was the username/password box always popping up when directly downloading a video. BUT IT FALLS ON DEAF EARS! ![]()
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
I think its all in my dir structure or adding a line in my .htaccess I have no clue buts it's pissin me off, and my members. I need some help!
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
![]()
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 |
Registered User
Join Date: Aug 2002
Posts: 37
|
And how you will do that!
What is the html code for embed clips? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
woe, that fucked up this thread.
__________________
![]() ICQ: 31-30-30 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#35 |
Worker Bee
Join Date: Apr 2003
Posts: 90
|
The problem is most likely to reside inside the apache configuration file itself.
It sounds alot like a virtualhost setup incorrectly. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#36 |
Confirmed User
Join Date: Aug 2001
Location: New Orleans
Posts: 1,680
|
See the answer to the question Why does it sometimes ask me for my password twice? at http://httpd.apache.org/docs/howto/auth.html#basicfaq for why the server may be at fault. Also, check that this happens for other people, your browser could be misbehaving.
__________________
<CENTER><A HREF="http://www.hot-off-bourbon.com/" target="_blank"><IMG SRC="http://www.hot-off-bourbon.com/images/hob-logosmall.jpg" border="0"></A> <FONT face="Comic Sans MS" SIZE="-1"><I>Mardi Gras, Spring Break, Wet-T, Night Club Action, UpSkirt, Oil Wrestling, Voyeur</I></FONT></CENTER> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#37 | |
Confirmed User
Join Date: Apr 2002
Location: Club Drunk
Posts: 2,734
|
Quote:
They are prolly using refferer protection not password on the videos.
__________________
SIGS ARE GAY 98055668 icq |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#38 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: Texas
Posts: 856
|
I have had this issue... since I lease a members area out to paysites...
Its quite simple... If a surfer access the members area via " http://www.domain.com/members/ " Then all of the content inside MUST be linked via " http://www.domain.com/members/* ". If a surfer access the inside via link "/members" then it has to be " /members/whatever " Otherwise, if a surfer visits via " http://www.whatever.com/members " then the stuff inside is linked from the members main page as " /teen/gallery1/index.php " it will ask twice, but not again unless another link it " http://www.whatever.com/teen/gallery2/index.php " GoodLuck, ICQ me if you need further detail. I have gone thru this before. Sometimes there are issues with movies... though, that cannot be fixed. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#39 |
wtf
Industry Role:
Join Date: Sep 2001
Location: Bikini State, FL USA
Posts: 10,914
|
Poop is correct.
When WMP opens a movie inside a protected directory your server wants to reauthenticate it like a new browser session. This all started back with WMP7 if my memory serves me correct. The only way around this is to not place your movies in an htpassword protected directory and use a special script to keep people from hotlinking them. OR embedding them in an html page as Poop stated should work as well if you want to go that route. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#40 |
Registered User
Join Date: Aug 2002
Location: Seattle
Posts: 43
|
The answer is:
The username/password is cached by the browser so the member doesnt have to type it in again for each authenticated request...when you click on a file type that uses a non-inline viewer, like windows media viewer, the username and password are asked for again cause the seperate viewer has no knowledge of the username and password. You can get around this by encoding the username and password in the link on a php page... username::password@www.mydomain.com/members/some.mpg This however will not work with mpeg4's and there is no workaround as of yet for mpeg4's. You can thank microsoft for not thinking of this and making it anoying to the members. Chris
__________________
Available for contract programming work. C, C++, JAVA, Perl, PHP, Delphi, MySql, Oracle. [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#41 | |
Registered User
Join Date: Aug 2002
Location: Seattle
Posts: 43
|
Quote:
RewriteEngine on RewriteCond %{THE_REQUEST} ^.*htaccess.*$ [OR] RewriteCond %{THE_REQUEST} ^.*htpass.*$ RewriteRule .* http://www.mydomain.com/members [R,L] OR <Files ~ "^.*\.ht.*"> Order allow,deny Deny from all </Files> Then no one can view your htpasswd or htaccess file. Chris
__________________
Available for contract programming work. C, C++, JAVA, Perl, PHP, Delphi, MySql, Oracle. [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#42 |
Confirmed User
Join Date: Dec 2002
Location: CanaDUH
Posts: 5,125
|
OR!!!!!!!!!
Embed your media files. you all suck ass.
__________________
ICQ: 316365783 <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#43 |
So Fucking Banned
Join Date: Oct 2002
Location: chandler, az
Posts: 1,052
|
could make a simple script to embed the movies... /movie.asp?url=urlof the movie
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#44 | |
Registered User
Join Date: Aug 2002
Location: Seattle
Posts: 43
|
Quote:
![]()
__________________
Available for contract programming work. C, C++, JAVA, Perl, PHP, Delphi, MySql, Oracle. [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#45 |
Confirmed User
Join Date: Aug 2001
Location: An Oasis atop a High Desert Mesa
Posts: 386
|
Here's a one-time-only freebie from venturi:
The reason you are having problems is that when WinAmp or RealPlayer or WinblozeMediaPlayer fires up and tries to access the movie clip it looks like a type-in (i.e. there is no refering URL), so your .htaccess file 'thinks' it's a hotlinker and blocks the program from accessing the file. The following snippets of code are all you need to grant access to your clips while still blocking hotlinkers/cheaters/etc. .htaccess file: RewriteEngine on RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) RewriteRule .*$ http://www.yourdomain.com/cheaters.html js to set the cookie: <script> document . cookie = "id=valid; path=/" </script> Instructions: 1) Add the js to the <head> section of the document containing the links to your videos. (Note: remove the spaces in 'document . cookie' ) 2) Modify the .htaccess code above to reflect your proper domain and page to redirect hotlinkers and place it into your directory/folder containing the videos you want protected. 3) Upload the files. 4) HUGE PROFITS! p.s. - you can donate the $10 to your favorite charity (even if that happens to be me ![]()
__________________
I'm not a porn monger. I'm a porn ... STYLIST! Buildit Cheap, build it Fast, Build it Right. - Pick Two. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#46 | |
Confirmed User
Join Date: Apr 2003
Location: Canada
Posts: 1,685
|
Quote:
![]() ![]()
__________________
![]() ICQ: 31-30-30 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |