Solved

SSI Redirect in Error 404 Page

Posted on 2006-11-14
3
361 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Domino Load Balancer For 2048 Key Requirement 7 41
Running Guacamole on port 80 5 214
IIS url rewrite rule for web application 3 60
Domino Website - Redirection 12 76
This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

810 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