Ubuntu Servers :: Apache Being Used As Proxy?

Oct 6, 2010

I've got some strange looking requests in my access_log which I don't much like the look of. Can someone take a look and let me know if 1) it's possible for other people to use my server as a proxy, and 2) how I can stop them.

Code:
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606

[Code]...

View 9 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache Reverse Proxy Redirecting To Eucalyptus Cloud Settings

May 26, 2010

I am having a few websites running in a Reverse Proxy scenario on Ubuntu Server 10.04. The configuration is like this:

Code:
|--------------192.168.1.1
| (site1.abc.com)
|
|--------------192.168.1.2
| (site2.abc.com)
|
|
|
|
|--------------192.168.1.3
| (site3.abc.com)
|
|
|
|
|--------------192.168.1.4
| (site4.abc.com)
(Public IP ) |
A-------------------|
(reverse proxy server) |
(192.168.1.25) |
|--------------192.168.1.5
| (site5.abc.com)
|

Except one all websites are running properly and being redirected to their respective domains.
Following is the configuration which I used for each site define on server A a vhost file which contains following

Code:
# ProxyPass / http://<Ip of Server>
# ProxyPassReverse / http://<Ip of Server>

So if I have 5 websites then I have 5 vhost file on the gateway in above diagram A and in each of those file as above root of site is redirected to internal IP. 4 of them are running properly. The fifth website is running on port 8080:/keyword. So in its vhost file on gateway I defined

Code:
# ProxyPass / http://<Ip of Server>:8080/keyword
# ProxyPassReverse / http://<Ip of Server>:8080/keyword
I can see on Lan http://<Ip of Server>:8080/keyword but when from internet I try to see:
http://site5.abc.com
I get redirected to a page is https://site5.abc.com:8443/ and it says

Code:
The webpage at https://site5.abc.com:8443/ might be temporarily down or it may have moved permanently to a new web address. The site5.abc.com has a requirement to be run at port 8080 internally and it is not a Ubuntu server.(Red Hat based server). While rest all are Ubuntu servers including gateway A.

View 1 Replies View Related

Programming :: Apache Mod_write/proxy - Bunch Of Web Servers Running On My Internal Network

Jan 26, 2011

Suppose I have a bunch of web servers running on my internal network:

And I have a dyndns account, I was wondering:

How can I do this?

View 2 Replies View Related

Server :: Ubuntu 10.04 Apache Bypass Proxy?

Jun 1, 2010

I've read the documentation, but I'm still confused. I have two servers, one running Postfix and SquirrelMail, and another i want to setup a wiki(already setup) and Photo Gallery.On my Second server(2)I have two virutal webservers, wiki.rmasonfamily.info and photo.rmasonfamily.info, both running on port 80.My first computer is running my mail server again as a virtual server, mail.rmasonfamily.info. Default server is not used in either one.

Server 1 will be my proxy server, and if I understand correctly, my reverse proxy. Ubuntu had Apache set with a configuration in etc/apache2 using sites-available with configuration for each Virtual Server with sites-enabled with links to configuration files in sites-available. My Virtual Server in Server 2 are working fine, along with my mail server in Server 1. this is the code I assume I must use to bypass to wiki.rmasonfamily.info. In server 1, under sites-available, in the file wiki.rmasonfamily.info this is the code I put

<VirtualHost *:80>
ServerName wiki.rmasonfamily.info
ProxyRequests Off
ProxyPreserveHost On

[code]....

Doesn't work, I know I'm doing something wrong...

View 5 Replies View Related

Networking :: Apache As Proxy Server?

Oct 14, 2010

I dont know my question is right or wrong.I want to know can i use apache as a proxy .Is there any relation between apache and squid proxy.

View 1 Replies View Related

General :: Dynamic Proxy For Apache Or Something Else?

May 11, 2011

just a quick question. I was wondering if it is possible to do the following: suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.

If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism. Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?

View 2 Replies View Related

Software :: Apache / Reverse Proxy And SSL

May 26, 2010

