![]() |
Indexing sites while require basic authentication
I am trying to index an intranet site that requires basis authentication. How do I set the realm, userid, and password to be used for that sub-site?
|
First of all, welcome to the phpDig forum, Carl. We're glad you could join us!
This thread doesn't address authentication specifically, but it might offer some insight into how to get where you want to go. Hope this helps. :) |
I read the thread, which addressed how to limit search returns to a portion of the index database. What I need to do is supply a username and password along with the http request.
Do you think it necessary for me to study how phpdig fetches web content, and see if there are additional parameters that can be passed? For instance, the http client classes for perl provide authentication parameters, as well as the linux utility wget. |
I tried a different search and found a thread about this. I'll try that Monday and see if all work then.
|
Just to follow up and summarize:
The answer is to enter urls of the form: http://UserName:Password@domain/path into the phpdig admin form. The UserName and PassWord are used for basic authentication. |
Just to follow up and summarize (last attempt got confused by smileys):
The answer is to enter urls of the form: Code:
http://UserName:Password@domain/path into the phpdig admin form. The UserName and PassWord are used for basic authentication. |
Smileys are in my way today.
The smiley face in the answer(s) above should be the colon character ":", followed by a "P". |
All times are GMT -8. The time now is 11:08 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.