Solved

SSI Redirect in Error 404 Page

Posted on 2006-11-14
3
352 Views
Last Modified: 2010-08-05
Is this correct?  I get error? My Plesk is set for SSI


THIS IS THE ERROR IN THE URL I GET:

http://www.mydomain.com/php/find.pl?id=<!--#echo%20var=

HERE IS THE CODE

<html>
<head>
<title>Connecting to Database...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mydomain.com/php/find.pl?id=<!--#echo var="REDIRECT_URL" -->">
</head>

<body>
0
Comment
Question by:precision
  • 3
3 Comments
 
LVL 18

Expert Comment

by:Sam Panwar
ID: 17943628
Hi,

you are getting friendly error so please give us the exact error and if you want to get extual error then please change the following setting in your Internet explorer.

go to IE's Tools/Internet Options menu, and on the advanced tab, uncheck "Show friendly HTTP error messages."

see the following URL

http://classicasp.aspfaq.com/general/why-do-i-get-a-500-internal-server-error-for-all-asp-errors.html

Then  you get actuall error and update us with the that error to resolve problem.
0
 
LVL 18

Expert Comment

by:Sam Panwar
ID: 17943648
Hi,

Please also check the following script to redirect the URL

<?php
header("location:http://www.seocompany.ca/index.html");
exit;
?>
0
 
LVL 18

Accepted Solution

by:
Sam Panwar earned 500 total points
ID: 17943663
Hi,

Please check your correct php script
<html>
<head>
<title>Connecting to Database...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mydomain.com/php/find.pl?id=<!--#echo var="REDIRECT_URL" -->
</head>

<body>

I have checked and found that above script is running fine.

0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now