PhpDig.net

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

Reply
 
Thread Tools
Old 04-09-2004, 02: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, 05: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, 11:35 AM   #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, 11:41 AM   #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, 07: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, 07: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, 07: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

Thread Tools

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 11:14 AM
basic php/mysql verification problem sturomanek Coding & Tutorials 1 03-21-2007 07:06 PM
stops after indexing 50 sites BulForce Troubleshooting 2 01-18-2005 04:05 PM
Authentication Issues tdsongo Troubleshooting 1 10-04-2004 11:40 AM
New authentication script manfred Mod Submissions 0 04-20-2004 09:36 AM


All times are GMT -8. The time now is 09:17 PM.


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