PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 04-09-2004, 03:01 PM   #1
Carl Mikkelsen
Green Mole
 
Join Date: Apr 2004
Location: Wayland, MA, USA
Posts: 8
Question 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?
__________________
Carl Mikkelsen
www.foxkid.net
Carl Mikkelsen is offline   Reply With Quote
Old 04-09-2004, 06:10 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
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.
vinyl-junkie is offline   Reply With Quote
Old 04-10-2004, 12:35 PM   #3
Carl Mikkelsen
Green Mole
 
Join Date: Apr 2004
Location: Wayland, MA, USA
Posts: 8
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 is offline   Reply With Quote
Old 04-10-2004, 12:41 PM   #4
Carl Mikkelsen
Green Mole
 
Join Date: Apr 2004
Location: Wayland, MA, USA
Posts: 8
I tried a different search and found a thread about this. I'll try that Monday and see if all work then.
Carl Mikkelsen is offline   Reply With Quote
Old 04-30-2004, 08:17 AM   #5
Carl Mikkelsen
Green Mole
 
Join Date: Apr 2004
Location: Wayland, MA, USA
Posts: 8
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 is offline   Reply With Quote
Old 04-30-2004, 08:23 AM   #6
Carl Mikkelsen
Green Mole
 
Join Date: Apr 2004
Location: Wayland, MA, USA
Posts: 8
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 is offline   Reply With Quote
Old 04-30-2004, 08:24 AM   #7
Carl Mikkelsen
Green Mole
 
Join Date: Apr 2004
Location: Wayland, MA, USA
Posts: 8
Smileys are in my way today.

The smiley face in the answer(s) above should be the colon character ":", followed by a "P".
Carl Mikkelsen is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpdig w/ windows authentication cwt Troubleshooting 0 08-28-2007 12:14 PM
basic php/mysql verification problem sturomanek Coding & Tutorials 1 03-21-2007 08:06 PM
stops after indexing 50 sites BulForce Troubleshooting 2 01-18-2005 05:05 PM
Authentication Issues tdsongo Troubleshooting 1 10-04-2004 12:40 PM
New authentication script manfred Mod Submissions 0 04-20-2004 10:36 AM


All times are GMT -8. The time now is 11:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.