hey there - i'm hoping this is simple...
I'm having an issue with one line vs. another. The commented out
rewrite rule is the one that compiles my index.jsp just fine, using
Jserv. If i use the uncommented rewrite rule that I WANT to use below,
to get the subdomain that the user requested, the index.jsp displays
uncompiled, in simple html format.
As always - any and all help is greatly appreciated.
<VirtualHost 172.18.4.13:80>
ServerName ics3dv1ws1.hq.bradgroup
ServerAlias *.ics3dv1ws1.hq.bradgroup
VirtualDocumentRoot /devl/ics3/devl/webroot/oc4j/ct/web
DirectoryIndex index.jsp
RewriteEngine on
#RewriteRule ^/(.*\.jsp)
http://172.18.4.13:7778/ct/$1 [P]
RewriteRule (.*)\.ics3dv1ws1\.hq\.bradgroup/ct/(.*\.jsp)
http://172.18.4.13:7778/ct/$2?subdomain=$1 [P]
</VirtualHost>