LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-02-2003, 12:40 AM   #1
KittyWu
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?

Thanks
 
Old 07-02-2003, 12:54 AM   #2
MRK
Member
 
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 http://www.blah.com/subscription_info.html

This is a quote from the apache's documentation:
Quote:
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.

-Mr.K
 
Old 07-02-2003, 02:38 AM   #3
KittyWu
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
Evilone
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration