GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Post a sample of a .htaccess 401, 403 & 404 (https://gfy.com/showthread.php?t=145674)

The Click 06-21-2003 06:07 PM

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.

baddog 06-21-2003 06:14 PM

here - don't say I never did anything for you

The Click 06-21-2003 06:17 PM

hey thanks man.:thumbsup

MuleScrote 06-21-2003 06:17 PM

Quote:

Originally posted by baddog
here - don't say I never did anything for you
sweet :thumbsup

vending_machine 06-21-2003 06:24 PM

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

baddog 06-21-2003 06:40 PM

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.

Juicy D. Links 06-21-2003 06:42 PM

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

Fletch XXX 06-21-2003 06:43 PM

Quote:

Originally posted by juicylinks


he is right it has to point locally

yep.

goodgirl 06-21-2003 06:59 PM

My mess up. I will fix that now. Thanks for pointing it out :)

baddog 06-21-2003 07:02 PM

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

The Click 06-21-2003 07:03 PM

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

jact 06-21-2003 07:05 PM

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....

The Click 06-21-2003 07:10 PM

you know what, FUCK IT~! I aint using it.:321GFY

directfiesta 06-21-2003 07:28 PM

CPanel takes care of all that in one click ... lol

baddog 06-21-2003 08:48 PM

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?

jact 06-21-2003 08:51 PM

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.

baddog 06-21-2003 08:55 PM

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.


All times are GMT -7. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123