LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-09-2006, 07:48 AM   #1
unkn0wn
Member
 
Registered: Mar 2006
Posts: 60

Rep: Reputation: 15
error documents in apache


can i use


ErrorDocument 404 /root/error/404/error.html
with pictures and all.

when i put

ErrorDocument 404 "some stupid test"
its working but with htm nope
 
Old 05-09-2006, 08:27 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
ErrorDocument 404 /root/error/404/error.html
This path is relative to your DocumentRoot, i.e. apache try to use the error.html located in /<DocumentRoot>/root/error/404/error.html
 
Old 05-10-2006, 02:19 AM   #3
unkn0wn
Member
 
Registered: Mar 2006
Posts: 60

Original Poster
Rep: Reputation: 15
i get it tnx.
 
  


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
Apache Error (Internal Server Error) dwarf007 Linux - Software 1 07-17-2005 01:16 PM
Apache error with xml documents Rascale Linux - Software 0 09-20-2004 02:14 PM
Apache custom 404 documents Punker51 Linux - Software 2 12-06-2003 03:23 PM
unable to view documents from my apache server wendallsan Linux - Software 2 09-27-2003 03:13 PM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM

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

All times are GMT -5. The time now is 04:08 AM.

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