Need Help cleaning configuration

This is a discussion on Need Help cleaning configuration within the Apache Web Server forums, part of the Web Server and Related Forums category; I inherited Apache setup to proxy request for a app running on tomcat. So, all request recieved on 80 are ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-09-2005
shediiwork@gmail.com
 
Posts: n/a
Default Need Help cleaning configuration

I inherited Apache setup to proxy request for a app running on tomcat.
So, all request recieved on 80 are forwarded to 8080 using ProxyPass
and ProxyPassReverse. I have two problems with this setup
1) I need to setup bugzilla without creating another instance Apache.
Bugzilla setup is relative to / and needs /cgi-bin/. Neither are
available due to the forwarding setup.
2) I'm sure there is a better way to forward request to Tomcat.

Here is the Vhost.conf

NameVirtualHost *:80
<VirtualHost *:80>
ProxyRequests On
<Proxy *>
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>


NameVirtualHost jxsrv71:443
<VirtualHost jxsrv71:443>
ProxyRequests On
<Proxy *>
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
SSLEngine on
SSLCertificateFile /etc/ssl/apache/server.crt
SSLCertificateKeyFile /etc/ssl/apache/server.key
</VirtualHost>

NameVirtualHost localhost:443
<VirtualHost localhost:443>
ProxyRequests On
<Proxy *>
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
SSLEngine on
SSLCertificateFile /etc/ssl/apache/server.crt
SSLCertificateKeyFile /etc/ssl/apache/server.key
</VirtualHost>

NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
ProxyRequests On
<Proxy *>
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
SSLEngine on
SSLCertificateFile /etc/ssl/apache/server.crt
SSLCertificateKeyFile /etc/ssl/apache/server.key
</VirtualHost>

NameVirtualHost XXX.XXX.XXX.XXX:443
<VirtualHost XXX.XXX.XXX.XXX:443>
ProxyRequests On
<Proxy *>
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
SSLEngine on
SSLCertificateFile /etc/ssl/apache/server.crt
SSLCertificateKeyFile /etc/ssl/apache/server.key
</VirtualHost>

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0