LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2004, 07:24 AM   #1
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
change default error page for apache


how do i change the default error page for apache. This is the page that shows when you cant find a file on the server, like this:

Not Found
The requested URL /lksdl was not found on this server.


I want another html page to appear, or change the content.

-ole
 
Old 09-25-2004, 07:31 AM   #2
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
i found it... the ErrorDocument 404 /missing.html file i could change in the httpd.conf
 
Old 09-26-2004, 07:38 AM   #3
mrjamin
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: FC7
Posts: 27

Rep: Reputation: 15
Quote:
Originally posted by linuxtesting2
i found it... the ErrorDocument 404 /missing.html file i could change in the httpd.conf
You can stick it in an .htaccess file to add directory specific error documents too, just make sure that the error document file is requested relative to the root directory.
 
  


Reply



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
How to change default Apache page? flamesrock Linux - Software 3 11-29-2004 05:31 PM
Apache default page dienerk Linux - General 4 10-22-2004 01:02 PM
how to change apache default page yenonn Linux - Networking 3 08-17-2004 10:27 PM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
Apache default page?? andy18 Linux - General 6 07-16-2003 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 PM.

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