Apache Virtual Host with path -


I am deploying a rail app with Fusion passenger and Apache HTTPD, so that I have to make a virtual host in Apache Associate the root of my app and this process is successful, my app is running effectively, but my problem is that I want to run this path in the path of my domain like "mydomain.com/railsapp" Tried and all failed. **

Configuration 1

  server admin admin@mydomain.comServernName mydomain.com/railsapp RailsEnv Production RailsBaseURI / App DocumentRoot / var / www / Rails / app / public & lt; Directory / var / www / rails / app / public & gt; Allow all options - Multi Views # Need all provided & lt; / Directory & gt; Error $ {APACHE_LOG_DIR} /error.log Custom Log $ {APACHE_LOG_DIR} /access.log composite  

Configuration 2

  server admin admin@mydomain.com server namemaydomain.com serverpath / railwaywaywith railwaynew production railwayservice / app document / var / www / rail / app / public & lt; Directory / var / www / train / app / public & gt; Allow all options - Multi Views # Need all provided & lt; / Directory & gt; Error $ {APACHE_LOG_DIR} /error.log Custom Log $ {APACHE_LOG_DIR} /access.log composite  

Configuration 3

  server admin admin@mydomain.com server name mydomain.com server alias mydomain.com/railsappp RailsEnv production RailsBaseURI / app DocumentRoot / var / www / rails / app / public & lt; Directory / var / www / rails / app / public & gt; Allow all options - Multi Views # Need all provided & lt; / Directory & gt; Error $ {APACHE_LOG_DIR} /error.log Custom Log $ {APACHE_LOG_DIR} /access.log composite 

Do anyone have to do this?

Use the server name as my domain.com and use the proxy and proxy the desired location is desired Instructions for redirecting to place ... Read more about reverse proxy.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -