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 03-06-2005, 07:47 PM   #1
camcutie
Confirmed User
 
Join Date: Oct 2004
Location: USA
Posts: 817
404 Document Not Found Question

We would like to start taking advantage of our "404 Document Not Found" & "Authorization Required" hits with an ad page. Does anyone know how to do this. Is it a script or something that has to be loaded on the server end? Any help would be much appreciated....

XOXOXO
*Krystal*
__________________

Please Visit My Website CamCutie.com

ICQ 203-628-284
camcutie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 07:50 PM   #2
Tony Montana
Confirmed User
 
Join Date: Jan 2005
Posts: 794
htaccess
__________________
I am a marketing Genius.
Tony Montana is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 07:50 PM   #3
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
Make a .htaccess page with the following info:

ErrorDocument 400 http://www.site.com
ErrorDocument 401 http://www.site.com
ErrorDocument 403 http://www.site.com
ErrorDocument 404 http://www.site.com
ErrorDocument 500 http://www.site.com
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 07:50 PM   #4
Tony Montana
Confirmed User
 
Join Date: Jan 2005
Posts: 794
Here we go!

The following is an example use of the .htaccess ErrorDocument file to send '404' Page Not Found Errors to your own custom error page.

You will see that it is so simple that it's almost silly...

Simply make a text file in NOTEPAD (for a Windows based system) with the following:

ErrorDocument 404 http://www.yourdomain.com/your-404-page.html




Then save the file as ' .htaccess '

Then FTP it to your root web sites directory (the directory that the FTP puts you in when you first log-in).

Thats it !
__________________
I am a marketing Genius.
Tony Montana is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 07:51 PM   #5
Michael O
More Cowbell
 
Industry Role:
Join Date: Jul 2001
Location: Nakhom Nowhere
Posts: 10,607
Do a search for htaccess or take a look here : http://www.cleos-free-porn-links.com...aster-help.php
Its made by Cleo and It has a lot of handy tools
__________________
Truth Teller
Michael O is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 07:51 PM   #6
VIPimp
Marina WILL have my babies!
 
Industry Role:
Join Date: May 2003
Posts: 9,234
*** TIP - copy and paste the following in your .htaccess file to send all your error traffic to your hosted trap:

ErrorDocument 400 http://www.epicgals.com/epic404/?
ErrorDocument 401 http://www.epicgals.com/epic404/?
ErrorDocument 403 http://www.epicgals.com/epic404/?
ErrorDocument 404 http://www.epicgals.com/epic404/?
ErrorDocument 500 http://www.epicgals.com/epic404/?

What each error/line means:
400 - Bad request
401 - Authorization Required
403 - Forbidden
404 - Wrong page
500 - Internal Server Error





Replace the url to whatever you want it to go to.
VIPimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 07:53 PM   #7
DateDoc
Outside looking in.
 
DateDoc's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
Quote:
Originally Posted by camcutie
We would like to start taking advantage of our "404 Document Not Found" & "Authorization Required" hits with an ad page. Does anyone know how to do this. Is it a script or something that has to be loaded on the server end? Any help would be much appreciated....
Just put up a sponsor page. TripleXcash has them premade for you. Check mine out by clicking this broken link: www.booty411.com/mian.shtml
__________________
DateDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 08:10 PM   #8
camcutie
Confirmed User
 
Join Date: Oct 2004
Location: USA
Posts: 817
Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.

So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day.

XOXOXO
*Krystal*
__________________

Please Visit My Website CamCutie.com

ICQ 203-628-284
camcutie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 08:12 PM   #9
camcutie
Confirmed User
 
Join Date: Oct 2004
Location: USA
Posts: 817
Quote:
Originally Posted by Tony Montana
Here we go!

The following is an example use of the .htaccess ErrorDocument file to send '404' Page Not Found Errors to your own custom error page.

You will see that it is so simple that it's almost silly...

Simply make a text file in NOTEPAD (for a Windows based system) with the following:

ErrorDocument 404 http://www.yourdomain.com/your-404-page.html




Then save the file as ' .htaccess '

Then FTP it to your root web sites directory (the directory that the FTP puts you in when you first log-in).

Thats it !
Thanks as always Tony.....I hope it is that simple.

XOXOXO
*Krystal*
__________________

Please Visit My Website CamCutie.com

ICQ 203-628-284
camcutie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 09:52 PM   #10
PrivateIvy
Confirmed User
 
Industry Role:
Join Date: Oct 2003
Location: North Carolina
Posts: 4,257
Quote:
Originally Posted by camcutie
Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.

So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day.

XOXOXO
*Krystal*
check here for htaccess help..not sure what you mean by a specific 404 tutorial:

http://clockwatchers.com/htaccess_tool.html

http://htaccess.awstuff.com/

http://www.freewebmasterhelp.com/tutorials/htaccess/

and of course Google can give you tons more

Ivy
PrivateIvy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 09:59 PM   #11
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
Quote:
Originally Posted by camcutie
Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.

So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day.

XOXOXO
*Krystal*
Check your stats and raw server logs - with that many, it's likely full of favicon.ico or maybe some bad code somewhere - like a spacer.gif not being found or some other hard to notice file missing.

If it's true 404, you're missing out on a bunch of eyeballs, even figuring in the percentage that manipulate the URL looking for free shit..

BTW - there's no .htaccess for windows systems (as someone mentioned above). In windows, you need to set up a 404 redirect in the Internet Services console. Simple to do - just not as quick and easy as .htaccess.

Another great site for error doc stuff, and everything else about .htaccess: http://www.javascriptkit.com/howto/htaccess2.shtml
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2005, 10:39 PM   #12
camcutie
Confirmed User
 
Join Date: Oct 2004
Location: USA
Posts: 817
Thank you PrivateIvy and Fusionx.......I appreciate the additional info. I will let you guys know how it all turns out and if we get it working. As of now I think I hear Joe mumbling something about writing our tech guy at the host with all the info I'm gathering here at GFY.

XOXOXO
*Krystal*
__________________

Please Visit My Website CamCutie.com

ICQ 203-628-284
camcutie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 12:58 PM   #13
camcutie
Confirmed User
 
Join Date: Oct 2004
Location: USA
Posts: 817
Thanks for all the help guys.......finally got my 404 page up.

Click this non existent page and it should take you there http://www.camcutie.com/nopage.htm

Let me know if that is a good page to keep up please.

XOXOXO
*Krystal*
__________________

Please Visit My Website CamCutie.com

ICQ 203-628-284
camcutie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 01:08 PM   #14
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
heh ... ok here's were a server admin steps in:

ErrorDocument should only be used if your sending the bad hit back to your own server and then you use the path to the file.

Example:

ErrorDocument 404 /home/userid/domain.coc/htdocs/index.html

If you are sending the bad hit off your server to another server then you need to use ReDirect.

Example:

Redirect 404 http://someothersite.com


By using ErrorDocument 404 http://somesite.com you are creating a load on the machine. If you have enough power in your server you may not notice this but your apache error logs will suffer.

Peace,

JFPDude
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 01:32 PM   #15
camcutie
Confirmed User
 
Join Date: Oct 2004
Location: USA
Posts: 817
Thnaks JFPDude.......

XOXOXO
*Krystal*
__________________

Please Visit My Website CamCutie.com

ICQ 203-628-284
camcutie 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.