Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 13th, 2001, 06:18 AM
Lionheart Lionheart is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Groningen, NL
Posts: 42 Lionheart User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 28 sec
Reputation Power: 8
Authentication and windows

If I call the headers to authenticate, I get server errors.

I have Apache running on windows.

Does anyone has a clue?

Thanks

Reply With Quote
  #2  
Old August 13th, 2001, 04:41 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Call what header, get what error? Always be specific.

Reply With Quote
  #3  
Old August 14th, 2001, 06:50 AM
Lionheart Lionheart is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Groningen, NL
Posts: 42 Lionheart User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 28 sec
Reputation Power: 8
E.g., from the manual
Example 16-1. HTTP Authentication example:

PHP Code:
<?php
  
if(!isset($PHP_AUTH_USER)) {
    
Header("WWW-Authenticate: Basic realm=\"My Realm\"");
    
Header("HTTP/1.0 401 Unauthorized");
    echo 
"Text to send if user hits Cancel button\n";
    exit;
  } else {
    echo 
"Hello $PHP_AUTH_USER.<P>";
    echo 
"You entered $PHP_AUTH_PW as your password.<P>";
  }
?>

Reply With Quote
  #4  
Old August 14th, 2001, 04:30 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Search the PHP forum as such topic has been well discussed there.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Authentication and windows


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway