PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Indexing sites while require basic authentication (http://www.phpdig.net/forum/showthread.php?t=801)

Carl Mikkelsen 04-09-2004 02:01 PM

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?

vinyl-junkie 04-09-2004 05:10 PM

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. :)

Carl Mikkelsen 04-10-2004 11:35 AM

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.

Carl Mikkelsen 04-10-2004 11:41 AM

I tried a different search and found a thread about this. I'll try that Monday and see if all work then.

Carl Mikkelsen 04-30-2004 07:17 AM

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.

Carl Mikkelsen 04-30-2004 07:23 AM

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.

Carl Mikkelsen 04-30-2004 07:24 AM

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.