Apache: Setup A Proxy For One Page

Mar 5, 2008

Im using AJAX on my site and i need to access a seperate server instance on a different port. AJAX wont allow me to do that so i want to use Apache as a proxy but only for one page.

View 4 Replies


ADVERTISEMENT

Apache :: Mod Proxy - Error Page Handling

Nov 10, 2014

a question on mod_proxy. We're using mod_proxy as a simple reverse proxy (ProxyPass & ProxyPassReverse) to reverse-proxy various back-end PHP and Mono/.NET apps.

One problem we see is that when the back-end PHP app suffers an error (e.g. a 404 or 500) , then mod_proxy ignores the nicely-formatted custom error page served up by our PHP app, and instead serves a very plain generic mod_proxy 404 or 500 error page back to the client. Is there a way to configure mod_proxy to serve up the 500/404 error page content which is created by the back-end app ?

(We thought ProxyErrorOverride might work, but it seems to be intended for the opposite scenario, where I want to *ignore* the 404 page content from the back-end and show a mod_proxy-defined error page instead.We're using apache 2.2 on 64-bit CentOS 6.5 ( httpd-2.2.15-31.el6.centos.x86_64 )

Config like:
...
ProxyPass /abc/ http://server4/abc/
ProxyPassReverse /abc/ http://server4/abc/

View 1 Replies View Related

How To Setup Linux Proxy Server Apache+lighttpd

Apr 24, 2007

somebody know is possible on some way route traffic before come to web server (apache or lighttpd)?

I want to setup lighttpd on port 80 and apache on port 81 and I want visitors to go direct to apache or lighttpd without url:81 and that must work on this way if somebody visiting url1.domain.com that go to lighttpd on port 80 and if somebody visiting url2.domain.com that go to apache on port 81 and something must route it before lighttpd and apache (and get/post must work), is this possible on some way?

I know that lighttpd and apache can do it but I don`t need it on that way!

View 8 Replies View Related

Apache :: Setup Reverse Proxy - Create SSL Certificate For Ubuntu 14.04

Jun 22, 2015

My system consist of Ubuntu 14.04 server running LAMP. I am running Apache 2. On the same machine I am running Shiny server and running my apps through port 4949.

[URL] ....

I also am running an additional Shiny server copy on a virtual box through port 3838. All is running very good. I have an html web page running on Apache 2. I can view it and all my apps running on both Shiny servers from any place on the web.

My concern, however is security. I have port 3838, 4949, and 80 open. How can I set up Apache to run as a reverse proxy for my both of my Shiny servers (ports 4949, and 3838) and also continue to host my web page securely.

I have also attempted to set up a self-signed certificate using the following procedure but it is not working. I used the following instructions and followed them verbatim.

[URL] ....

How to set up a reverse proxy for my Shiny servers?

View 3 Replies View Related

Apache :: Redirect Some HTM Page To WordPress Page Without Path And Query String

Jan 5, 2015

I want to permanent redirect some .html page from subdomain to main domain WordPress page,Redirect permanent /cat/FSBO76.URL....

View 1 Replies View Related

How Would I Setup A SOCKS5 Proxy

Feb 4, 2008

I have a program called SOCKSCAP which lets you connect to a proxy and run programs through it via proxy.

I would like to know what I need to have this setup on a server.

View 4 Replies View Related

Setup A Proxy Server

Feb 23, 2007

i have an dedicated server in USA

I wold like to install a proxy server on my dedicated box so when i surf the net i must have the dedicated server IP (from USA) not home european IP..

How i do this?

I've tryed to install squid but i can get-it to work..

View 4 Replies View Related

Best Setup For A Proxy Site And Server

Jul 29, 2008

I plan on purchasing a dedicated server to run a few proxy sites. However, i don't have a lot of Linux skills to administrate my own server. But i've always been able to figure stuff out so i feel pretty confident that i can get it going on my own. Anyways, My original idea was to use cPanel to run the web server for the proxy sites however i feel that using cpanel is not a great idea since i also wanted to maximize my servers performance and i hear cPanel can take heavy resources. So anyways, I just wanted to know what some other people here might think and if possible any recommended guides on setting up a linux webserver would also be appreciated as well.

View 4 Replies View Related

How To Setup A Private Proxy Using Web Host

May 17, 2007

how to setup a private proxy (for personal use) using web host?

What script or software to install on the web host?

I heard that some web hosting company, especially for shared hosting plans, doesn't allowed that to be installed...

Is that true?

If so, anyone know which web hosting allow it? anyone have experience doing so?

For proxy, my monthly usage will be well below 1GB.

I plan to buy a shared hosting plan to do some blog, websites & proxy.

View 6 Replies View Related

Setup Proxy Server On Shared Web Host

Jun 24, 2008

Does anyone know if it's possible to setup a proxy server on a shared web host w/ cpanel? I just want to be able to browse using FoxyProxy from the IP of that shared web host.

View 0 Replies View Related

Plesk 11.x / Windows :: Losing Setup Custom Error Page

Nov 5, 2013

All settings of the custom error page were made ​​and worked correctly, however the next day the setting was lost after reset again and returned to work.

But stopped working again, I use Plesk 11...

View 2 Replies View Related

Apache :: Proxy Pass / Proxy Pass Reverse

Jun 10, 2013

I'm using the isapi rewrite module for iis 6 which uses the exact same syntax as mod_rewrite in apache. I'm not very well versed in apache and need getting this to work asap. Basically I have a directory in our website: URL....

I need to forward this to an IP address, for example to this address:100.12.33.45/folder.While keeping the original URL (www.xyz.edu/folder). I'm unsure of the apache syntax for this.

View 3 Replies View Related

Installed Apache And PHP Only Seeing Default Apache Page

Jun 1, 2007

I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.

View 6 Replies View Related

Apache :: Mod Proxy With Failover

Jul 13, 2014

I have the following setup in my apache vhost:

Code:

ProxyPass /abc http://www.newest.com/
ProxyPassReverse /abc http://www.newest.com/

I want to setup a failover approach in which if after a particular timeout say 10secs the load shifts to some other website like Refer.com | The world. The timeout should be in Proxy Pass and if timeout occurs it shifts to Refer.com | The world

View 1 Replies View Related

Apache :: 2.4.6 - Reverse Proxy Cache

Nov 19, 2013

I have Apache 2.4.6 on a Windows Server 2008 (windows build from apachelounge). I want to use it as reverse proxy cache with mod_cache_disk.

My configuration is:

Code:

<IfModule cache_module>
<IfModule cache_disk_module>
CacheRoot C:/temp/cache
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 3

[Code] .....

Loading a page with ~150 files (most images and js files) i keep runing into "locked requests" that are not comeing back and block the whole page from finishing loading. The files differ every time.

I see this warnings in my error.log (looks like they are connected to the behauviour above).

Code:

[Tue Nov 19 20:38:10.890013 2013] [cache_disk:warn] [pid 216692:tid 15924] (OS 5)Access is denied. : [client x.x.x.x:58963] AH00699: rename tempfile to file failed: C:/temp/cache/aptmpcBQArf -> C:/temp/cache/H8Cta/9ha4U/Uhhhs/OlQfU/1Q.data,

[Code] .....

View 1 Replies View Related

Apache :: Reverse Proxy With Several Websites

Apr 22, 2014

I m trying to setup a reverse proxy with several site that will redirect the request into several internal server.I wanted to do that with several VirtualHost (like shown below). Unfortunatly whatever I type on my browser testsupport.xxxx.com or support2.xxxx.com I m redirected at the first of the config file (in the exemple http://10.253.12.41/.Is it the ServerName key that will redirect to the right proxypass ?

<VirtualHost *>
ServerName testsupport.xxxx.com
ProxyRequests Off
ProxyPass / http://10.253.12.41/
ProxyPassReverse / http://10.253.12.41/
</VirtualHost>

<VirtualHost *>
ServerName support2.xxxx.com
ProxyRequests Off
ProxyPass / http://10.253.11.31/
ProxyPassReverse / http://10.253.11.31/
</VirtualHost>

View 10 Replies View Related

Apache :: How To Force SSL On Reverse Proxy

Nov 23, 2014

We are struggling to configure our Apache reverse proxy (on WIN 2008) server to force https.

We have the cert installed on the proxy server, and it seems to be working but we are unable to force connections to https: and the site is still available via http:

How do you enforce https on the site?

reading read about the .htaccess file, virtual hosts but still having a hell of a time putting it all together

Internet -> SSL -> Apache 2.2 -> HTTP -> web app

View 2 Replies View Related

Apache :: Mod Proxy With F5 Load Balancer

May 30, 2013

I have a setup where Apache connects to a F5 load balancer which in turn balances between two jboss app servers.

Apache using mod_proxy -> F5 (hardware load balancer) -> 2 jboss application server

It uses jsessionid. I sometimes get 500 errors for the post methods. I think the request goes to the incorrect jboss server because of the F5 load balancer. Everything works just right when I shutdown one of the jboss app servers.

View 1 Replies View Related

Apache :: 2 Kerberos SSO Through Reverse Proxy

Apr 24, 2014

I'm trying to do a setup of alfresco.It has two basic sites. [URL]. Both use kerberos authentication. Alfresco has SSO and share has not. Both sites are on the same server (its just one site but different subs)

I want to put this behind a reverse proxy to eliminate the servername:port combination.

When I put it in a normal config with ajp everything works fine for the share website. I can login without problems. Not so however for the alfresco website. I get a browser login request (not the alfresco one) when i enter my credentials he asks them again and again and then he ends on the regular login page of alfresco at which point everything works. The username I entered is displayed at this point. When I do not enter my credentials correct I do not reach the page.

If I remove the SSO from the alfresco website everything is normal (but i have to login)

View 3 Replies View Related

Apache :: Proxy To SP Can't Log In After Fixing 401error?

Aug 12, 2014

I have apache 2.2 on Linux going through the a firewall to a backend sharepoint server. My sharepoint application has anonymous and authenticated traffic. This works fine most of the time but we randomly get (104)Connection reset by peer: proxy: error reading status line from remote server. I was able to fix this by adding *SetEnv force-proxy-request-1.0 1 *SetEnv proxy-nokeepalive 1 *RequestHeader unset Expect early But after I added this I was then no longer able to log in. I would receive a *HTTP/1.1" 401 my understanding is KeepAlive is required for NTLM to work so making sure I can stop the connection resets which are unacceptable and still allow the authenticated users to log in.

View 4 Replies View Related

Apache :: Setting Up Reverse Proxy

Apr 6, 2015

I'm currently in the process of configuring a red hat linux server as a proxy server for a number of back end web servers. I set up reverse proxying to hide the web server url's, but I've run into a problem with the second web server, because some of the directory structures are identical on both servers.

View 2 Replies View Related

Apache :: Reverse Proxy Redirect

May 14, 2013

I am having a little trouble getting a reverse proxy redirect to work. I have a Linux server running Apache2. I have installed SABnzbd+, Sickbeard, Couchpotato & Headphones onto this device. I want to access SABnzbd+, Sickbeard, Couchpotato & Headphones from the outside world (via a DYNDNS name).

I know that I could just forward the ports through the router, but I don't want all the extra ports opened. I was told that I can have Apache to do a revers proxy, but I can't get it to work. I basically want to be able to do type myname.dyndns.org/sickbeard instead of typing in myname.dyndns.org:8081.

View 1 Replies View Related

Apache :: Open Proxy On Website

May 23, 2015

I'm trying to fix a problem with open proxy on my website. It's running ubuntu & apache2. I also run pfsense for a firewall with snort. I have a SSL for the website, so I have regular port 80 redirect to https.

At first I did notice right away when I checked & saw this happen that proxy was turned on. So I got that turned off.

My firewall is still allowing these bad IPs to port 80. I would like to figure out what I could turn on the firewall or snort to stop those connections in addition to what needs fixing in apache. I've read the solution is to make the redirects go to a 403 error page.

I also tried adding a mod_security rule but ended up blocking all people from website, though I may have accidentally turned some other rules on too.

There are a few different problems it looks like.

First - It looks like they're trying to connect to my HTTPS then redirect to an ad through my domain name?
Second - It looks like they're still trying to use my website for open proxy but directly accessing ib.adnxs.com through my port 80. My logs indicate I'm redirecting to a 301 page.

View 2 Replies View Related

Apache :: 2.4.3 Mod Proxy Not Stable In Production

Dec 25, 2013

Have run through a bunch of threads on mod_proxy race conditions, possible causes, and potential solutions.

What is the status? Is there a fix for this, maybe in 2.4.7?

On 2.4.3 in production we literally have 10K errors in the past 2 months along the lines of:

Code : AH00898: Error reading from remote server returned by...

Application server (JVM webapp) issues no errors at the time of mod_proxy error occurring. It seems then that mod_proxy is sporadically broken, which is horrible for end users accessing an otherwise rock solid production application.

View 8 Replies View Related

Apache :: How To Use Reverse-proxy With Mod Rewrite

Nov 5, 2014

I am running a few different web servers on my home network and have found a way of binding each wb server (and any virtual hosts) to domain names and having a "central" web server rerouting a request to the appropriate server using reverse-proy. at the moment, this central web server is IIS (Windows Server 2008 R2) based and it works perfectly. I want to change the central server to an Apache based one.

As an example; I want the central server to see an incoming http request (e.g sub.domain.com) and reroute it using reverse-proxy to a different web server that wouldn't normaly be accessible from the Internet (e.g 192.168.1.122/index.html).

My question is how do you reverse-proxy to a different server on the LAN with mod_rewrite in Apache?

View 1 Replies View Related

How To Set Lighttpd Proxy To Let Apache Run Cgi/perl Scripts?

Oct 24, 2008

I'm running both Apache (on port 81) and Lighttpd (port 80) on my VPS. I would like to have Apache run CGI/Perl scripts only for virtual hosts in the Lighttpd.conf. My Lighttpd.conf already has fastCGI enabled though.

View 3 Replies View Related

Apache :: Unable To Proxy To A Sharepoint Directory

Jul 18, 2013

I am having an issues with a link in share point which is like

[URL]...

This %20 resolves to a black space and to avoid issues the url is appeneded with %20

Unable to map this directory in httpd.conf file like below

ProxyPass /Shared Documents/Forms/ [URL]...

ProxyPassReverse /Shared Documents/Forms/ [URL]...

I get the below error message

Syntax error on line 1882 of /etc/httpd/conf/httpd.conf:
Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'.

View 6 Replies View Related

Apache :: Reverse Proxy - Some Parts Of App Not Working

Oct 12, 2012

I am trying to set up a reverse proxy to the application Surveillance Station on my Synology NAS. Altough the reverse proxy works ok for other apps like Webadmin, Download Station and such, parts of the Surveillance Station app do not work, particulary the Live View & Time Line.

From the logs, I suspect an authorisation problem (because of the 401), but I'm not sure. I have tried ProxyPreserveHost on, ProxyVia full, and some rewrite rules, but I'm not sure what I'm doing Direct access to the port of the app works (i.e. 83.xxx.x.xxx:9900), so i know it has something to do with the reverse proxy.

a snippet of my httpd-vhost.conf-user:

View 1 Replies View Related

Apache :: How To Create Proxy Tunnel For A Website

Mar 11, 2013

Some of websites like youtube and facebook are blocked in my country and we can't access them .in addition most of tunneling protocols like PPTP are blocked too . I want to create a website that tunnels between our network and this website like proxy or other ways. Scripts like phpProxy are not secure and many websites don't permit the visitors who come with this scripts. A very good sample for my idea is walww.com . This websites is like alternate for blocked addresses like facebook, but it's premium and require charging cash .

How can I create website like walww.com . I have my own VPS and Host for this issue. Is that possible to serve this blocked websites trough proxy by configuring apache settings?

View 1 Replies View Related

Apache :: Rewrite Rule Does Redirect Rather Than Proxy

Oct 28, 2014

I just installed httpd-2.4.10-win32 and I can't make mod_rewrite to work :

What I'd want is a proxy to receive a print.xxxx.com/appl uri and forwards to appl.serveur.xxxx.com:8080/streammaster

I do

RewriteCond %{HTTP_HOST} print.xxxx.com
RewriteRule /appl/ http://appl.serveur.xxxx.com:8080/streammaster [P]

and I get a redirect : 192.168.250.50 - - [28/Oct/2014:14:55:19 +0100] "GET /appl/ HTTP/1.1" 302 - mod_proxy is loaded and works of course.

I've tried lot of variations (it works the same in a virtual host without rewritecond) to no avail.

View 4 Replies View Related

Apache :: Exchange 2010 EWS Mangled When Proxy Via 2.4.4

Apr 17, 2013

Own Build Apache 2.4.4 (32bit) with IPv6 support Openssl 1.0.1e on Windows Server 2012.

We implemented this as a reverse proxy with Exchange 2010 behind it. We published Webmail out through Apache. Thought it was going well until users reported strange things. Exchange Web Services users were sending email and they arrived having been posted from another user's mailbox. Also, sometimes viewing the mailbox provides a view of somebody else's mailbox.

We checked out the logs on the Exchange CAS server and what appears to be happening is that the body of the post is being sent with the header of another post.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved