Ruby and lampp


V

Vio Dds

Hello,

I have a problem whith my ruby configuration.

I explain :
I have lampp installed in my computer and I use Joomla AND Redmine

My /etc/hosts is like this:
127.0.0.1 localhost localhost.localdomain
85.31.216.211 www mywebsite

Joomla is configured on 'mywebsite' and I try to put redmine on
'mywebsite'/redmine. That's why I wrote the httpd.conf like :

LoadModule rewrite_module modules/mod_rewrite.so
########################################
# RUBY SETUP
########################################
<VirtualHost *:80>
ServerName mywebsite/redmine
DocumentRoot "/opt/lampp/htdocs/redmine/public"
ProxyRequests Off
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/

<Location />
Order allow,deny
Allow from all
</Location>

<Directory "/opt/lampp/htdocs/redmine/public/">

Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
AddHandler cgi-script .cgi
#AddHandler fastcgi-script .fcgi

</Directory>
</VirtualHost>

########################################
# RUBY SETUP
########################################

But it doesn't work. Joomla is ok on 'mywebsite' but the url
'mywebsite'/redmine isn't found.

Please, does anyone know what I missed ?
 
Ad

Advertisements

V

Vio Dds

Vio said:
Hello,

I have a problem whith my ruby configuration.

I explain :
I have lampp installed in my computer and I use Joomla AND Redmine

My /etc/hosts is like this:
127.0.0.1 localhost localhost.localdomain
85.31.216.211 www mywebsite

Joomla is configured on 'mywebsite' and I try to put redmine on
'mywebsite'/redmine. That's why I wrote the httpd.conf like :

LoadModule rewrite_module modules/mod_rewrite.so
########################################
# RUBY SETUP
########################################
<VirtualHost *:80>
ServerName mywebsite/redmine
DocumentRoot "/opt/lampp/htdocs/redmine/public"
ProxyRequests Off
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/

<Location />
Order allow,deny
Allow from all
</Location>

<Directory "/opt/lampp/htdocs/redmine/public/">

Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
AddHandler cgi-script .cgi
#AddHandler fastcgi-script .fcgi

</Directory>
</VirtualHost>

########################################
# RUBY SETUP
########################################

But it doesn't work. Joomla is ok on 'mywebsite' but the url
'mywebsite'/redmine isn't found.

Please, does anyone know what I missed ?


Please, nobody can help me ??
I tried ProxyPass /redmine/ http://localhost:3000/
ProxyPassReverse /redmine/ http://localhost:3000/

instead of ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/


but nothing happened
 
Ad

Advertisements

J

Jano Svitok

Please, nobody can help me ??
I tried ProxyPass /redmine/ http://localhost:3000/
ProxyPassReverse /redmine/ http://localhost:3000/

instead of ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/


but nothing happened

1. I guess you have to run mongrel ore webrick on port 3000. Have you
started it?
2. This is most probably an Apache/Rails/Mongrel deployment problem,
so you might get better help
at either rails or mongrel lists.
http://groups.google.com/group/rubyonrails-talk
http://rubyforge.org/mail/?group_id=1306
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top