Loading ...
Sorry, an error occurred while loading the content.

4126RE: [soaplite] tunneling through apache mod_proxy

Expand Messages
  • Jon Kliegman
    Oct 27, 2004
    • 0 Attachment
      When you create the SOAP server you can specify host and port options.
      Below is a small segment from the examples/server/soap.daemon file (slightly
      tweaked to work for you) which will cause your server to only listen on the
      lo interface.


      my $daemon = SOAP::Transport::HTTP::Daemon
      # if you do not specify LocalAddr then you can access it with
      # any hostname/IP alias, including localhost or
      # if do you specify LocalAddr in ->new() then you can only access it
      # from that interface. -- Michael Percy <mpercy@...>
      -> new (LocalAddr => 'localhost', LocalPort => 10000, Reuse => 1)
      # you may also add other options, like 'Reuse' => 1 and/or 'Listen' =>

      -----Original Message-----
      From: Tilman Baumann [mailto:Tilman.Baumann@...]
      Sent: Wednesday, October 27, 2004 4:17 AM
      To: soaplite@yahoogroups.com
      Subject: [soaplite] tunneling through apache mod_proxy


      i'm using the transport HTTP::Daemon because cgi would not fit my demands.

      Currently i have HTTP::Daemon running on port 10000 and make it
      accessablae through my webserver with mod_proxy.
      ProxyPass /soap
      This runs perfect so far.

      But now i have still running my deamon on port 10000. Is there any way
      to bind this deamon just on the lo interface? So that all remote
      connections have to come through apache.

      Tank you for your help.

      Tilman Baumann
    • Show all 2 messages in this topic