![]() |
![]() |
![]() |
||||
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 |
Registered User
Join Date: Mar 2003
Posts: 13
|
htaccess and SSI
I'm trying to add the below 404 code to my htaccess file so that if someone types a url that doesn't exist, they get redirected to a cgi script.
As an example, if someone types in http://www.someurl.com/beta/jdhdghsu.htm and that page didn't exist, they would go to http://www.someurl.com/beta/page.cgi?jdhdghsu.htm I'm not having a lot of luck in getting it to work and was hoping someone could assist. ErrorDocument 404 <!--# include virtual="http://www.someurl.com/beta/page.cgi?&&HTTP_REFERER&&"--> Thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: Mar 2003
Posts: 13
|
Message got cut off:
I'm trying to add the below 404 code to my htaccess file so that if someone types a url that doesn't exist, they get redirected to a cgi script. As an example, if someone types in http://www.someurl.com/beta/jdhdghsu.htm and that page didn't exist, they would go to http://www.someurl.com/beta/page.cgi?jdhdghsu.htm I'm not having a lot of luck in getting it to work and was hoping someone could assist. ErrorDocument 404 include virtual="http://www.someurl.com/beta/page.cgi?&&HTTP_REFERER&&"--> Thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: May 2003
Posts: 1,792
|
http://www.gofuckyourself.com/showth...hreadid=178182
read that and what does SSI have to do with all this?
__________________
ICQ: 282814268 |
![]() |
![]() ![]() ![]() ![]() ![]() |