Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 06-04-2008, 05:09 PM   #1
LQ Newbie
Registered: May 2008
Posts: 16

Rep: Reputation: 0
how to modify ERROR 404 (html) and put my own page?? mandriva 2006

hi guys,I know I ask too much but it's really important and you're all I have

I created an html page and I want tp replace the ERROR 404 document that appears if you put an url that doesn't exist, I really don't know how to do it!!!!!

there's a directory: /var/www/error
there I can find different pages (ERROR) but they contain just writing and it seems to be complicated I don't wanna do something stupid and end up having a weird page

can somebody help me with this please??!!!!

Old 06-04-2008, 07:03 PM   #2
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, I think it's here,


[edit] did you want to change that error 404 message?

Or put a file inplace so there is no error?

You can edit the error page with Kompozer(kde) to say whatever you like, maybe add links to other places.[/edit]

It's here....


Last edited by GlennsPref; 06-04-2008 at 07:09 PM.
Old 06-04-2008, 07:26 PM   #3
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, I seem to be missing the point, to edit the info of the pages that will be displayed find the parts in the text > and <

Between these arrows you can change the text. For each language,

eg. snipet from...

<!--#if expr="$HTTP_REFERER" -->

The link on the
a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">referring
/a> seems to be wrong or outdated. Please inform the author of
a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">that page</a>
about the error.

!--#else -->

If you entered the URL manually please check your
spelling and try again.

<!--#endif -->

and edit the link to your file...

Content-language: en
Content-type: text/html; charset=ISO-8859-1
<!--#set var="TITLE" value="Object not found!"
--><!--#include virtual="include/top.html" -->

<!--#endif -->

<!--#include virtual="include/bottom.html" -->

check out this tute...

Hope that helps.

Last edited by GlennsPref; 06-04-2008 at 07:35 PM. Reason: bad day


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Build 404 error page CGI handler brains LXer Syndicated Linux News 0 09-16-2007 03:51 PM
locolhost errors to a gif file and not a Html 404 error almost000 Linux - Software 5 06-02-2007 02:22 PM
Mandriva 2006, apache not reaching an alliased page uzimadawa Linux - Server 1 12-02-2006 11:36 AM
404 Error Page Not Working newlinuxnewbie Linux - Server 3 09-06-2006 06:52 PM

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration