# Question: Does fess have an AJP connector port

**URL:** <https://discuss.codelibs.org/t/question-does-fess-have-an-ajp-connector-port/631>\
**Category:** English:Fess\
**Created:** [November 22, 2017, 3:34pm UTC](https://discuss.codelibs.org/t/question-does-fess-have-an-ajp-connector-port/631 "2017-11-22T15:34:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [November 22, 2017, 3:34pm UTC](https://discuss.codelibs.org/t/question-does-fess-have-an-ajp-connector-port/631/1 "2017-11-22T15:34:31Z")

</div>

(from [github.com/zaryk](http://github.com/zaryk))  
We have used a IIS to tomcat connector for other application. As far as I know, it connects to tomcat using the AJP connector Port. Does fess have an AJP connector port?

> **[Bilal-S/iis2tomcat](https://github.com/Bilal-S/iis2tomcat/tree/1.0.36)**
>
> AJP Connector between Internet Information Services (IIS) and Apache Tomcat - Bilal-S/iis2tomcat

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [November 22, 2017, 9:57pm UTC](https://discuss.codelibs.org/t/question-does-fess-have-an-ajp-connector-port/631/2 "2017-11-22T21:57:40Z")

</div>

(from [github.com/marevol](http://github.com/marevol))  
AJP is not supported.  
Could you try to use a reverse proxy, such as Application Request Routing?

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [November 22, 2017, 10:25pm UTC](https://discuss.codelibs.org/t/question-does-fess-have-an-ajp-connector-port/631/3 "2017-11-22T22:25:05Z")

</div>

(from [github.com/zaryk](http://github.com/zaryk))  
I am trying that now. I am running into an issue where the CSS/JS/Images aren’t being rewritten, so IIS is looking for them under the main application rather than under Fess. This may be because Fess href/src don’t match the pattern: ^http(s)?://localhost:8080/(.\*) Otherwise, I can see the search page, but doesn’t have any styles/scripts/images.

Do you have any suggestions? Do I have to copy the css/js/images to the main application?

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [November 22, 2017, 11:14pm UTC](https://discuss.codelibs.org/t/question-does-fess-have-an-ajp-connector-port/631/4 "2017-11-22T23:14:22Z")

</div>

(from [github.com/zaryk](http://github.com/zaryk))  
I am able to add additional rules to replace the css/js/images href/source, but have to get through “was loaded over HTTPS, but requested an insecure stylesheet” issue. Just takes some tweaking and consolidation. Would be nice if there were some setting in Fess to add the base url so more work wouldn’t have to be done after the initial setup of the ARR.

Will close.

```auto
> <rule name="Rewrite Css URLs in Response" preCondition="ResponseIsHtml1">
> <match pattern="/css/" />
> <action type="Rewrite" value="http://localhost:8080/css/" />
> </rule>
> <rule name="Rewrite Js URLs in Response" preCondition="ResponseIsHtml1">
> <match pattern="/js/" />
> <action type="Rewrite" value="http://localhost:8080/js/" />
> </rule>
> <rule name="Rewrite Image URLs in Response" preCondition="ResponseIsHtml1">
> <match pattern="/images/" />
> <action type="Rewrite" value="http://localhost:8080/images/" />
> </rule>

```
