Solved

SSI Redirect in Error 404 Page

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intranet Solution - Sharepoint Foundation or up 4 60
IPA - can it be run on a web server? 3 142
ip / url redirect 13 68
Help with a redirect in web.config file 8 25
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 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

16 Experts available now in Live!

Get 1:1 Help Now