I'm having some trouble getting Apache up and running as a reverse proxy for a site using SSL. Ideally, this Apache system will function as a web application firewall running mod_security, but first I need to get Apache running right. The system is running CentOS 5.5 and Apache 2.2. Trouble is, the web server on the back end, which is running Windows Web Server 2008 (IIS 7) requires SSL. I have been able to get Apache set up and running so that it works fine on port 80, but any secure traffic on port 443 just won't work.

So first, here's the relevant portion of the Apache config:
Code:
<VirtualHost 192.168.108.212:80>
ServerName www.server.com
ErrorLog logs/test_error_log
CustomLog logs/test_access_log common
ProxyPass / http://192.168.108.152/
ProxyPassReverse / http://192.168.108.152/
</VirtualHost>
<VirtualHost 192.168.108.212:443>
ServerName www.server.com
ErrorLog logs/test_error_log
CustomLog logs/test_access_log common
SSLProxyEngine On
SSLProxyMachineCertificateFile /etc/httpd/conf/server.pem
ProxyPass / https://192.168.108.152/
ProxyPassReverse / https://192.168.108.152/
</VirtualHost>

The server.pem was created following some steps I found online and was set up using the same certificate that's on the web server. It is formatted as so:

Code:
-----BEGIN CERTIFICATE-----
*****
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
*****
-----END RSA PRIVATE KEY-----

So, after all is said and done, Apache starts up just fine. Any unsecured requests on port 80 work just fine. Trying to use https results in an ssl_error_rx_record_too_long error in Firefox. The Apache logs show a 404 error, with the request being for /x16/x03/x01. I believe that means it's requesting SSL access on a non-ssl port, which doesn't make any sense to me, considering that I obviously do have something up on to listen on that port.

View 4 Replies View Related

Server :: Trying To Configure Apache Reverse Proxy

Oct 4, 2010

I have a question to masters of Apache. In my operating system (CentOS 5) I have installed two Apaches. One is Apache (port 80) from repository where I planning to configure proxy and second one is Apache integrated(port 8090) with KnowledgeTree software. The problem is that when I am trying to configure proxy reverse it simply doesn't work.

This is link to KnowledgeTree software:
- http://127.0.0.1:8090/knowledgeTree

This link I would like to rewrite with proxy like this:
https://myserver.com/knowledgeTree
(HTTPS dont forget)

In my ssl.conf in VirtualHost part I have created something like this:
Code:
<IfModule mod_proxy.c>
<Proxy *>
Order allow,deny
Allow from all
</Proxy>

ProxyRequests off
ProxyPass /knowledgeTree http://127.0.0.1:8090/knowledgeTree
ProxyPassReverse /knowledgeTree http://127.0.0.1:8090/knowledgeTree
<Location /knowledgeTree/>
ProxyPassReverse /
</Location>
</IfModule>

When I am trying to connect I see only: Unable to connect. Firefox can't establish a connection to the server at ifdocu.contaxt.biz:8090.

View 4 Replies View Related

Server :: Apache Reverse Proxy With MS Sharepoint

Mar 22, 2011

I am trying to configure a reverse proxy server that can act as a reverse proxy for ms sharepoint server that uses https. Usually when I accessed the sharepoint server at [URL], I will be prompted to enter active directory login. But what was "500 internal server error" and in error.log: failed to enable ssl support for 10.10.1.1 (sharepoint.mycompany)

View 2 Replies View Related

Software :: Reverse Proxy With Apache - XML Stuff

Apr 3, 2011

I'm having a problem with reverse proxy on apache. In the proxy I have a config like this:

<VirtualHost xxx.xxx.xxx.xxx:80>
RewriteEngine on
ServerName test2.mydomain.se
PROXYRequests Off
ProxyPass / http://app.otherdomain.se/
ProxyPassReverse / http://app.otherdomain.se
SecRuleEngine On
SecAuditEngine On
</VirtualHost>

When I try to reach the "[URl]" I get an error on a script in firebug.
GET [URL]
500 Internal Server Error
62ms
startp...tpassword (row 68)
document.getElementById(id) is null
[Stop by error] document.getElementById(id).innerHTML = result;

