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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-21-2003, 06:07 PM   #1
The Click
Confirmed User
 
Join Date: Apr 2003
Location: Canada
Posts: 1,685
Post a sample of a .htaccess 401, 403 & 404

Need a nice clean working sample of this. Can anyone help? I don't like using the servers customizer no more.
__________________


ICQ: 31-30-30
The Click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:14 PM   #2
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
here - don't say I never did anything for you
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:17 PM   #3
The Click
Confirmed User
 
Join Date: Apr 2003
Location: Canada
Posts: 1,685
hey thanks man.
__________________


ICQ: 31-30-30
The Click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:17 PM   #4
MuleScrote
Confirmed User
 
Join Date: Dec 2002
Posts: 4,601
Quote:
Originally posted by baddog
here - don't say I never did anything for you
sweet
__________________
ICQ 78681003
MuleScrote is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:24 PM   #5
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
Quote:
Originally posted by baddog
here - don't say I never did anything for you
Hmm, that example isn't 100% correct. You have to specify a local document for 401 redirects, you cannot redirect to a full URI.

So:
ErrorDocument 401 /401.html

instead of:
ErrorDocument 401 http://somesite/401.html
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:40 PM   #6
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Quote:
Originally posted by vending_machine


Hmm, that example isn't 100% correct. You have to specify a local document for 401 redirects, you cannot redirect to a full URI.

So:
ErrorDocument 401 /401.html

instead of:
ErrorDocument 401 http://somesite/401.html
I am not the pro, but I will have that looked into. You are the first one to point that out as an error, and since I am not qualified to dispute it, I will let the experts make that determination.
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:42 PM   #7
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally posted by baddog


I am not the pro, but I will have that looked into. You are the first one to point that out as an error, and since I am not qualified to dispute it, I will let the experts make that determination.
he is right it has to point locally
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:43 PM   #8
Fletch XXX
GFY HALL OF FAME DAMMIT!!!
 
Fletch XXX's Avatar
 
Join Date: Jan 2002
Location: that 504
Posts: 60,840
Quote:
Originally posted by juicylinks


he is right it has to point locally
yep.
__________________

Want an Android App for your tube, membership, or free site?

Need banners or promo material? Hit us up (ICQ Fletch: 148841377) or email me fletchxxx at gmail.com - recent work - About me
Fletch XXX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 06:59 PM   #9
goodgirl
Confirmed User
 
goodgirl's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Behind the monitor since 1988
Posts: 1,679
My mess up. I will fix that now. Thanks for pointing it out
__________________
Got Web Host providing Website Hosting since 2002.
goodgirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 07:02 PM   #10
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Quote:
Originally posted by goodgirl
My mess up. I will fix that now. Thanks for pointing it out
See, I go to the pros when they know something I don't. Problem fixed The Click
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 07:03 PM   #11
The Click
Confirmed User
 
Join Date: Apr 2003
Location: Canada
Posts: 1,685
Quote:
Originally posted by baddog


See, I go to the pros when they know something I don't. Problem fixed The Click

sweet ass. i did not think you could redirct 404 to another URL other than your own...unless using a meta refresh
__________________


ICQ: 31-30-30
The Click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 07:05 PM   #12
jact
Confirmed User
 
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
Quote:
Originally posted by baddog
here - don't say I never did anything for you
Interesting, yet slightly incorrect.

The [NC] denotes that you're telling it No Case.. So you don't need all those fancy capitilizations.

But anyhow....
__________________
Free agent
jact is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 07:10 PM   #13
The Click
Confirmed User
 
Join Date: Apr 2003
Location: Canada
Posts: 1,685
you know what, FUCK IT~! I aint using it.
__________________


ICQ: 31-30-30
The Click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 07:28 PM   #14
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,676
CPanel takes care of all that in one click ... lol
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:48 PM   #15
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Quote:
Originally posted by jact


Interesting, yet slightly incorrect.

The [NC] denotes that you're telling it No Case.. So you don't need all those fancy capitilizations.

But anyhow....
again, I am no pro, but every .htaccess file I ever saw had [NC] - maybe it is because our servers are case sensitive?
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:51 PM   #16
jact
Confirmed User
 
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
Quote:
Originally posted by baddog


again, I am no pro, but every .htaccess file I ever saw had [NC] - maybe it is because our servers are case sensitive?
Wait, I didn't read it close enough, you have AnyAVSSystem, AnyAVSSystem2 nevermind my post. [NC] is important yes, that's what my point was.
__________________
Free agent
jact is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:55 PM   #17
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Quote:
Originally posted by jact


Wait, I didn't read it close enough, you have AnyAVSSystem, AnyAVSSystem2 nevermind my post. [NC] is important yes, that's what my point was.
I know, it was just a test.
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.