Htaccess File

cscode/deb/master/.htaccess

LoadModule passenger_module /opt/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so
   <IfModule mod_passenger.c>
     PassengerRoot /opt/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/passenger-4.0.37
     PassengerDefaultRuby /opt/rubies/ruby-2.1.0/bin/ruby
   </IfModule>

   LoadModule passenger_module /var/lib/gems/1.9.1/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so
   <IfModule mod_passenger.c>
     PassengerRoot /var/lib/gems/1.9.1/gems/passenger-4.0.37
     PassengerDefaultRuby /usr/bin/ruby1.9.1
   </IfModule>

   <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
      </Directory>
   </VirtualHost>
Exit mobile version