It seems to me that there is a problem with some XML stuff or something but I'm not sure about that.

View 3 Replies View Related

Ubuntu :: Apache Blank HTTPD Conf And Reverse Proxy For Webcam

Jul 23, 2010

I've been trying to figure out how to set up my Apache 2 running on Ubuntu 9.10 to provide a reverse proxy so I can see my wifi network camera monitoring my dogs and still have access to my family website. First, I followed the suggestions from this thread on Ubuntu forums: [URL]. I set up a similar rule set at the end of my /etc/apache2/sites-available/default, restarted apache -- from which I got a response saying that Apache2 could not determine the server name -- and then tried logging into my server through its ip address. When I tried http://192.168.2.80/dogCam, I just got a 404 error. Here's what I added: (I also tried my domain name, but it also didn't work.)

Code:
<VirtualHost 192.168.2.80:80>
ProxyPass /dogCam/ http://192.168.2.160/
ProxyPassReverse /dogCam/ http://192.168.2.160/
</VirtualHost>

When I looked at many other threads, I get recommendations to have my setup in httpd.conf. But, in both this server and a freshly installed Ubuntu laptop, my httpd.conf file is empty! I tried copying and pasting the recommended contents of the following thread, with the example proxy paths replaced with the ones I needed: [URL]. Straight-forward tutorials don't seem to apply, as Ubuntu has a blank httpd.conf file. I figured out that Ubuntu seems to load its modules by simply adding soft-links to the modules of interest from modules-enabled to modules-available. But, after a full day of trying to figure out what looks to be fairly simple and well-documented, I am at a loss for setting up this reverse proxy or even figuring out where to set ServerName to define my domain name to Apache2 in Ubuntu.

View 2 Replies View Related

General :: Video Streaming Using Apache Reverse Proxy?

Jun 21, 2011

I have a question regarding the possibility of streaming video using an Apache web server configured as a reverse proxy. Suppose I have a local web server and areverse proxy that is abroad. I want users that are nearer the reverse proxy to be served by it and not my local web server. I know in general how to configure this and there is a lot of documentation. But can it be configured to support video file streaming without saving all the media content in the reverse proxy disk?

View 6 Replies View Related

Server :: Apache Vhost With Reverse Proxy And Redirection

Jan 6, 2010

Here my setup of Apache :
I have two virtual hosts on separate IP and on both I am using port :80 one is main website domain.name and another webmail.domain.name. And to get full link path I am using index.html with redirection derectives. My question how I can setup each Vhost to he is own redirection directive to set two full link like:
when type webmail.domainname -----> redirect to webmail.domainname/horde/imp/file.php
and www.domainname ------> redirect to www.domainname/csr/
Right now working only one of this Vhosts, just problem to separate them when I type www.domainname -----> apache redirect to webmail.domainname.

index.html
<html>
<head>
<title>WebSite</title>
<meta http-equiv="REFRESH" content="1;url=http://www.domainname/csr/"></HEAD>
<BODY>REDIRECTION</BODY>
</HTML> .....

View 8 Replies View Related

Server :: Webmin Through Apache Proxy - Authentication Cookies Not Working

Jul 9, 2011

I am trying to set up Apache and Webmin so that I can access Webmin by going to [URL]. I am using the direction at [URL] under the "Webmin In A Sub-Directory Via A Proxy" section. I had this setup working before, but I think an update of either Webmin or Apache broke it. Now, I can go the the webpage and I see the login screen. However, when I try to log in, I get an error.

Quote:

Error - No cookies

Your browser does not support cookies, which are required for this web server to work in session authentication mode I have tried adding the ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath directives to my virtual host config file, but it still doesn't work.

Quote:

# webmin
ProxyPass /webmin/ http://localhost:10000/
ProxyPassReverse /webmin/ http://localhost:10000/

[code].....

View 1 Replies View Related

Debian Configuration :: Apache Reverse Proxy - No Support For Common Database

Apr 14, 2010

I installed apache2 and mysql database on a Debian system. It is using reverse proxy on apache to redirect requests to apache2 running on any machine which is on Xen server as a Virtual host. I tried to install Drupal on it. Every thing went fine till I pointed my browser to:
http://IP[/url] of LAN where Drupal was installed/drupal
then I see an installation page of Drupal which welcomes me. I click install in English then it can not proceed to connect with database. Database configuration: Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports.

I have created a database and username for Drupal separately. What should I check to. There is one more error
http://Public IP/some location/
Is showing me contents of Document Root but there is a folder named drupal on it. When I click on it I get error. Not Found. The requested URL /drupal/ was not found on this server. Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch proxy_html/3.0.0 Server at

What things should I check in for? I am also getting errors like:
- Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName on individual DomU's what should I check in. and on Dom0 when restarting apache2 I get following error.
- Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Apr 14 15:23:05 2010] [warn] NameVirtualHost *:80 has no VirtualHosts

