Displaying 20 results from an estimated 2000 matches similar to: "ssl breaks rails app"
2006 Aug 10
0
apache+ssl+cgi problem
I''m a newbie both with rails and configuring a server so I appreciate
any help available.
My rails app works until I add ssl - then the routing seems to break.
In ssl_error_log I have:
[Thu Aug 10 15:43:07 2006] [error] [client ###.##.##.## ] File does
not exist: /var/www/html/myapp/public/login
Notice the login request is not routed appropriately. The request
does not even show up
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but
I''m not finding any guidance on this problem. When I try to talk to my
mongrel it simply responds with NOT FOUND and nothing else. I can''t
find anything on google because this has to be the second most commond
phrase in existence.
Any help or guidance would be greatly appreciated.
Sincerely,
Chuck Vose
2011 Oct 10
0
passenger , ruby on rails , apache 2.2.21
Hello,
I am configuring apache 2.2 to serve my rails app through passenger.
First, I redirect all http traffic to https with the following:
This is my web server apache conf file.
ServerName sampleapp
NameVirtualHost *:80
<VirtualHost *:80>
Options FollowSymLinks
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
I am trying to move a Rails application, that uses SSL, from an
Apache/FastCGI stack, that works fine, to Apache22 and mongrel
working with a single mongrel instance (i.e., not mongrel cluster, yet.)
I have a single mongrel instance demonized and working fine on http,
on port 3000. Apache/OpenSSL/certs working fine.
Here is my test http.conf (deliberately kept as simple as possible):
2007 Jan 17
2
mongrel cluster (+ Apache 2.2.4 + proxy balancer) not redirecting correctly
I''m in the process of setting up a mongrel cluster at the moment, and I''m
running into a bit of an issue. Even worse is that I''m not sure whether
this is a mongrel thing, or an Apache thing. While I''m inclined to think
that this might be a balancer thing, I decided there was a higher chance
hearing back from mongrel-users than from apache-users, so I''d
2008 Mar 17
0
ssl_requirement problems - https --> http
I am having problems with the SSL Requirement plugin.
It redirects to HTTPS no problem.
Problem is when I want it to leave HTTPS it stays!
Have put the following in apache ssl config:
<VirtualHost *:443>
ServerName codegarden.co.uk:443
ProxyPass / http://localhost:4003/
ProxyPassReverse / http://localhost:4003/
ProxyPreserveHost On
RequestHeader set X_FORWARDED_PROTO
2008 Apr 02
0
X_FORWARDED_PROTO issues
Hi all -
I''m having some behavior that i can''t track down and I''m not sure if
this is an Apache problem, a mongrel problem or neither.
Anyway - in my production setting I have two Apache 2.2 proxy servers
pointing to two servers running mongrel instances.
In my SSL.conf file I have this:
RequestHeader set X_FORWARDED_PROTO ''https''
It seems that if
2009 Sep 17
1
[PATCH server] oVirt server single network installer
Updates the installer to handle the scenario in which the guest and
admin networks are the same by using an alternative httpd conf.
Verified to work (eg oVirt managed vms are bootable) on the
oVirt appliance so far.
---
conf/ovirt-server.conf | 88 --------------------
installer/bin/ovirt-installer | 11 +--
2012 Jun 12
1
Dashboard with RackbaseURI / and RailsAutoDetect off
Hi all
I am testing an installation on SLC 6.2 I am trying to configure my Vhost
so that RailsAutoDetect is set to off, and RackBaseURI /
However I keep in getting an error as follows:
*Error message:*
No such file or directory - config.ru
*Exception class:*
Errno::ENOENT
*Application root:*
/usr/share/puppet-dashboard
If I take out the RackBaseURI statement and return the
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
2012 Dec 17
1
multiple puppet masters
Hi,
I would like to set up an additional puppet master but have the CA server
handled by only 1 puppet master. I have set this up as per the
documentation here:
http://docs.puppetlabs.com/guides/scaling_multiple_masters.html
I have configured my second puppet master as follows:
[main]
...
ca = false
ca_server = puppet-master1.test.net
I am using passenger so I am a bit confused how the
2016 Feb 29
0
Problems with ProxyPass to a local ip (using SSL)
On Mon 29.Feb'16 at 13:19:07 +0000, C. L. Martinez wrote:
> 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
2014 Aug 29
0
Using puppet with Apache mod_disk_cache and passenger over SSL
I have tried to setup Apache with passenger to host the puppetmaster but I
also want to cache. I have no problems running puppet within Passenger with
httpd. I also enabled mod_disk_cache within Apache. However, I still see my
puppet client htting the puppetmaster and the puppetmaster compiles the
manifest every time. In /var/cache/mod_cache, I can see that the data was
properly cached.
2008 Sep 23
5
Problem getting Rails to emit the correct (proxy) domain in route urls
Behind the scenes my app runs like this:
http://myapp.mydomain.com/myapp and
and
https://myapp.mydomain.com/myapp
are Apache 2.2 virtual hosts proxy-balanced to a mongrel cluster
on the same machine.
But I need to make these available here:
https://www.mydomain.com/myapp
and
https://myapp.mydomain.com/myapp
are on a second server using ProxyPass and ProxyPassReverse to
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
2012 Feb 06
1
Puppet / Passenger SSL Problems with DRBD
I am working on setting up a Puppet configuration where some of the
data is stored on a DRBD volume. The modules and vardir are stored on
the drbd volume. The puppet.conf files point to the drbd volume for
vardir. I created a cert for a VIP puppet-master using the puppetca --
create command
I had everything working on the primary drbd node, but when I fail
over, everything starts up fine, but I
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
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
Hi all
I got a vps setup amazingly fast using the deprec recipes on Ubuntu
edgy, but now I''m having a minor issue where my site loads for the
main domain when I only want it accessible from the subdomain. This
is a pretty typical setup, apache 2.2.3 -> mongrel_proxy_balancer ->
mongrel cluster. I''m sure I''m missing something obvious in the
config...
I have the
2006 Nov 13
1
Service Temporarily Unavailable when using apache
hey all,
I''m trying to do a mongrel_cluster+apache2 config.
this is my testapp.conf:
<VirtualHost *:80>
Include /etc/apache2/conf.d/testapp.common
# ErrorLog logs/testapp_errors_log
# CustomLog logs/testapp_log combined
</VirtualHost>
this is my testapp.common:
ServerName myapp.com
DocumentRoot /home/patcito/testapp/public/
<Directory
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