Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache2 proxy problem

Status
Not open for further replies.

NewtownGuy

Technical User
Jul 27, 2007
146
US
I have a problem setting up proxying on apache2. It works fine for graphics in the web pages, so the core mechanism is running, but it is not returning textual values from web pages.

I'm running Ubuntu Server 10.04 and have set up symbolic links from /etc/apache2/mods-enabled to /etc/apache2/mods-available for the following proxy items:

proxy.conf
proxy_load.conf
proxy_http.load

I have the following in /etc/httpd.conf (sanitized):

<Directory /var/ AddHandler application/x-httpd-php .html .php
</Directory>

# only allows clients to contact servers specifically configured:
ProxyRequests off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /foo_proxy/ ProxyPassReverse /foo_proxy/
I have restarted apache2.

It works ok when I set up a ssh tunnel.

How do I fix this in apache2 ?

Thank you in advance.

--
 
UPDATE: It's only the forms data that is missing with the current proxy setup. All other text is OK.

For example, on some pages I get a popup window that says, "Information from the unit was not able to be read. Read again ?" On other pages, a field in the form says "no response."

--

 
Is there perchance an issue with some service side scripting, such as CGI not passing through or executing correctly? I am having a hard time envisioning how the use of a proxy would 'filter' the content.
 
To: Noway2

How would I determine that ?

By the way, I checked apache2's error.log on the proxy machine, and it says several files are missing on the target machine I'm trying to connect to. But I don't understand how that could be since the target machine works ok when I use a SSH tunnel instead of an apache2 proxy to connect to it.

--

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top