httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Peacock" <richard.peac...@minorplanet.com>
Subject RE: [users@httpd] Handling 404 errors
Date Wed, 26 Aug 2009 13:07:48 GMT
Nick Kew wrote:-
Richard, when replying, can you quote normally, and not make
your reply look like some malformed signature to the original
post?  I had no idea this was a reply until I hit "reply"
in my mailer.


RP: Oh, I'm really sorry - I blame outlook ;) I tried to put it at the
bottom which obviously hasn't worked!! I have tried put my remarks into
your message below starting with "RP:" - sorry in advance if it causes
confusion!


> <html><META http-equiv='refresh'
content='1;URL=http://www.example.com/core/$_SERVER["REQUEST_URI"]'></ht
ml>

But that is not.  It's very, very evil, and damages end-users.


RP: Perhaps you could be kind enough to explain to me (a noob) why this
suggestion is so bad? I have used the refresh META tag myself before and
would like to know what makes it so evil!


Your PHP (if that is your choice of scripting language) needs
to return the document you want to send.


RP: Hmm, yes, this would make more sense; when the user makes a request
for page1.html, APACHE returns to the user the "404error.php" which
(when coded) will appear to contain the right document.  All this would
be in a single request - although someone else who's more in the know
should be able to confirm what constitutes a request. 


RP: Once again, sorry for the mis-mash mess of my original reply!


**********************************************************************
Privileged/Confidential Information may be contained in this 
message. If you are not the addressee indicated in this 
message (or responsible for delivery of the message to such 
person), you must not copy, distribute or take any action in 
reliance to it.
In such case, you should destroy this message and kindly 
notify the sender by reply email. Please advise immediately 
if you or your employer do not consent to Internet email for 
messages of this kind. Opinions, conclusions and other 
information in this message that do not relate to the official 
business of Minorplanet Systems plc shall be understood as 
neither given nor endorsed by it. Minorplanet Systems plc, Registration no: 3372097
Minorplanet Limited, Registration no: 4072786
Greenwich House, 223 North Street, Leeds, LS7 2AA
VAT #: 698 1438 86
********************************************************************** 
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message