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

#1
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
 

mistwang

LiteSpeed Staff
#2
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.
 
Top