search for: proxypassreverse

Displaying 20 results from an estimated 141 matches for "proxypassreverse".

2009 Sep 17
1
[PATCH server] oVirt server single network installer
...gine 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/access_log - LogLevel warn - - ProxyRequests Off - -<ProxyMat...
2008 Jul 06
2
How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
...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 http://testdiary.example.com/ If somebody access directly http://testdiary.example.com/ everything is coming means the login page but when the same link is accessed through apache server on which proxypass is running then the login page does not appear(http://portal.example.com/te...
2005 Dec 08
3
lighttpd proxy w/ apache2
...this vhost section into my apache2/sites-enabled folder in order to pass the sites that will be using ruby to lighttpd <VirtualHost *:80> ServerName example.com ServerAlias www.example.com #ProxyPreserveHost on #<-apache2 only ProxyPass / http://example.com:8000/ ProxyPassReverse / http://example.com:8000/ </VirtualHost> changing the example.com to my URL. 4. I got an error so I used a2enmod proxy. Stopped and restarted apache2 5. After doing that when I go to my URL I get a 403 error: Forbidden In fact, I can''t go to any IP/URL on that server without seei...
2019 Apr 08
1
Question about replacing the web interface with an audio stream
.../usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Require all granted </Directory> ProxyPreserveHost On ProxyPass /jakemusic http://localhost:8000/jake-radio.mp3 ProxyPassReverse /jakemusic http://localhost:8000/jake-radio.mp3 ProxyPass /carlymusic http://localhost:8000/carly-radio.mp3 ProxyPassReverse /carlymusic http://localhost:8000/carly-radio.mp3 ProxyPass /dnbmusic http://localhost:8000/dnb-radio.mp3 ProxyPassReverse /dnbmusic http://localhost:8000/d...
2006 Apr 15
1
problem apache proxy reverse
...tpd-2.0.52-22.ent.centos4, this is configured like a reverse proxy, but i have a problem only the first site name on the httpd.conf work when i do a peticion from internet for all the rest servers only respond the firts. <VirtualHost *> ServerName dir_ip ProxyPass / http://ejemplo1.test.com/ ProxyPassReverse / http://ejemplo1.test.com/ </VirtualHost> <VirtualHost *> ServerName dir_ip2 ProxyPass / http://ejemplo2.test.com/ ProxyPassReverse / http://ejemplo2.test.com/ </VirtualHost> <VirtualHost *> ServerName dir_ip3 ProxyPass / http://ejemplo3.test.com/ ProxyPassReverse / ht...
2005 Nov 28
5
Rails on lighttpd through proxy
Hi All, We have a PHP site running on apache 1.3 and Im trying to graft typo onto it at /blog/. Ive got the running using the symlink method but apache/fastcgi are clunky to say the least so I want to move typo over to lighttpd. Ive got this all working and Im now trying to get a proxy working through from apache. Im using this: RewriteRule ^/blog/?(.*)$ http://blog.myorg.net:8080/$1 [P]
2006 Jan 05
1
Apache reverse proxy authentication problem on RHEL based distribs only
...ile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key RequestHeader set Front-End-Https "On" ProxyRequests Off ProxyPreserveHost On LogLevel debug <Location /exchange> ProxyPass http://yyy.yyy.yyy.yyy/exchange ProxyPassReverse http://yyy.yyy.yyy.yyy/exchange SSLRequireSSL </Location> <Location /exchweb> ProxyPass http://yyy.yyy.yyy.yyy/exchweb ProxyPassReverse http://yyy.yyy.yyy.yyy/exchweb SSLRequireSSL </Location> <Location /public> ProxyPass http://yyy.yyy...
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.
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
...ymLinks 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.0.2/log/error_log" </VirtualHost&...
2006 Nov 30
4
mongrel served from a subdirectory
...ach 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/controller/action. I tried putting RAILS_RELATIVE_URL_ROOT...
2007 Feb 07
8
Apache+Mongrel Redirection Problems
....1.84 railstest HTTPD.CONF LOOKS LIKE THIS: [snip] NameVirtualHost 10.4.1.84 <VirtualHost rss> ServerName rss ServerAlias rss RewriteEngine on RewriteRule ^/rss(.*) http://10.4.1.84:5432$1 <http://10.4.1.84:5432/>[P] ProxyPass / http://10.4.1.84:5432/ ProxyPassReverse / http://10.4.1.84:5432/ </VirtualHost> <VirtualHost railstest> ServerName railstest ServerAlias railstest RewriteEngine on RewriteRule ^/railstest(.*) http://10.4.1.84:8021$1<http://10.4.1.84:8021/>[P] ProxyPass / http://10.4.1.84:8021/ ProxyPassRever...
2006 Mar 06
7
Set base url?
...ich 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 http://localhost:3001 But links in the Hieraki main page are like http://someserver.com/xml/rss for the RSS feed and http://someserver.com/wiki/folder/show/ROOT for the root.
2016 Feb 29
4
Problems with ProxyPass to a local ip (using SSL)
...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 need to do a redirection to port 5100 from 4...
2006 Sep 26
5
Expert feedback needed
...d %{DOCUMENT_ROOT}%{REQUEST_URI} -f RewriteRule (.*) $1 [L] # Don''t do forward proxying ProxyRequests Off # Enable reverse proxying <Proxy *> Order deny,allow Allow from all </Proxy> # Pass other requests to mongrel instance ProxyPass / http://127.0.0.1:8200/ ProxyPassReverse / http://127.0.0.1:8200/ </VirtualHost> It would be great if some expert could take a look at my config and point me at my mistakes etc ! I am asking this because it looks like it just works, and it makes me think that it can''t be so easy :) Thanks, Martins
2007 Feb 22
1
OT(?): ReverseProxy and URLs
...alHost 10.4.1.84 <VirtualHost 10.4.1.84> RewriteEngine on RewriteRule ^/rss(.*) http://10.4.1.84:5222$1 [P] RewriteRule ^/railstest(.*) http://10.4.1.84:8223$1 [P] </VirtualHost> <VirtualHost 10.4.1.84> ServerName rss ProxyPass / http://10.4.1.84:5222/ ProxyPassReverse /rss http://10.4.1.84:5222/ ProxyPreserveHost on </VirtualHost> <VirtualHost 10.4.1.84> ServerName railstest ProxyPass / http://10.4.1.84:8223/ ProxyPassReverse /railstest http://10.4.1.84:8223/ ProxyPreserveHost on </VirtualHost> Any help, as always, is a...
2006 Dec 15
1
Help w/ Apache Proxying Mongrel
...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 not working properly Alias /research "e:/rails_apps/research/public" <Directory "e:/rails_apps/research/public"> Options Indexes FollowSymLinks AllowOver...
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 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 Apr 06
3
Apache as proxy for webrick
...ache 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 http://server.com:3000 ProxyPreserveHost On </IfModule> </code> If you go to http://server.com/appname everything seem to work fine, however when the app needs to redirect it strips the appname out of the path. e.g. http://server.com/redirectcontroller/redirectaction Ap...
2006 Sep 21
2
proxying and mongrel 0.3.13.4
...n a situation where I need to proxy a directory name to mongrel for a new application, and not having any success. I saw Zed''s mention of the --prefix option in 0.3.13.4, so I have updated to that release. Is this what should work? In httpd.conf: ProxyPass /thisapp http://localhost:7000/ ProxyPassReverse /thisapp http://localhost:7000/ Mongrel startup cmd: /usr/local/bin/mongrel_rails start -d --prefix=/thisapp -p 7000 -a 127.0.0.1 -l log/mongrel.log -P log/mongrel.pid -n 200 --user myuser --group mygroup With this setup, apache is logging a 404, but the 404 page being returned to the client look...