View 1 Replies View Related

General :: Install Proxy - Apache - Server - Trace The User Activities ?

Sep 3, 2009

OS :red hat 4.2 oracle EBS SUITE Applications:11.5.10

Iwould like to install Proxy(Apache) server on linux.is it possible?

I would like to trace the user activities by proxy server. we are running many applications on that.How to trace that.is there any server better than Apcache?

View 3 Replies View Related

Server :: Apache Reverse Proxy Slow In Serving HTTP Requests

Mar 18, 2010

A Linux (CentOS5.3) server is setup with apache reverse proxy. The reverse proxy server is opened to outside and an internal server is mapped to ProxyPass configuration. SSL certificate is also installed on the Apache reverse proxy server. The problem is, it is extremely slow in serving http requests through reverse proxy. There is no problem with server resources or bandwidth. When the internal server is directly accessed through Internet, there is no delay. The backend server and the reverse proxy server are also on the same switch (same subnet). When I searched the Net, there were recommendations to enable cache in Apache. I did so as follows in httpd.conf.

<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheDirLevels 5
CacheDirLength 3
</IfModule>

But still there is no progress. Do I want to enable cache in ssl.conf too? Or is there any other workaround to speed up Apache reverse proxy. Is there a way to check that caching is happening?

View 4 Replies View Related

Server :: Css And Java Script Is Broken Zope Running Behind An Apache Reverse Proxy?

Jun 7, 2010

a reverse proxy scenario

Code:

Server A Server B (Zope Application)
Public IP 192.168.1.5

On the first one that is A in Apache vhost file I made

Code:

ProxyPass / http://192.168.1.5:8080/VirtualHostBase/http/192.168.1.5:8080/virtual_hosting/VirtualHostRoot/eduCommons
ProxyPassReverse / http://192.168.1.5:8080/VirtualHostBase/http/192.168.1.5:8080/virtual_hosting/VirtualHostRoot/eduCommons

but the CSS and images on internet which people are accessing are broken while it is running perfectly fine if I access on LAN.

Code:

[URL]

I have checked the documentation page and here also but still the problem persists.Also on LAN if the same is accessed like this

Code:

[URL] then CSS and Java script is broken. It is an eduCommons CMS. Which I am trying to access via internet.

View 1 Replies View Related

Ubuntu Servers :: Creating Virtual Apache Servers?

May 3, 2010

I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.

View 5 Replies View Related

Ubuntu Servers :: Proxy For SSL Connections?

Mar 11, 2010

I have a small business that I run Squid and Dansguardian on Ubuntu for network proxy filtering, among other things. This works great, but does not block SSL connections on Port 443, such as https proxies. I understand that this is because this type of configuration is a "transparent proxy".

Is there a way to set one up "non-transparent" and, would that filter https?

I cannot blanket block 443, because some sites need it.

I have read that one can re-compile Squid to work with SSL, but not being a super guru, not sure of the implications of doing that.

View 7 Replies View Related

Ubuntu Servers :: Proxy While Passing Through Another URL?

Nov 20, 2010

