Keep Server Online
  
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
  
or
  
 
  
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
  
Thank You! Steffen
  
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
 |    |   
 | 
     Topic: change from Digest to Basic authentication | 
 |   
| Author | 
  | 
 
ali_fareed
 
 
  Joined: 04 Jul 2006 Posts: 61 Location: Bahrain
  | 
 Posted: Tue 04 Jul '06 21:51    Post subject: change from Digest to Basic authentication | 
     | 
 
  | 
 
Hello everyone I have been using digest authentication for some time now but recently i got a new pocket pc but the problem is that pocket IE doesnt support digest authentication is there a way to change fro digest to basic depending on the user-agent. Help me please   | 
 
  | 
 
| Back to top | 
 | 
 
Jorge
 
 
  Joined: 12 Mar 2006 Posts: 376 Location: Belgium
  | 
 Posted: Tue 04 Jul '06 23:56    Post subject:  | 
     | 
 
  | 
 
Don't think thats possible...
 
its not only Pocket IE that has problems some other clients aswel.
 
 
You could probebly creata and alias though
 
 
/private
 
/private_basic
 
 
and use a location container for the auth information instead of directory container
 
 
Note untested config snip:
 
 	  | Code: | 	 		  
 
Alias /private_basic "c:/files/private"
 
 
<location /private_basic>
 
auth code here with basic auth
 
</location>
 
 
<location /private>
 
auth code for digest here
 
</location>
 
 | 	  
 
 
you could probebly do some mod_rewrite stuff to rewrite to the /private_basic URI when its PocketIE
 
 
If that didn't make sense... don't worry i'm just brainstorming ^ | 
 
  | 
 
| Back to top | 
 | 
 
ali_fareed
 
 
  Joined: 04 Jul 2006 Posts: 61 Location: Bahrain
  | 
 Posted: Wed 05 Jul '06 22:21    Post subject:  | 
     | 
 
  | 
 
| No you make total sense thanks for the great idea. | 
 
  | 
 
| Back to top | 
 | 
 
 
 
 
 | 
 
 
 |  
 
 |  
  |   
 |