|
|
|
||||
|
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 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
Htaccess question
|
|
|
|
|
|
#2 |
|
I'm Lenny2 Bitch
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
|
I would think you could add the "js" extension to the file you already have protecting your jpegs.
If you don't already have one, do a search on google for htaccess, there's plenty of good resources out there
__________________
sig too big |
|
|
|
|
|
#3 | |
|
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Quote:
(I am assuming you want to make it impossible for surfers to get the .js file)
__________________
/(bb|[^b]{2})/ |
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: North Coast
Posts: 592
|
lenny2 is onthe right track, I would try referer protecting the .js file. It would be easier if the .js file were in it's own directory.
You might want to check your logs to see how the .js is called and what the referer is . . . |
|
|
|
|
|
#5 |
|
♥ ♦ ♣ ♠
Industry Role:
Join Date: Sep 2002
Posts: 10,592
|
COMMAND PROMPT:
FTP gggg.com USERNAME: XXXXXXX PASSWORD: XXXXXXXX cd www_root ren juicy.js reallyjuicy.js -----------DONE-------------
__________________
![]() "I'm selflessly supporting the common good, but only coincidentally looking out for No.1." |
|
|
|
|
|
#6 |
|
♥ ♦ ♣ ♠
Industry Role:
Join Date: Sep 2002
Posts: 10,592
|
You can also put it in a different directory, and protect that directory with htaccess.
__________________
![]() "I'm selflessly supporting the common good, but only coincidentally looking out for No.1." |
|
|
|