[Catalyst-dev] Trouble with ProxyPass
Jillian Rowe
jir2004 at qatar-med.cornell.edu
Mon Jun 17 11:44:06 GMT 2013
Hello,
I'm having trouble getting my application running under ProxyPass using
Apache. I'm not entirely sure if it my worries lie in catalyst or
apache. I do have another application (not catalyst) which uses
proxypass with the exact same SSL config and its fine.
It will display pages fine, but when I go to submit a form I get the
following:
"Although this page is encrypted, the information you have entered is to
be sent over an unencrypted connection and could easily be read by a
third party.
Are you sure you want to continue sending this information?"
This is what my apache config looks like:
ProxyRequests On
ProxyVia On
ProxyReceiveBufferSize 16384
<Location />
ProxyPass http://127.0.0.1:3000/
ProxyPassReverse http://127.0.0.1:3000/
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
SSLRequireSSL
SetHandler perl-script
RequestHeader set X-URL-SCHEME https
Order allow,deny
Allow from all
</Location>
I have $c->config->{using_frontend_proxy} = 1.
My application works fine if I just do localhost:3000, and it also works
fine when I run it as a fastcgi application. I do not get the security
warning when running either under development or fastcgi.
I am looking into using the proxypass option solely for development. I
am working on an application that uses very big data and log into a
virtualbox for it. I have several file locations that are references to
urls.
Alias /bigdata /data/share/web_public/bigdata
<Directory /data/share/web_public/bigdata>
AllowOverride All
Options Indexes MultiViews FollowSymLinks
order Allow,Deny
Allow from all
</Directory>
So I need something happening with apache I think. Is there anyway to
get Catalyst to alias those paths for me?
I have really been making my head explode over this, and help would be
very appreciated!!!
Best,
Jillian
More information about the Catalyst-dev
mailing list