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)
-   -   htaccess and SSI (https://gfy.com/showthread.php?t=181141)

version4 09-30-2003 05:14 PM

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

version4 09-30-2003 05:20 PM

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

sweet7 09-30-2003 05:28 PM

http://www.gofuckyourself.com/showth...hreadid=178182

read that and what does SSI have to do with all this?


All times are GMT -7. The time now is 01:08 AM.

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