worked like a charm.
I can't believe it was that simple and i spend hours searching for a solution...
Thank you.
Main Topics
Browse All Topicsi have Apache httpd V2.2 to front Jboss and Jetty runing behind it. Apache is in DMZ and Jboss / Jetty are in our secure Corp network. I have it so that all of my ssl requrests get proxy'ed (via ssl virtualhosts) to jboss and Jetty and all that works just fine, but now i need to add some sort of authentication to apache so that the page on Jetty requires some simple authentication before they can be viewed. We can use the same username / password for every one in the company so that only employees cansee the site. Below is the snippet fromt he ssl.conf file. the "AuthType Basic" doesn't seem to work with the "ProxyPass" int he config. i'm sure there is a way around this issue.
<VirtualHost 192.168.10.77:443>
Servername dev.tcp.ABC.com:443
ErrorLog logs/dev_tcp_temp_ssl_erro
TransferLog logs/dev_tcp_temp_ssl_acce
LogLevel warn
SSLProxyEngine on
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC
SSLCertificateFile /etc/pki/tls/certs/dev_tcp
SSLCertificateKeyFile /etc/pki/tls/private/dev_t
<Files ~ "\.(cgi|shtml|phtml|php3?)
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
# <Directory "/var/www/html/">
<Directory "/">
AuthType Basic
AuthName "Restricted Directory"
AuthBasicProvider file
AuthUserFile /etc/httpd/conf.d/password
Require user tptest
Require valid-user
# AuthAuthoritative on
</Directory>
RewriteEngine on
RewriteRule ^/$ /chp/ [R]
ProxyPass / http://192.168.72.82:9999/
ProxyPassReverse / http://192.168.72.82:9999/
</VirtualHost>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: caterham_wwwPosted on 2009-04-07 at 01:52:17ID: 24085124
> <Directory "/">
> AuthType Basic
Use <Location /> instead of <directory /> since your requests are not related to the file system.