logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Cannot proxypass to intranet server, Please help.
Author
visuel



Joined: 11 Jun 2011
Posts: 1

PostPosted: Sat 11 Jun '11 10:54    Post subject: Cannot proxypass to intranet server, Please help. Reply with quote

Hi All,
I have this satellite receiver with a web server on 10.0.1.54:80.
It works fine on the intranet!
for example: http://10.0.1.54/cgi-bin/Home.sh works fine! Cool

I would like to make it available on the internet, so I made a virtual host for it on my apache webserver:
Code:

<VirtualHost *:80>
    ServerAdmin webmaster@visuel.nl
    DocumentRoot "C:\xampp\htdocs\sat"
    ServerName sat.home.visuel.nl
   ProxyPass / http://10.0.1.54/
   ProxyPassReverse / http://10.0.1.54/
    ErrorLog "logs/sat.home.visuel.nl-error_log"
    CustomLog "logs/sat.home.visuel.nl-access_log" common
</VirtualHost>


But now http://sat.home.viuel.nl/cgi-bin/Home.sh only shows the sourcecode of the Home.sh script in the browser.
And http://10.0.1.54/cgi-bin/Home.sh still works fine!
Rolling Eyes

What should I change?
Question
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 14 Jun '11 16:58    Post subject: Reply with quote

What exactly do you see? generated HTML source code? The sh source code?
Back to top


Reply to topic   Topic: Cannot proxypass to intranet server, Please help. View previous topic :: View next topic
Post new topic   Forum Index -> Apache