.htaccess question - X Nations
      
      
Go Back   X Nations > X Nations > General Webmaster Business and Discussions

Reply
 
Thread Tools Display Modes
Old 04-25-2003, 06:32 PM   #1
Easton
Easton is a content producer
Royal Vault
 
Easton's Avatar
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 653
xBucks: 8,175
Send a message via ICQ to Easton
Default .htaccess question

this is not my strong point... i have written my file, but dunno where i am supposed to upload it to (ie. directory)

i also heard i have to upload is as binary file or something

here is what i have written so far:

ErrorDocument 302 /girls.htm
ErrorDocument 401 /girls.htm
ErrorDocument 403 /girls.htm
ErrorDocument 404 /girls.htm
ErrorDocument 408 /girls.htm
ErrorDocument 500 /girls.htm
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://slinkylinks.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.slinkylinks.com [NC]
RewriteCond %{HTTP_REFERER} !^http://216.127.70.136 [NC]
RewriteRule .\. (wav|mp3|mp2|rm|ra|ram|au|aiff|wma|mov|zip|mpg|mpe
g|avi|jpg|gif)$ - [F,


thanks in advance for any help you can offer...
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Reply With Quote
Old 04-25-2003, 07:00 PM   #2
Yo Adrian
Yo Adrian should edit this
ICQ 316754
 
Yo Adrian's Avatar
 
Join Date: Jan 2003
Location: Radical Cash Ranch
Posts: 166
xBucks: 5,030
Send a message via ICQ to Yo Adrian Send a message via AIM to Yo Adrian Send a message via MSN to Yo Adrian Send a message via Yahoo to Yo Adrian
Default

You wanna upload it to your root directory......in ASCII mode
__________________

SlickFeeds.com
$0.99 Cent Flash Feeds! ICQ: 316754
Yo Adrian is offline   Reply With Quote
Old 04-25-2003, 07:19 PM   #3
Pidgin
Pidgin should edit this
Senior Member
 
Pidgin's Avatar
 
Join Date: Dec 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 450
xBucks: 13,426
Default

The last line with the "RewriteRule" is illegal and incomplete.
Coming to think of it- I don't understand that .htaccess code at all.
What are you trying to do there?

Anyway Easton, what did you do to Slim?
Pidgin is offline   Reply With Quote
Old 04-25-2003, 08:31 PM   #4
Easton
Easton is a content producer
Royal Vault
 
Easton's Avatar
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 653
xBucks: 8,175
Send a message via ICQ to Easton
Default

it could very well be that my code is flawed... i know shit about .htaccess

hmmm.... i think i should give up
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Reply With Quote
Old 04-25-2003, 08:48 PM   #5
Easton
Easton is a content producer
Royal Vault
 
Easton's Avatar
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 653
xBucks: 8,175
Send a message via ICQ to Easton
Default

ok, here is my last attempt... is this any better?

ErrorDocument 302 http://www.slinkylinks.com/girls.htm
ErrorDocument 401 http://www.slinkylinks.com/girls.htm
ErrorDocument 403 http://www.slinkylinks.com/girls.htm
ErrorDocument 404 http://www.slinkylinks.com/girls.htm
ErrorDocument 408 http://www.slinkylinks.com/girls.htm
ErrorDocument 500 http://www.slinkylinks.com/girls.htm
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://slinkylinks.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.slinkylinks.com [NC]
RewriteCond %{HTTP_REFERER} !^http://216.127.70.136 [NC]
RewriteRule .\.(wav|mp3|mp2|rm|ra|ram|au|aiff|wma|mov|zip|mpg| mpeg|avi|jpg|gif)$ - [F,L]

now where do i upload it to? and does this have to be an html page or a text page? how do i upload in ASCII? man i am so screwed... *sigh*
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Reply With Quote
Old 04-25-2003, 09:30 PM   #6
Pidgin
Pidgin should edit this
Senior Member
 
Pidgin's Avatar
 
Join Date: Dec 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 450
xBucks: 13,426
Default

RewriteRule .\.(wav|mp3|mp2|rm|ra|ram|au|aiff|wma|mov|zip|mpg| mpe
g|avi|jpg|gif)$ - [F,L]

and not

RewriteRule .\. (wav|mp3|mp2|rm|ra|ram|au|aiff|wma|mov|zip|mpg|mpe
g|avi|jpg|gif)$ - [F,L]

You had a space between the .\. and the (wav...

If you delete that space you should be ok

You should upload it to where the index page of your site is located.
Also - its not a text file or an html file.
The file MUST be called ".htaccess"
That is a file with NO name and of an extention of "htaccess".
ok?

(to be geekly accurate - this is a hidden [that is that a dot in the beginning of the filename means] file named htaccess
If you have problems uploading it, just upload it with a name of htaccess.txt and rename it to ".htaccess" or remane it to "htaccess" and make it hidden.
Pidgin is offline   Reply With Quote
Old 04-25-2003, 09:41 PM   #7
Easton
Easton is a content producer
Royal Vault
 
Easton's Avatar
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 653
xBucks: 8,175
Send a message via ICQ to Easton
Default

thank you very much Ron, i will try it tomorrow

i just got a booty call from a friend who broke up with her boyfriend, so i have to "be there for her" right now... lucky me
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Reply With Quote
Old 04-26-2003, 11:34 AM   #8
Mister X
Mister X should edit this
FunB Fan Club Prez
 
Mister X's Avatar
 
Join Date: Aug 2002
Location: Montreal baby!
Posts: 1,997
xBucks: 10,463
Send a message via ICQ to Mister X
Default

Quote:
Originally posted by Easton
thank you very much Ron, i will try it tomorrow

i just got a booty call from a friend who broke up with her boyfriend, so i have to "be there for her" right now... lucky me
Hahaha. Slut!

Most ftp programs will send it as ascii or binary automatically based on the extension. If not there are probably 2 buttons in the program... upload ascii and upload binary.
__________________
<table width="95%" border="0"><tr><td><font size="-2"><a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=923906-0000&PA=462029&HTML=http://www.eromodelcash.com">Eromodel Cash. Promote it now!</a></font></td><td><div align="right"><font size="-2"><a href="http://www.eromodelgroup.com">Eromodel Group- for ALL your needs </a></font></div></td><td width="125" rowspan="3"><div align="right"><a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=923906-0000&PA=462029&HTML=http://www.eromodelcash.com"><img src="http://www.eromodelcash.com/Banner/00102.gif" width="120" height="60" border="0"></a></div></td></tr><tr><td width="40%"><font size="-2"><a href="http://www.lannibarbie.com">Lanny Barbie is THE Hottest New Pornstar</a></font></td><td><div align="right"><font size="-2"><a href="mailto:stewREMOVE@eromodelgroup.com?Subject= Hi%20There">Contact Me</a></font></div></td></tr><tr><td><a href="http://www.judystarxxx.com"><font size="-2">JudyStarXXX.com</font></a></td><td><div align="right"><font size="-2">ICQ #165144564</font></div></td></tr></table>
Mister X is offline   Reply With Quote
Old 04-27-2003, 11:59 AM   #9
Easton
Easton is a content producer
Royal Vault
 
Easton's Avatar
 
Join Date: Dec 2002
Location: Phoenix, AZ
Posts: 653
xBucks: 8,175
Send a message via ICQ to Easton
Default

thank you
__________________
New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
Easton is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
2013 - xnations.com
All times are GMT -4. The time now is 02:14 AM.
Skin by vBCore.com