# Static webapps resources

**URL:** <https://community.bloomreach.com/t/static-webapps-resources/149>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [July 16, 2018, 7:05pm UTC](https://community.bloomreach.com/t/static-webapps-resources/149 "2018-07-16T19:05:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raman\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raman\_Singh](https://community.bloomreach.com/u/Raman_Singh)\
**Post date:** [July 16, 2018, 7:05pm UTC](https://community.bloomreach.com/t/static-webapps-resources/149/1 "2018-07-16T19:05:59Z")

</div>

Hi Community

I was following this document for my localhost application deployment to test server

> **[Prepare the Environment - Bloomreach Experience - Open Source CMS](https://documentation.bloomreach.com/14/library/deployment/configuring/prepare-the-environment.html)**
>
> Open Source Enterprise Content Management

I am able to deployed cms and site, but I am not able to see any static webapp resources (i.e, css, js , img files) are loading .

I browser console I am getting 404 error.

So when I try to debug console I find out  
in Source code I am defining

 " type="text/css"/\> and url is generating In Local = href="/site/webfiles/1531774224332/css/some\_sample.css" In Test Server = href="/webfiles/1531774224332/css/some\_sample.css"

So in test sever, I am assuming I need to configure context path for static webapp resources.

Please help me to find the location for configuration so I can solve this issue

Thanks  
Raman

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [July 19, 2018, 10:40am UTC](https://community.bloomreach.com/t/static-webapps-resources/149/2 "2018-07-19T10:40:23Z")

</div>

This may be fixed through reverse proxy config, but on the virtualhost you can also set context path to false.

> **[Configure Virtual Hosts in an Environment - Bloomreach Experience - Open...](https://documentation.bloomreach.com/14/library/enterprise/installation-and-configuration/configure-virtual-hosts-in-an-environment.html)**
>
> Open Source Enterprise Content Management

---

<div class="post-metadata">

**Author:** ![Raman\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raman\_Singh](https://community.bloomreach.com/u/Raman_Singh)\
**Post date:** [July 30, 2018, 2:55pm UTC](https://community.bloomreach.com/t/static-webapps-resources/149/3 "2018-07-30T14:55:04Z")

</div>

Still I am not sure what do you mean context path false, I was following documents and document mention about showcontextpath as false

Thanks  
Raman

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [July 30, 2018, 3:25pm UTC](https://community.bloomreach.com/t/static-webapps-resources/149/4 "2018-07-30T15:25:11Z")

</div>

If you read documentation provided by @jasper.floor at some point, you would read:

“Add the two Boolean properties hst:showport and hst:showcontextpath, both with value false, to the hst:root node:”

see also:  
[https://www.onehippo.org/library/deployment/configuring/configure-apache-httpd-as-reverse-proxy-for-hippo.html](https://www.onehippo.org/library/deployment/configuring/configure-apache-httpd-as-reverse-proxy-for-hippo.html)

---

<div class="post-metadata">

**Author:** ![Raman\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raman\_Singh](https://community.bloomreach.com/u/Raman_Singh)\
**Post date:** [July 31, 2018, 4:09pm UTC](https://community.bloomreach.com/t/static-webapps-resources/149/5 "2018-07-31T16:09:55Z")

</div>

Yes I followed document , did exact same thing , but it is not solving my above issue.  
In local environment it is working good but when I deployed code on Test server , I am getting issue.
