diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2015-03-31 04:47:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-03 20:50:13 +0700 |
commit | 72aaed5ad37ea8f2d1e4a5d8529c022912de25c4 (patch) | |
tree | 077753231bc9b0785d70fd55180d2cd75c48b537 /ruby/passenger/mod_passenger.conf | |
parent | 384de9faf3ce7f81ea1faa232f06d04a97b4a9d9 (diff) | |
download | slackbuilds-72aaed5ad37ea8f2d1e4a5d8529c022912de25c4.tar.gz |
ruby/passenger: Added (A web server and application server).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby/passenger/mod_passenger.conf')
-rw-r--r-- | ruby/passenger/mod_passenger.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ruby/passenger/mod_passenger.conf b/ruby/passenger/mod_passenger.conf new file mode 100644 index 0000000000..f87c3a11bc --- /dev/null +++ b/ruby/passenger/mod_passenger.conf @@ -0,0 +1,37 @@ +# +# mod_passenger +# + +LoadModule passenger_module @baselibdir@/httpd/modules/mod_passenger.so +<IfModule mod_passenger.c> + PassengerRoot @passengerdir@ + PassengerDefaultRuby /usr/bin/ruby +</IfModule> + +# +# Deploying a web application: an example +# +# Suppose you have a web application in /somewhere. Add a virtual host to your +# Apache configuration file and set its DocumentRoot to /somewhere/public: +# + +#<VirtualHost *:80> +# ServerName www.yourhost.com +# # !!! Be sure to point DocumentRoot to 'public'! +# DocumentRoot /somewhere/public +# <Directory /somewhere/public> +# # This relaxes Apache security settings. +# AllowOverride all +# # MultiViews must be turned off. +# Options -MultiViews +# +# Require all granted +# </Directory> +#</VirtualHost> + +# +# And that's it! You may also want to check the Users Guide for security and +# optimization tips, troubleshooting and other useful information: +# +# https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html +# |