I'm trying to set up a hot spot using a squid proxy server for network logging of accessed website URLs. I really would like to pass all web traffic through a custom PHP program.Like when a computer tries to access www.google.com it first goes through the proxy server, and then the proxy server sends back a URL like URL...which is then accessed by the end-user's computer.. I'd eventually set up the php program to redirect the user to the requested URL after my application executes.Is this at all possible to do, with or without squid?

View 2 Replies View Related

Ubuntu Servers :: Alternative To Ps3 Proxy

Nov 26, 2010

I would like to have some software on ubuntu which does what ps3 proxy does.

View 1 Replies View Related

Ubuntu Servers :: How To Setup Web Proxy

Jan 16, 2011

I've got LAMP up and working and I'm currently hosting a joomla install on the server. I was wondering if there's an easy way to get a web proxy working on my site. I'd like to be able to use it just like you would at hidemyass.com. By simply supplying a url it'll provide the proxy services for me. I've looked through joomla's extensions library and don't see any extensions that'd provide that functionality. I was hoping that there'd just be some prepackaged web proxy application I could install.

Anyone out there know of any simple way of getting this up and running. I've looked at Squid but that looks like it's primarily a proxy server intended for internal network users. I didn't see any sort of web proxy feature to install on a web server there.

View 4 Replies View Related

Ubuntu Servers :: Set Up Proxy Within A Secure Webpage?

Feb 23, 2010

I would like to set up a proxy server at home which i can use to access sites from work. I was thinking a web-page i log into and then a sort of use like a browser? like this for example, but where i can have a secure login

View 4 Replies View Related

Ubuntu Servers :: How To Change Proxy After Install

Mar 29, 2010

In the 9.1 server install you can specify a proxy server for updates. How do you change the proxy after the install?There must be a config file somewhere but where?

View 2 Replies View Related

Ubuntu Servers :: Apache2 Reverse Proxy ?

May 11, 2010

A first server with apache2 installed and configured as reverse proxy, that works great, with this version:

That works mostly, but fail with an oma (outlook mobile access) redirection

It works for all reverse sites hosted, but when we try to connect to oma using a nokia phone, it fails.

I can see in access.log that it hangs on FolderSync istance.

I've used wireshark to sniff packets, and in oma server I can see only three way handshaking coming...

My doubt is: when I'll upgrade working server, also it will not work anymore...

Configurations are the same (I've copied /etc/apache2 folder from running one to new one).

View 1 Replies View Related

Ubuntu Servers :: Proxy Authentication Against OS X LDAP

Jun 18, 2010

I've just installed Ubuntu Server for the first time with the goal as setting it up as a proxy server for our Apple computers here since I can get neither ISA of OS X Server's firewall to play properly. So far I have the machine authenticating against our OS X OpenLDAP server and multiple NIC's setup ready to be connected to the outside world. My question is does anyone have a preference on what proxy I should be using? So far my search efforts seem to of turned up Squid Proxy as a favorite among Ubuntu users but I can't seem to work out how to get it authenticating against my OpenLDAP server.

View 5 Replies View Related

Ubuntu Servers :: Controlling A Socks Proxy?

Feb 27, 2011

I have my desktop set up as a SOCKS proxy, and not only me uses it, some friends do too.What I would like to know is how to check every now and again what they are using it for... for example the agreement we have is that they only use it to watch BBC iplayer and 4OD etc while they are abroad. What I dont want is them to pointlessly use it for other browsing.I trust my friends wont, but is there also a way of checking they arent using my connection to download illegal torrents?I guess best case scenrio would be to be able to whitelist only a few sites per user request. Is this possible?

View 1 Replies View Related

Ubuntu Servers :: How Do I Set Up Proxy Server For Windows?

Jun 11, 2011

How do I set up a proxy server for Windows ? Can I use openssh ?

View 5 Replies View Related

Ubuntu Servers :: Internet Access Via Proxy Server ?

Apr 28, 2010

Ubuntu lts server distro using on remote machine. i have remote site where internet access given via squid proxy. so when we enter in browser it start working internet fine. but on command line(bash shell prompt terminal) like wget,ping,nslookup,traceroute etc these commands does not work.

View 3 Replies View Related







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