apache - Change path chiliproject -


i want use subdirectory chiliproject instance. using apache passenger, thinking of using rewrites + alias, gives me 404. adding railsbaseuri connection reset.

is routes.rb should adapt or looking @ wrong place? working right on https://mydomain.com i'd have on https://mydomain.com/tracker

you can use passenger directly without having use alias or redirection. however, passenger requires special configuration that. please see one of our guides complete installation example.

generally need configure similar (cited linked guide):

at first, assume have installed chiliproject /srv/www/chiliproject. not documentroot.

you need hint passenger bit here correctly finds chiliproject. create symlink existing documentroot directory out chiliproject installation.

ln -s /srv/www/chiliproject/public documentroot/chiliproject 

now add following directives existing virtual host:

# todo: remember replace documentroot actual path <directory documentroot>   options +symlinksifownermatch </directory>  railsbaseuri /chiliproject # todo: remember replace documentroot actual path <directory documentroot/chiliproject>   options -multiviews    order deny,allow   allow </directory> 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -