Solved

SSI Redirect in Error 404 Page

Posted on 2006-11-14
3
367 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
What You Need to Know when Searching for a Webhost Provider
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

630 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