# Net::http and htaccess

**URL:** <https://www.ruby-forum.com/t/net-http-and-htaccess/63279>\
**Category:** Ruby\
**Created:** [June 13, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/net-http-and-htaccess/63279 "2006-06-13T21:04:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beachguy82](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9dc877/32.png) [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Post date:** [June 13, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/net-http-and-htaccess/63279/1 "2006-06-13T21:04:28Z")

</div>

I’m writing a script to parse a web page that’s protected by htaccess  
( my stats page on my web host) and I’m not sure how to get in if the  
page requires htaccess. Can someone point me to a guide for this? I’m  
fine getting and parsing non protected page. I just don’t know how to  
authenticate.

Thanks!

Charlie B.  
[http://www.recentrambles.com](http://www.recentrambles.com)
