Wednesday, 15 February 2012

Apache Virtual Host with path -



Apache Virtual Host with path -

i deploying rails app phusion passenger , apache httpd, have create virtual host in apache associate root of app. , process successful, app running, problem have run in path of domain, such "mydomain.com/railsapp". tried configurations , failed.**

configuration 1

serveradmin admin@mydomain.com servername mydomain.com/railsapp railsenv production railsbaseuri /app documentroot /var/www/rails/app/public <directory /var/www/rails/app/public> allowoverride options -multiviews #require granted </directory> errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined

configuration 2

serveradmin admin@mydomain.com servername mydomain.com serverpath /railsappp railsenv production railsbaseuri /app documentroot /var/www/rails/app/public <directory /var/www/rails/app/public> allowoverride options -multiviews #require granted </directory> errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined

configuration 3

serveradmin admin@mydomain.com servername mydomain.com serveralias mydomain.com/railsappp railsenv production railsbaseuri /app documentroot /var/www/rails/app/public <directory /var/www/rails/app/public> allowoverride options -multiviews #require granted </directory> errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined

does have thought how that?

use servername domain.com , create utilize of proxypass , proxypassreverse directive redirect /railsapp desired location.... read more reverse proxy..

apache path dns virtual host

No comments:

Post a Comment