Running Rails and PHP in parallel under the same virtual domain/host

Discussion in 'Ruby/Rails' started by adriatic, Oct 22, 2006.

  1. adriatic

    adriatic Member


    I've a rails application under the domain "" (configured as a RailsVHost). Under the rails "/public/" directory I've a PHP (survey) application under a "/public/survey" directory, which should be accessible via the URL "".

    How can I configure LiteSpeed to serve the PHP application too besides the rails one under the same virtual domain/host?

  2. mistwang

    mistwang LiteSpeed Staff

    Sorry for the late response. just go through the posts during my vacation.

    Just add a static context with urI "/survey/", location: "path to /public/survey/", setup PHP script handler properly.

Share This Page