Atlassian JIRA的Service Desk插件门户网站有它丑陋的URL,用户必须记住这个长URL
http://jira.domain.com/servicedesk/customer/portal/1
对于我的用户,我想有一个特殊的域名:
任务不是那么简单,我需要在Apache中重写url
http://helpdesk.domain.com/ --- > http://jira.domain.com/servicedesk/customer/portal/1
Run Code Online (Sandbox Code Playgroud)
但需要排除
http://helpdesk.domain.com/s/files.css ---> http://jira.domain.com/s/files.css
http://helpdesk.domain.com/rest/myjson ---> http://jira.domain.com/rest/myjson
http://helpdesk.domain.com/secure/some.html ---> http://jira.domain.com/secure/some.html
Run Code Online (Sandbox Code Playgroud)