Solved

SSI Redirect in Error 404 Page

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 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