Basic Authentication

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Aug 22, 2002 7:23 pm    Post subject: Basic Authentication Reply with quote

When using the console to access the configuration pages, you use Basic Authentication to verify username/password. Is this an internal thing, or is this also supported through scripts ??

It seems like the server returns error 500 when using..:

header('HTTP/1.1 401 Unauthorized');
header('WWW-Authenticate: Basic realm="MyArea"');

Or am I missing something here ??

Hope your plans for releasing 1.1 is on track, we're looking forward to that one... :-)
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Aug 23, 2002 1:50 am    Post subject: Re: Basic Authentication Reply with quote

Yes, you are sending a misformed header. Please read http://www.aprelium.com/forum/viewtopic.php?t=176 for more information about that topic.

Thank you :D
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
TheLinker
-


Joined: 05 Apr 2002
Posts: 165
Location: Oslo, Norway

PostPosted: Fri Aug 23, 2002 8:48 am    Post subject: Re: Basic Authentication Reply with quote

aprelium wrote:
Please read http://www.aprelium.com/forum/viewtopic.php?t=176 for more information about that topic.

Thanks... that solved my "little" authenticate problem... do you have a link to the CGI specification regarding the use of header ??
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Aug 24, 2002 4:37 am    Post subject: Re: Basic Authentication Reply with quote

TheLinker wrote:

Thanks... that solved my "little" authenticate problem... do you have a link to the CGI specification regarding the use of header ??

There is no compiled reference with everything in it. The basic reference is at http://hoohoo.ncsa.uiuc.edu/cgi/out.html (this is the standard).
You can then find more information in the official PHP documentation.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group