mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
72aaed5ad3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
37 lines
1,017 B
Text
37 lines
1,017 B
Text
#
|
|
# 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
|
|
#
|