![]() |
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 |
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 |
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