0
我有兩個應用:服務於所有域名的流量線路二到不同的應用的Apache特定URL
- WordPress的多站點應用
- 灰燼應用程序只服/例子/路/
以下在某種程度上,燼隙處理'/ example/path /'的流量,但它也處理任何其他路由,如'/ example/path/pretty-wp-page':
Alias "/example/path" "/var/www/ember/app/dist"
問題是,我希望僅僅處理'/ example/path /'和'/ example/path/another-ember-route'的流量,而WordPress處理任何其他流量,比如'/ example/path/pretty -wp頁」
我試過如下:
AliasMatch "/example/path(/|another\-ember\-route)" "/var/www/ember/app/dist"
無濟於事。任何想法或建議?我已經耗盡了我的技能組合的可能性,無法在apache文檔中看到解決方案,並且Google也不提供任何東西。
感謝