Host wordpress on a subdirectory of a Rails application

I would like to know if it is possible to host a wordpress blog on the subdirectory of a rails application:

For instance: I would like to have domain.com/blog instead of having my blog on a subdomain: blog.domain.com .

Read More

I’m currently using lighttpd, but I can switch to something else if there is a solution.

Thanks

Related posts

Leave a Reply

3 comments

  1. You can also set an apache Alias to say /blog is /path/to/wordpress

    so it’s technically not inside your RoR app, you can deploy/make changes to the RoR app all day long then, without the need to worry about overwriting wordpress files.

  2. As long as you don’t have conflicting htaccess directives, you should be fine. I’d still suggest you stick to the subdomain, though. Doing so is much cleaner for cookies (as well as for sessions if your RoR app uses any of the latter).