Displaying 20 results from an estimated 182 matches for "proxypass".
2008 Jun 16
3
Apache rewrites with mongrel
...ed/000-rails
RewriteEngine On
# Deflate
AddOutputFilterByType DEFLATE text/html text/plain text/css
text/xml
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
ProxyPass /images !
ProxyPass /stylesheets !
ProxyPass /javascripts !
Alias /images /var/www/rails/myApp/current/public/images
Alias /stylesheets
/var/www/rails/myApp/current/public/stylesheets
Alias /javascripts
/var/www/rails/myApp/current/public/javascripts...
2006 Dec 15
1
Help w/ Apache Proxying Mongrel
...m all
</Proxy>
#Proxy information for project application
Alias /project "e:/rails_apps/project/public"
<Directory "e:/rails_apps/project/public">
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
ProxyPass /project/images !
ProxyPass /project/stylesheets !
ProxyPass /project/javascripts !
ProxyPass /project/ http://127.0.0.1:4000/
ProxyPass /project http://127.0.0.1:4000/
ProxyPassReverse /project/ http://127.0.0.1:4000/
#Proxy information for research guides application
#this is the applic...
2008 Jul 06
2
How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
Hi Friends,
I am using Centos 5.2 and using ProxyPass to access applications
running on other servers. Everything is working fine except for one of
the applications I need to auto add forward slash when any user tries
to access that application. For ex
ProxyPass /testdiary http://testdiary.example.com/
ProxyPassReverse /testdiary...
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it from remote location.
2006 Dec 16
5
trying to add another app
...EQUEST_URI} [P,QSA,L]
# Deflate
AddOutputFilterByType DEFLATE text/html text/plain text/xml
application/xml application/xhtml+xml text/javascript text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
ProxyPass /images !
ProxyPass /stylesheets !
ProxyPass /javascripts !
#continue with other static files that should be served by apache
Alias /images /home/patcito/testapp/public/images
Alias /stylesheets /home/patcito/testapp/public/stylesheets
Alias /javascripts /home/patcito/testapp/public/javascripts...
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
...ion, which seems extremely standard:
<Proxy balancer://mongrel>
BalancerMember http://localhost:8000
BalancerMember http://localhost:8001
BalancerMember http://localhost:8002
</Proxy>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stylesheets !
ProxyPass /javascripts !
ProxyPass /images !
ProxyPass / balancer://mongrel/
ProxyPassReverse / balancer://mongrel/
ProxyPreserveHost On
When I point my browser to "https://emiliano" I get the login page
that I expect. When I submit the login form the authorization is
pro...
2006 Dec 14
0
Apache2, Mongrel & multiple apps
...Allow from all
</Proxy>
#Proxy information for project application
Alias /project "e:/rails_apps/project/public"
<Directory "e:/rails_apps/project/public">
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
ProxyPass /project/images !
ProxyPass /project/stylesheets !
ProxyPass /project/javascripts !
ProxyPass /project/ http://127.0.0.1:4000/
ProxyPass /project http://127.0.0.1:4000/
ProxyPassReverse /project/ http://127.0.0.1:4000/
#Proxy information for research guides application
#this is the application n...
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 cluster) set to the corresponding port (3000, 3100). [If this theory is
incorrect, please let me know!]
However, what I''m trying to acheive is to host them all under the...
2007 Mar 25
2
Mongrel & Mint (PHP related)
Hi, Does anyone have the Mint stats package setup with their Rails
application. I have uploaded Mint to the public folder, but when I try
and request domain.com/mint/index.php the page is served as a download
instead of being processed by mod_php. Im guessing this isn''t really a
Mongrel problem but what I actually need to do is prevent Apache
proxying certain requests to Mongrel.
2012 Oct 14
1
Trouble with Apache2 ProxyPass
...has a simple solution, so I''m hoping the experienced
shorewall users can help me.
I''ve got a 3-interface (net,dmz, & loc) firewall and have several apache2
virtual web sites in the dmz. They come into 1 apache server in the dmz, and
are redirected with the directive "ProxyPass" and "ProxyPassReverse" in my
Apache "sites-enabled" files to other servers in the dmz.
In most cases, the proxy''d web servers are in virtual machines in the dmz. In
1 case, however, I want to have this server in my local subnet.
So here are the details:
Ext...
2009 Sep 17
1
[PATCH server] oVirt server single network installer
...c/httpd/logs/access_log
- LogLevel warn
-
- RewriteEngine On
- RewriteMap vmnodes prg:/usr/bin/ovirt-vm2node
- RewriteRule ^/terminal/(.+)/anyterm-module$ http://${vmnodes:$1}:81/anyterm-module [P]
- RewriteRule ^/terminal/(.+)/(.*\.(html|js|css|gif))*$ http://127.0.0.1/terminal/$2 [P,NE]
-
- ProxyPass /ovirt http://AdminNodeFQDN/ovirt retry=3
- ProxyPassReverse /ovirt http://AdminNodeFQDN/ovirt
-</VirtualHost>
-
-<VirtualHost AdminNetIpAddress:80>
-
- ServerAlias AdminNodeFQDN
- ServerName AdminNodeFQDN:80
-
- ErrorLog /etc/httpd/logs/error_log
- TransferLog /etc/httpd/logs/acce...
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
...g_2.0.2/public/>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.html
</Directory>
ServerName scottwalter.com
DocumentRoot /u/apps/simplelog_2.0.2/public
SuexecUserGroup webadmin webadmin
RewriteEngine On
RewriteRule ^a\.html$ b.html
ProxyPass / http://127.0.0.1:3002/
ProxyPassReverse / http://127.0.0.1:3002/
ProxyPreserveHost on
ServerAlias "www.scottwalter.com"
ServerAdmin "support at scottwalter.com"
CustomLog "/u/apps/simplelog_2.0.2/log/access_log" "combined"
ErrorLog "/u/apps/simplelog_2...
2008 Jan 25
2
Apache, proxypass and REMOTE_USER
Hello, still trying to get things going.
With proxypass the REMOTE_USER variable set by mod_auth_* is not passed to
mongrel. I found another admin that has the same problem[1], but no solution.
Did someone here solve this problem?
[1]http://mail-archives.apache.org/mod_mbox/httpd-users/200610.mbox/<323a37200610021509k6142cb08q6e6b0642e3261c6d%40ma...
2016 Feb 29
4
Problems with ProxyPass to a local ip (using SSL)
...info
SSLEngine on
SSLProxyEngine On
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite ALL:!ADH:!EXPORT56:!EXP:!eNULL:!aNULL:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2
SSLCertificateFile /etc/httpd/certs/server.crt
SSLCertificateKeyFile /etc/httpd/certs/server.key
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://192.168.1.5:5100/
ProxyPassReverse / http://192.168.1.5:5100/
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "444"
RewriteEngine On
RewriteRule ^/(.*) https://myweb01.local.domain:444/$1 [R,L]
</VirtualHost>
As you can see, I...
2012 Aug 04
1
string matching in erb template
Hi!
I am trying to match a string in an ERB template but for what ever reason
it does not work.
<% if has_variable?("apache2_phpmyadmin_url") && apache2_phpmyadmin_url !=
"" then %>
ProxyPass /<%= apache2_phpmyadmin_url %>/ !
<% end %>
The conditional works on has_variable? but the != "" is not getting
evaluated. When the variable is set to "" than the Proxypass is set to /
instead of being left out.
Any ideas what I am doing wrong?
Best Regards,...
2006 Jul 05
7
multiple mongrel clusters
If this was in the docs, I''ve missed it. How can I have multiple
mongrel clusters on a server? All the documentation that I am seeing
seems to assume that I am only running one cluster.
2006 Jul 07
10
problem serving pdf files
I''m using the instructions from
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/to
configure mongrel_cluster with apache mod_proxy_balancer. Everything
works fine, except when I try to link to a pdf file to be opened in a new
window, it displays the contents of the pdf as text instead of opening it as
a pdf document through Acrobat.
2006 Nov 30
4
mongrel served from a subdirectory
...e 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/ http://example.com:3001
ProxyPreserveHost on
The problem seems to be two fold. First, the css, image and javascript
links, are all broken. Second all the generated links are to
/controller/action instead of to docserver/...
2016 Feb 29
0
Problems with ProxyPass to a local ip (using SSL)
...On
> SSLProtocol -ALL +SSLv3 +TLSv1
> SSLCipherSuite ALL:!ADH:!EXPORT56:!EXP:!eNULL:!aNULL:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2
> SSLCertificateFile /etc/httpd/certs/server.crt
> SSLCertificateKeyFile /etc/httpd/certs/server.key
> ProxyRequests Off
> ProxyPreserveHost On
> ProxyPass / http://192.168.1.5:5100/
> ProxyPassReverse / http://192.168.1.5:5100/
> RequestHeader set X-Forwarded-Proto "https"
> RequestHeader set X-Forwarded-Port "444"
> RewriteEngine On
> RewriteRule ^/(.*) https://myweb01.local.domain:444/$1 [R,L]
> </Virtu...
2016 Mar 01
0
Problems with ProxyPass to a local ip (using SSL)
On 02/29/2016 05:19 AM, C. L. Martinez wrote:
> But I am doing some mistakes because every time I'm receiving a loop error.
...
> <VirtualHost 192.168.1.5:444>
...
> ProxyPass / http://192.168.1.5:5100/
> ProxyPassReverse / http://192.168.1.5:5100/
> RewriteEngine On
> RewriteRule ^/(.*) https://myweb01.local.domain:444/$1 [R,L]
> </VirtualHost>
>
> As you can see, I need to do a redirection to port 5100 from 444 port and protect it using ssl...