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 New Member

    Hello.

    I've a rails application under the domain "example.com" (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 "example.com/survey".

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

    TIA
  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