Displaying 20 results from an estimated 56 matches for "proxypreservehost".
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
...y
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>
Does anyone have any ideas?
2005 Dec 08
3
lighttpd proxy w/ apache2
...ept that
ruby is on port 3000 while the rest is going on port 80.
3. I copied/pasted 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 er...
2006 Nov 30
4
mongrel served from a subdirectory
...ed 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="/docserver/" in enviornment.rb, but
that didn...
2007 Feb 22
1
OT(?): ReverseProxy and URLs
...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 appreciated.
Thanks,
Stan
-------------- next part...
2015 Oct 01
2
Off Topic - SSL reverse proxy and Mixed Content
...get all code changed so
that it references
//myserver/resource or /resource rather than http://myserver/resource but
is there anything I can do with httpd to get this working until these
changes are made ?
Thanks for any suggestions. Below is my current VirtualHost config
ProxyRequests On
ProxyPreserveHost On
ProxyTimeout 300
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://myserver/
ProxyPassReverse / http://myserver/
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
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
...ntry.com
ErrorLog "/var/log/www/new.identry.com-error.log"
CustomLog "/var/log/www/new.identry.com-access.log" combined
#DocumentRoot "/home/identry/public_html"
ProxyPass / http://new.identry.com:3000/
ProxyPassReverse / http://new.identry.com:3000/
ProxyPreserveHost on
</VirtualHost>
<VirtualHost 69.1.254.101:443>
ServerName new.identry.com
ErrorLog "/var/log/www/new.identry.com-error.log"
CustomLog "/var/log/www/new.identry.com-access.log" combined
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+ME...
2019 Apr 08
1
Question about replacing the web interface with an audio stream
...s.log combined
Include conf-available/serve-cgi-bin.conf
ScriptAlias /cgi-bin/ /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 htt...
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
...alhost: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
properly processed (I checked the access log). However, my browser is
then directed to https://emilianousers/home (note the missing "/"
betwe...
2006 Apr 06
3
Apache as proxy for webrick
...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
Apache gets all confused because it can''t find...
2019 Apr 12
1
Cockpit within httpd
...mple.com
DocumentRoot /home/xxx/public_html
Options +ExecCGI +Includes +FollowSymLinks
LogFormat Combined
TransferLog /var/log/httpd/u_xxx_access_log
ErrorLog /var/log/httpd/u_xxx_error_log
RewriteEngine on
ProxyPreserveHost On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /cockpit/(.*) ws://127.0.0.1:9090/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /cockpit/(.*) ws://127.0.0.1:9090/$1 [P,L]
ProxyPass /cock...
2011 Oct 10
0
passenger , ruby on rails , apache 2.2.21
...</VirtualHost>
Inside the <VirtualHost *:443> section, I have the following
configuration, which seems extremely standard:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from none
Allow from all
</Directory>
ProxyPreserveHost on
ErrorLog "/usr/local/apache2/logs/error_log"
TransferLog "/usr/local/apache2/logs/access_log"
SSLEngine on
<Proxy balancer://hotcluster>
BalancerMember http://appserver:8010/
</Proxy>
ProxyPass / balancer://hotcluster/
ProxyPassReverse / balancer://hotcluster...
2006 Oct 07
2
Proxying Apache to Mongrel, not sure if Apache is serving up static files
...rLog /var/log/apache2/error.log
Alias /images /var/www/radiant/public/images
Alias /stylesheets /var/www/radiant/public/stylesheets
ProxyPass /images !
ProxyPass /stylesheets !
ProxyPass / http://10.1.1.104:3000/
ProxyPassReverse / http://10.1.1.104:3000
ProxyPreserveHost on
</VirtualHost>
Anyone see any problem with my configuration? Is there any way to
tell/make sure that the Apache is handling the static files?
Thanks,
John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups &qu...
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
2006 Jan 05
1
Apache reverse proxy authentication problem on RHEL based distribs only
...===========
<VirtualHost xxx.xxx.xxx.xxx:443>
ServerName testproxy.domain.com
SSLEngine On
SSLCertificateFile /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://...
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 10
7
mongrel stops responding after period of no use
...isabled connection
for (localhost)
[Mon Aug 07 06:29:42 2006] [error] proxy: HTTP: disabled connection
for (localhost)
each app is setup in it''s own virtual host directive with:
ProxyRequests Off
ProxyPass / http://localhost:<port>/
ProxyPassReverse / http://localhost:<port>/
ProxyPreserveHost On
RewriteEngine On
RewriteRule "^(images|stylesheets|javascripts)/?(.*)" "$0" [L]
with <port> being the port specific the app.
i wind up having to kill each process and restarting, then restart apache.
also, the minor issue, is that when i start mongrel_rails with a
co...
2016 Feb 29
4
Problems with ProxyPass to a local ip (using SSL)
...ot; %b"
LogLevel 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...
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...g on port 8000 on the same host.
I added a new virtual host radio.domain.com (listening on port 80) which is
routing the Icecast traffic to/from the local Icecast server (listening on
port 8000):
<VirtualHost *:80>
ServerName radio.domain.com
ServerAdmin hostmaster at domain.com
ProxyPreserveHost On
ProxyPass / http://localhost:8000/
ProxyPassReverse / http://localhost:8000/
</VirtualHost>
I was then able to connect audio clients like VLC/Winamp to Icecast mount
points using addresses like http://radio.domain.com/my_stream.
However, when connecting to the Icecast virtual hos...
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
...gt; ''wsdl''
map.connect '':controller/:action/:id''
My request should drop down to the default action.
Here''s my apache vhost configuration:
# ProxyPass / http://localhost:3000/
# ProxyPassReverse / http://localhost:3000/
RewriteEngine On
ProxyPreserveHost On
RewriteRule ^/(.*) http://localhost:3000/$1 [P,L]
I''ve tried both above, what I have commented out and what I have uncommented
with the same results below.
Here''s the url I request and the not found error in the apache logs:
10.0.0.2 - - [06/Jan/2006:02:49:19 -0500] &quo...