Rewrite Condition Rule for JIRA ServiceDesk
I can imagine something like this:
RewriteCond %{REQUEST_URI} !/helpdesk.domain.com/s/files.css RewriteCond %{REQUEST_URI} !/helpdesk.domain.com/rest/myjsonReWriteCond %{REQUEST_URI} !/helpdesk.domain.com/secure/some.htmlRewriteCond %{HTTP_HOST} ^(www\.)?helpdesk\.domain\.com [NC]RewriteRule ^(.*)$ http://jira.domain.com/servicedesk/customer/portal/1/$1 [R=301,NC,L]