I’m like to config my apache server to run WordPress on the main page and my Rails app on subdirectory. I mean:
mysite.com -> go to WordPress
mysite.com/app -> go to Rails
How can I accomplish this?
I’m like to config my apache server to run WordPress on the main page and my Rails app on subdirectory. I mean:
mysite.com -> go to WordPress
mysite.com/app -> go to Rails
How can I accomplish this?
2
Answers
From Apache:
So your backend will be running two separate servers: WordPress and Rails. We just essentially change the relevant port and pass the request through. Then the content is returned to Apache and Apache generates the correct HTTP response.
Read this article for explain. click here
Two things are needed