# Problem with subsite on httpd server

**URL:** <https://discourse.slimframework.com/t/problem-with-subsite-on-httpd-server/290>\
**Category:** Questions\
**Created:** [May 19, 2016, 8:03pm UTC](https://discourse.slimframework.com/t/problem-with-subsite-on-httpd-server/290 "2016-05-19T20:03:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marciobarroso](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/marciobarroso/32/104_2.png) [@marciobarroso](https://discourse.slimframework.com/u/marciobarroso)\
**Post date:** [May 19, 2016, 8:03pm UTC](https://discourse.slimframework.com/t/problem-with-subsite-on-httpd-server/290/1 "2016-05-19T20:03:26Z")

</div>

I have a Slim 3 app under a httpd server:

Companys Website  
/var/www/html/index.html

My Slim 3 App  
/var/www/html/my-app

My Slim 3 App has this organization:  
my-app/app \<- php classes  
my-app/vendor \<- third part libraries  
my-app/web \<- static resources and index.php to bootstrap slim framework

How to do this app works under this httpd server?

I would like to do my app running under [company-site.com/my-app](http://company-site.com/my-app)

In the dev machine, I’am using a virtual host for this, but I could not figure out how to do on this server because of the company-site.

When I go to [company-site.com/my-app/web/index.php](http://company-site.com/my-app/web/index.php) the action should send the request to [company-site.com/my-app/login](http://company-site.com/my-app/login), but is sending to [company-site.com/login](http://company-site.com/login)

I thing it should be a little configuration detail, but I could not found how to solve.
