ruby on rails - Ajax call triggering base URL in Apache + Passenger integration mode -
i trying configure multiple rails apps through httpd configuration file. working fine ajax calls triggering wrong url, example if application configured http://localhost/helloapp/ , has ajax call "/say_hello" trying "localhost/say_hello" instead of "localhost/helloapp/say_hello". below httpd configuration file located @ '/etc/httpd/conf/httpd.conf '. using centos. <virtualhost *:80> servername localhost <directory /var/www/html > allow options -multiviews # uncomment if you're on apache >= 2.4: #require granted </directory> alias /helloapp /var/www/html/hello_application/public <location /helloapp> passengerbaseuri /helloapp passengerapproot /var/www/html/hello_application </location> <directory /var/www/html/hello_application/public> # multiviews must turned off. allow options -multivi...