Skip navigation

How to setup Web Proxy within Server Admin utility?

798 Views 3 Replies Latest reply: Apr 11, 2013 1:04 PM by MrHoffman RSS
params Calculating status...
Currently Being Moderated
Apr 11, 2013 5:31 AM

Hi. We currenlty use the Web function within the Server Admin utility for all our web hosting applications running on Snow Leopard server. Recently we had a vendor create a website application which needs a proxy setup in order work. According to them, we need a proxy to 127.0.0.1:8000 for the site. At the moment, they manually edited the .config file for the website to edit the proxy settings which consequently caused the Web function within Server Admin to stop functioning properly as I found a website stating that if a config file is manually edited outside of the Server Admin, the Web function will not function properly. The error message I got was "Uncaught exception raised in Web client-side plugin".

The .config file which was manually edited is as such:

<VirtualHost **.**.**.***:**>

    ServerAdmin admin@example.com

    ServerName demo.segmentthis.com

    ServerAlias demo.segmentthis.com

    ProxyRequests off

    <Proxy *>

Order deny,allow

Allow from all

    </Proxy>

    <Location />

ProxyPass http://localhost:8000/

ProxyPassReverse http://localhost:8000/

    </Location>

</VirtualHost>

 

I supposed my question is, is there a way to edit the proxy within the Web function of Server Admin instead of manually editing the config file?

 

I hope that made some sense but if not, please let me know and I will try to elaborate a bit more.

 

Thank you very much for your help!

Xserve, Mac OS X (10.5.8)
  • MrHoffman Level 6 Level 6 (11,720 points)
    Currently Being Moderated
    Apr 11, 2013 7:19 AM (in response to params)

    Your question here appears related to or a continuation of this previous question — is this the case?

     

    Based on the previous posting, whatever information you're receiving from the vendor support folks appears rather garbled or confused, particularly based on that "The vendor mentioned that we need to route the DNS and get it working (forwarded) on port 80 and I'd tend to avoid them." comment over there.

     

    I'd ask the vendor for documentation and details (as on its face, a requirement for this proxy seems, well, somewhat questionable), but yes, you're probably in the Apache config files here, and probably using overrides and .htaccess if the site is low-volume, as that'll keep the changes isolated for testing.

     

    Out of curiousity, is this proxy project part of an attempt to get this package to accessible, but without the vendor actually having the package running on port 80?  (Got a pointer to the package?  We can check the docs, and see if we can translate the installation requirements into something useful on OS X Server.)

     

    Are you running 10.5 or 10.6?  Both are pretty old releases.

  • MrHoffman Level 6 Level 6 (11,720 points)
    Currently Being Moderated
    Apr 11, 2013 1:04 PM (in response to params)

    These sorts of problems, and no documentation?  Escalate this situation to your management, and allow them to sort this out.

     

    It is quite possible to for "naked" Javascript to be used as you described, but the Javascript itself is also the web server.  That Javascript does not involve any configuration within the Apache web server, it's started through some other means — launchd would be one option on OS X, and there are others — and the code then opens the specified port and provides its own web server.  This is supposition, however.

     

    There's either an error in the previous edit, or the edit is incompatible with Server Admin.  Check the system logs for details.  With Apache, there's also a command-line configuration test mechanism which can detect various errors.  The following is an example of the command:

     

    $ apachectl configtest                                        

    Syntax OK

    $

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.