similar to: Apache as proxy for webrick

Displaying 20 results from an estimated 2000 matches similar to: "Apache as proxy for webrick"

2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see ''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too slow, I thought I''d proxy to WebBrick via Apache. I am having routing problems now with escaped slashes in the URL. Here''s my routes.rb: map.connect '''', :controller => "wiki"
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
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
2006 Nov 30
4
mongrel served from a subdirectory
Hello, I have setup mongrel successfully a few times now, but, each time I have used apaceh 2.2 and mod_proxy setup descibed on the mongrel site. However, I need to set up another app in a subdomain. example.com/docserver instead of docserver.example.com. I have tried just adding I have something like: ProxyPass /docserver/ http://example.com:3001/ ProxyPassReverse /docserver/
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 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All, I have successfully executed the "deploy" task in Capistrano/Switchtower to establish a symbolic link named "current" which points to the current version of my app. on my remote server. My app. was already deployed to the existing Rails root directory (call it "appname") though. I have Apache fronting my app. through a virtual host whose doc. root is itself
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
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:
2012 May 15
5
setting up the SQLite database
I know this isn''t Python, but I''d like to get a view on the ''one obvious'' way to set up an SQLite (or other) database and its location per-app. I''ve got a bit lost with the Camping 2 changes and various code snippets I have kicking around. 1. is it best to set up the DB creation/connection: 1.1 at the end of the app
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
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
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
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It complained routes.rb, no such file or directory and then sometimes i get application.rb, no such file or directory.Doesn''t seem correct to me. Though not so often, but even production servers throw these errors sometimes, and i have no special routes setup or something.Its pretty much default one, except few changes
2006 Feb 27
1
Problems dialing to another Asterisk server
Hi, I have a problem dialing a SIP phone which is logged in as different Astesrik machine from the one I am working with. I want to call a phone in Another astersik machine in , if it answers, calling a SiP phone registered in my ASterisk: My dialplan is: [mariaSIP] exten => _1.,1,Wait(1) exten => _1.,2,Dial(SIP/6021@192.168.0.51:5038,20) exten => _1.,3,HangUp() exten =>
2009 Jun 16
2
OT - Tomcat CLASSPATH issue
if this is ignored then fair enough as its not really the place for it but if anyone has seen this it would be good to know tomcat is 6.0.18 CLASSPATH is set in /etc/sysconfig/<appname> and this IS getting used as _some_ configuration items are being picked up from /etc/<appname> but the issue is when default setting from within the webapp are not being overwritten by settings in
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.
2011 Sep 20
1
sudo wildcards problem: for every argument a *-wildcard? Better solution?
Hi folks I allow the user tommy to run this command as root sudoCommand: /app/appname/connectors/*/*/current/bin/* With "sudo -l" he sees the sudoers, but is unable to execute. $ sudo /app/appname/connectors/zur/namename/current/bin/othername agentsvc --i --u root --sn 1m7command Sorry, user tommy is not allowed to execute
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