
February 25th, 2013, 12:51 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Location: PNW
Posts: 3
Time spent in forums: 1 h 17 m 51 sec
Reputation Power: 0
|
|
|
[Resolved] Help w/wild car cert and subdomain on Apache 2.2.6
Hi there,
I've been tasked with replacing a standard SSL cert for a website with a wildcard cert. I've got the new cert installed and now need to adjust the httpd.conf file to address the new subdomain (I'll call 'newww').
Current re-write rule takes traffic from port 80, rewrites the url and passes it off to port 443 which in turn proxys to a glassfish server on the back-end.
Current catch-all rewrite rule:
RewriteRule ^(.*)$ https:/ /www . site. com / wingnut/jello$1 [L,R]
The desire is to adjust the httpd.conf so that the rewrite will retain either 'www' or 'newww'.
I'm guessing by what reading that I've done that I'd need to insert some sort of RewriteCond however I'm unsure of how to properly format it.
Thank you in advance.
~Tant
Last edited by Tant : February 25th, 2013 at 03:22 PM.
Reason: Marking as resolved.
|