[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby and lampp

Vio Dds

4/16/2008 12:08:00 PM

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 ?
--
Posted via http://www.ruby-....

3 Answers

Vio Dds

4/16/2008 3:13:00 PM

0

Vio Dds wrote:
> 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
--
Posted via http://www.ruby-....

Jano Svitok

4/16/2008 3:29:00 PM

0

On Wed, Apr 16, 2008 at 5:13 PM, Vio Dds <vio_meyer@hotmail.com> wrote:
>
> Vio Dds wrote:
> > 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

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/rubyon...
http://rubyforge.org/mail/?gro...

Rick Saunders

10/4/2011 8:26:00 PM

0

On Oct 4, 1:40 pm, Yoorg...@Jurgis.net wrote:
> On Tue, 4 Oct 2011 05:52:26 -0700 (PDT), Rick Saunders
>
> <retro_...@yahoo.com> wrote:
>
> >Another notch for The One's belt: Also the most unemployed
> >workers since the Great Depression: 40 million. A new record!
>
> All thanks to the Job losses of BUSH (NINE MILLION) and the Financial,
> tax and regulatory policies of the REPUBLICAN PARTY.

So you're claiming that no one lost their job since 2009?
Go on, go on.