AuthType Basic AuthName "Logon to the Sun Labs Lively Kernel host site" AuthUserFile /local/webserver/users AddHandler cgi-script cgi sh py #Require valid-user Require valid-user # Options +ExecCGI # RewriteEngine On RewriteBase / RewriteRule ^proxy/news.com.com(.*)$ http://news.com.com$1 [P] RewriteRule ^proxy/news.cnet.com(.*)$ http://news.cnet.com$1 [P] RewriteRule ^proxy/weatherforecastmap.com(.*)$ http://weatherforecastmap.com$1 [P] RewriteRule ^proxy/feeds.bbc.co.uk(.*)$ http://feeds.bbc.co.uk$1 [P] RewriteRule ^proxy/finance.google.com(.*)$ http://finance.google.com$1 [P] RewriteRule ^proxy/download.finance.yahoo.com(.*)$ http://download.finance.yahoo.com$1 [P] RewriteRule ^proxy/feeds.feedburner.com(.*)$ http://feeds.feedburner.com$1 [P] RewriteRule ^proxy/blogs.sun.com(.*)$ http://blogs.sun.com$1 [P] RewriteRule ^proxy/feeds.tuaw.com(.*)$ http://feeds.tuaw.com$1 [P] #the following to enable a personal webserver RewriteRule ^proxy/localhost/808([0-9])/(.*)$ http://localhost:808$1/$2 [P] RewriteRule ^proxy/livelykernel.sunlabs.com/8093(.*)$ http://livelykernel.sunlabs.com:8093$1 [P] #enable LK repository access RewriteRule ^proxy/livelykernel.sunlabs.com/repository/(.*) http://livelykernel.sunlabs.com/repository/$1 [P]