Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-02-2003, 12:40 AM   #1
LQ Newbie
Registered: Jul 2003
Location: China
Posts: 11

Rep: Reputation: Disabled
Question A Question about apache

when I start or stop apache, system give me an error info.:[notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!

what is it meaning?

Old 07-02-2003, 12:54 AM   #2
Registered: Jan 2002
Posts: 60

Rep: Reputation: 15
It means that in your httpd.conf file, the error directive for your 401 errors has a full url stated in it. It shoud look like this:

ErrorDocument 401 /subscription_info.html

Your's probably looks like this:

ErrorDocument 401

This is a quote from the apache's documentation:
In addition, if you use a remote URL in an ErrorDocument 401, the client will not know to prompt the user for a password since it will not receive the 401 status code. Therefore, if you use an ErrorDocument 401 directive then it must refer to a local document.
You must have a local url stated for the 401 ErrorDocument.

Old 07-02-2003, 02:38 AM   #3
LQ Newbie
Registered: Jul 2003
Location: China
Posts: 11

Original Poster
Rep: Reputation: Disabled
But I check the httpd.conf file, the ErrorDocument 401 is

ErrorDocument 401 "file:"
Old 07-02-2003, 04:43 AM   #4
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
This is entirely the problem. Replace "File" with somthing it understands. By the look of it an HTML document.


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
Question - (apache?) pylon42 Linux - General 7 03-23-2005 08:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 06:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 03:58 AM
Apache question plisken Linux - Software 1 02-25-2003 03:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 03:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 PM.

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