in reply to Trying to allow cgi script to access htpasswd protected files.

Thank you for your responses!

I haven't had any time to work on this script today, but will be doing so again tomorrow. Hopefully by the end of tomorrow and early next week at the latest I'll be able to provide feedback to elaborate on my issue/situations I'm still encountering, or hopefully display a solution that worked for me!

Look forward to sitting down and trying to implement what you guys have suggested. I know I've already tried the 'http://username:password@site.com/rest/of/url' approach that kschwab suggested and it seemed to not work. Perhaps I implemented it wrong, but it seemed fairly straightforward. Later on I'll copy some direct code in here to show you what failed for me.

I've also poked at LWP but probably not to the extents I may have needed. Furthermore, tangent, you reference a $localfile. I'm afraid I'm not sure what the localfile is supposed to be pointing to.

Thanks again for the ideas and comments - it's my first time posting here and I'm happy to see there is an active and HELPFUL community.

  • Comment on Re: Trying to allow cgi script to access htpasswd protected files.

Replies are listed 'Best First'.
Re^2: Trying to allow cgi script to access htpasswd protected files.
by Aquilae (Novice) on Nov 14, 2013 at 22:41 UTC

    In case it wasn't obvious - I wasn't logged in when I posted this.