Bonjour a tous,
Quelqu'un c'est-il deja penché sur l'installation de Ruby On Rails sur sme ?
Merci
Modérateur: modos Ixus
<VirtualHost 0.0.0.0:80>
ServerName serveur.monsite.com
DocumentRoot /opt/redmine/public
<Directory /opt/redmine/public>
Order Deny,Allow
Deny from All
Allow from All
</Directory>
</VirtualHost>
{
my $status = $modPassenger{status};
if (defined $status)
{
if ( $status eq "enabled" )
{
$OUT .= "LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so\n";
$OUT .= "PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6\n";
$OUT .= "PassengerRuby /usr/bin/ruby\n";
$OUT .= "PassengerLogLevel 2\n";
}
else
{
$OUT .= "# modPassenger disabled\n";
}
}
}
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith restart
Option Indexes
[b]79redmine:[/b]
# Redmine using Passenger
<VirtualHost 0.0.0.0:80>
ServerName serveur.monsite.fr:80
DocumentRoot /opt/redmine/public
<Directory /opt/redmine/public>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
[b]20LoadModule80mod_passenger:[/b]
{
my $status = $modPassenger{status};
if (defined $status)
{
if ( $status eq "enabled" )
{
$OUT .= "LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so\n";
$OUT .= "PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6\n";
$OUT .= "PassengerRuby /usr/bin/ruby\n";
$OUT .= "PassengerLogLevel 2\n";
}
else
{
$OUT .= "# modPassenger disabled\n";
}
}
}
# Configuration for mod_passenger to deploy ruby on rails applications
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6
PassengerRuby /usr/bin/ruby
Retour vers E-Smith / SME Server
Utilisateur(s) parcourant actuellement ce forum : Google [Bot] et 1 invité