Displaying 20 results from an estimated 2000 matches similar to: "mongrel served from a subdirectory"
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
Hi,
I''m struggling to get an Apache rewrite rule to work. I have a
simple rule that for a request to "a.html" will be sent to "b.html".
However the requests for "a.html" are always sent to my Rails apps.
Here is my Apache configuration:
<VirtualHost 216.154.219.19:80>
<Directory /u/apps/simplelog_2.0.2/public/>
Options FollowSymLinks
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working
together. I looked over my earlier post and followed the instructions
on ezra''s website to install lighttpd on debian. I''ve gotten really far
but I think there is one bit missing:
1. I got apache2 and php working together
2. I got lighttpd working on port 3000 and my rails app launches ok
2007 Feb 07
8
Apache+Mongrel Redirection Problems
Hi folks,
Newbie issues...I''m prototying an Apache/Mongrel configuration setup
as follows:
* Two Mongrel servers each serving a Rails application.
* Apache front-end.
* Linux system (CentOS)
* The plan is to create two virtual hosts.
/ETC/HOSTS LOOKS LIKE THIS:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1
2006 Mar 22
5
Apache - Rails communication.
Please, if this question is not appropriate to this list please direct
me elsewhere. If it has been discussed in a previous thread, please
direct me there. An initial search of the archives did not appear to
show anything.
I am new to Rails but not to app servers having 4 years with J2EE.
The set up of a Rails app seams strait forward and I understand the
MVC model. Initial test code has
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
Hello,
I am configuring apache 2.2 to serve my rails app through mongrel at
the root of my server. First, I redirect all http traffic to https
with the following:
ServerName emiliano
NameVirtualHost *:80
<VirtualHost *:80>
RedirectPermanent / https://emiliano #this server is only accessed internally
</VirtualHost>
Inside the <VirtualHost *:443> section, I have the following
2007 Feb 22
1
OT(?): ReverseProxy and URLs
This could be OT. If so, just let me know and I apologize in advance.
I mentioned in an earlier email that I have Mongrel setup as a proxy server
behind Apache. Rails applications served by Mongrel do not find the CSS file
and hence no styles are displayed. In fact, many of the actions are not
found.The reason, I believe, is because the URLs for styles and actions
typically follow this pattern:
2019 Apr 08
1
Question about replacing the web interface with an audio stream
I have had a bunch of issues getting reverse proxy running with apache
properly, the main issue is with YP listings and having icecast list the
revproxy mount at port 80 rather than the icecast one at port 8000.
Unfortunately, I /need/ some sort of http server on port 80 - and I know
apache the best.
That being said, if you know the mounts you want to reverse proxy, its
not an arduous exercise
2016 Feb 29
4
Problems with ProxyPass to a local ip (using SSL)
Hi all,
I am trying to setup an apache virtualhost under CentOS 6.7 that needs to redirects requests from port 444 to port 5100 in its local ip. But I am doing some mistakes because every time I'm receiving a loop error.
My actual httpd's config for this virtualhost is:
NameVirtualHost 192.168.1.5:444
<VirtualHost 192.168.1.5:444>
ServerName myweb01.local.domain
ErrorLog
2006 Jan 05
1
Apache reverse proxy authentication problem on RHEL based distribs only
Hi,
I'm currently setting up an Apache SSL reverse proxy for Exchange 2003
Outlook Web Access. The setup that I have works fine on my Gentoo laptop
or on a Trustix server, however, when I try to set it up on an RHEL
based distro, with the exact same virtual host settings, I get some
weird error with the authentication mechanism. I have tried with both
CentOS 4.2, based off the server CD
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 Apr 06
3
Apache as proxy for webrick
Hello,
We have a webrick server running our nice app, and an apache server
being used to serve the rest of the site and act as a proxy for the
webrick app.
<code>
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /appname http://server.com:3000
ProxyPassReverse /appname
2019 Apr 08
2
Question about replacing the web interface with an audio stream
Okay, but you’d have to be able/willing to employ a dedicated IP to that, plus run Icecast as root.
What are the negative technical implications of running icecast on port 8000 (suitable for most users) and then running a reverse proxy to accommodate public wifi with port restrictions?
> On Apr 8, 2019, at 3:31 PM, Yahav Shasha <yahav.shasha at gmail.com> wrote:
>
> Just bind
2008 Jun 16
3
Apache rewrites with mongrel
I?m knew to rewrites on apache in combination with mongrelcluster.
It?s urgend for me, because the server has an loadaverage about 10
:-(((((
Ok so I?m using 3 mongrel-server on an mongrelcluster. The Loadbalancer
ist apache
I think, that my rewrites are not correct. Please can anybody check my
rewrites ?
That?s in my /etc/apache2/conf.d/rails.proxy_cluster.conf
<Proxy
2006 May 08
10
Apache 2.2, ProxyPass and HTTPS
Hi all,
I''m currently trying to get Mongrel running my app whilst fronted by
apache 2.2 in a sub-directory via https. A bit convoluted I''ll grant
you but necessitated by existing systems.
The pertinent parts of my httpd.conf:
<VirtualHost 123.123.123.123:12345> #historic choice of random port number
DocumentRoot /var/www/admin
ServerName admin.example.com:12345
2006 Oct 07
2
Proxying Apache to Mongrel, not sure if Apache is serving up static files
Let''s try this one...
I have Apache 2.0.55 set up and also have Mongrel set up. I have
Radiant set up running under Mongrel, and have Apache proxying to the
Mongrel instance. That all seems to be working fine.
I thought I''d modify the settings a bit to let Apache serve up the
static files - images, stylesheets, etc. I have it set up, and am not
getting any errors.
However.
2019 Apr 12
1
Cockpit within httpd
Folks
I'd love to use Cockpit, but I cannot open port 9090 for the access
in all cases. I'd like to access it via my usual http port (such as
80) where I'm limited to a single HTTP port. I understand the
security implications, and can deal with them later.
My attempt was to allow the following URL to access the cockpit functionality:
http://xxx.example.com/cockpit
(not the
2006 Aug 10
7
mongrel stops responding after period of no use
I just moved from apache2/fcgi to apache2.2/mongrel and everything
seems to work great except for 2 issues, one being major and one
minor.
the major issue i am experiencing is that after a period of time where
my rails apps are not used, typically overnight, the mongrel processes
become unresponsive. I currently have 3 apps running behind an
apache2.2 proxy. every morning when i come in to
2006 Sep 07
21
Multiple rails apps with Mongrel
I''m trying to set up several different Rails apps on the same domain, each
one running Mongrel. After reading all of the documentation, it''s fairly
clear how to use subdomains - create several Apache virtual hosts, each of
which has a different ProxyPass and ProxyPassReverse command to redirect
from different ports (ie, 3000, 3100), and then have each Mongrel instance
(or
2006 Mar 06
7
Set base url?
I have an application running on a Lighttpd instance which is proxied by an
Apache server. It seems to work fine but my urls are incorrect: all urls
reference / which is not where my application runs at the Apache server.
How do I set the base url of a Rails application?
My Apache has the following proxy rules:
ProxyPass /hieraki http://localhost:3001
ProxyPassReverse /hieraki
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
Recently while i turned on USR1 debugging...mongrel running behind
Apache2.2threw following debugging messages:
Thu Sep 07 15:58:30 IST 2006: 0 threads sync_waiting for /charts/%5EBSESN, 1
still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
/images/tab_but_normal1.png, 3 still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for