Hi huggy77
sure here you go:
<VirtualHost *:80>
ServerName www.portwebsolutions.co.uk
ServerAlias portwebsolutions
DocumentRoot /home/martyn/websites/portwebsolutions
ErrorLog logs/portwebsolutions.co.uk-error_log
CustomLog logs/portwebsolutions.co.uk-access_log common
DirectoryIndex index.jsp
<Proxy>
Order deny,allow
Allow from all
</Proxy>
<IfModule proxy_module>
<IfModule proxy_ajp_module>
#<Location />
RewriteEngine on
RewriteCond %{REQUEST_URI} /(.*).jsp(.*)
RewriteRule ^/(.*) ajp://PORTWEB-UK01:8009/$1 [P,L]
# ProxyPass ajp://PORTWEB-UK01:8009/
# ProxyPassReverse ajp://PORTWEB-UK01:8009/
#</Location>
#RewriteCond %{REQUEST_URI} /dev(.*)
#RewriteRule ^/dev(.*)
http://PORTWEB-UK03/
ProxyPreserveHost On
ProxyViaBlock
RewriteRule ^(/dev.*)$
http://192.168.0.3$1 [P,L]
#ProxyPass /dev
http://192.168.0.3/dev/
#ProxyPassReverse /dev
http://PORTWEB-UK03/dev/
</IfModule>
</IfModule>
</VirtualHost>
as you can see I have used mod_rewrite to pass just .jsp pages and have apache do the static stuff you can see that I have just commented out the proxypass for both sets the one at the bottom I am just having apache do Proxy_http to IIS for .Net applications I have to run ahhhh!!
Hope it helps some
[Message sent by forum member 'chainy' (chainy)]
http://forums.java.net/jive/thread.jspa?messageID=236534