[Rumpus-talk] [Rumpus] Apache2 proxy (was: Virtual Host Setup)
John Readwin
appsupport at netextras.com
Mon Sep 21 07:14:50 PDT 2009
I'm not sure if Jonas or Patrick are still out there, but I'm hoping
someone can give me a little more guidance on this issue.
I too am trying to set-up rumpus to work on leopard server via port 80.
I have a separate IP address available ( if that makes it easier)
I'm using Leopard server ( GUI) to administer the server.
1) If I use a separate IP, do I simply have to specify each domain/
virtual host in the leopard GUI to IP's other than the one I specify
for (within) Rumpus?
Just not sure on the whole "binding apache to IP address(s) thing" !
2) If i want/need to use the same IP, when I setup the virtual host
for rumpus within the GUI, ( as suggested by Patrick) does it make a
difference where I point the web folder to?
I did try ths method, but when I tried adding the info as suggested,
it didn't work. The file
/etc/apache2/sites/files_domain_com_80.conf
had much more data in it
I tried deleting all but the info below, but then that messed with the
GUI config.
<VirtualHost *:80>
ServerName files.domain.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://files.domain.com:8000/
ProxyPassReverse / http://files.domain.com:8000/
</VirtualHost>
Any suggestions or words of advice?
Thanks
John
On Nov 18, 2008, at 12:15 AM, Jonas Berg wrote:
> Super! It works.
>
> /jonas
>
> 17 nov 2008 kl. 15.50 skrev Patrick Sneyers:
>
>> I don't know if you can set the proxy in the GUI (never played with
>> 10.5 server)
>>
>> Best make a Virtual Host in the GUI just for Rumpus (like
>> files.domain.com) en then use Smultron or some text editor to edit
>> the corresponding vhost.conf file directly (Don't use textedit.app).
>>
>> The file would be:
>> /etc/apache2/sites/files_domain_com_80.conf
>> or
>> /etc/apache2/users/files_domain_com_80.conf
>>
>> When done, run this command in terminal:
>> sudo apachectl -t
>> (this checks your syntax, and will tell you about any errors).
>>
>> Restart the web service.
>>
>>
>> http://tuppis.com/smultron/
>>
>> Patrick
>>
>>
>> Op 17-nov-08, om 13:06 heeft Jonas Berg het volgende geschreven:
>>
>>> Does this work on 10.5 Server? Can it be done with Server Admin?
>>>
>>> /jonas
>>>
>>>
>>> 7 nov 2008 kl. 10.51 skrev Patrick Sneyers:
>>>
>>>> Replying to myself here, but I've quickly tested this on my Mac
>>>> Mini (OS X 10.5.5 client), and it works.
>>>>
>>>> Patrick
>>>>
>>>> Patrick Sneyers trikke at bulckens.com
>>>> sysadmin
>>>> __________________________________________________________________
>>>> Drukkerij Bulckens NV
>>>> Grenstraat 9 Industriezone Klein Gent
>>>> 2270 Herenthout
>>>> Belgium
>>>> t +32 14 28 58 78 - +32 14 23 04 98
>>>> www.bulckens.com
>>>>
>>>>
>>>> Op 7-nov-08, om 10:22 heeft Patrick Sneyers het volgende
>>>> geschreven:
>>>>
>>>>> These instructions apply to Apache 1.3x. Leopard comes with
>>>>> Apache2
>>>>> The setup is slightly different (I haven't tried yet, but I hope
>>>>> this works as I will be moving to 10.5 next week)
>>>>>
>>>>> <VirtualHost *:80>
>>>>> ServerName files.domain.com
>>>>> ProxyRequests Off
>>>>> <Proxy *>
>>>>> Order deny,allow
>>>>> Allow from all
>>>>> </Proxy>
>>>>> ProxyPass / http://files.domain.com:8000/
>>>>> ProxyPassReverse / http://files.domain.com:8000/
>>>>> </VirtualHost>
>>>>>
>>>>> Also DNS can get in your way. Does files.domain.com resolve to
>>>>> the correct IP on your server? You can use IP address too.
>>>>>
>>>>> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
>>>>>
>>>>> Patrick
>>>>>>
>>>>>> On Nov 6, 2008, at 11:28 AM, Alexis Moore-Jones wrote:
>>>>>>
>>>>>>
>>>>>> Hi All:
>>>>>>
>>>>>> I currently have Rumpus setup on a server running Mac OS X
>>>>>> Server 10.5.5. The same server is also hosting the company
>>>>>> website. The company website is using port 80 and the Rumpus
>>>>>> WFM is using port 8000. I am running into a serious problem
>>>>>> with many of the clients trying to use the Rumpus WFM because
>>>>>> their firewall systems will not allow any traffic from 'non-
>>>>>> standard' ports and that includes port 8000.
>>>>>>
>>>>>> I contacted Maxum directly and here's their response:
>>>>>>
>>>>>>>
>>>>>>> In your httpd.conf file, you'll need to set up Apache to act
>>>>>>> as a proxy for the Rumpus domain. This will look something
>>>>>>> like this:
>>>>>>>
>>>>>>> LoadModule proxy_module libexec/httpd/libproxy.so
>>>>>>> AddModule mod_proxy.c
>>>>>>>
>>>>>>> <VirtualHost *:80>
>>>>>>> ServerName files.domain.com
>>>>>>> ProxyPass / http://files.domain.com:8000/
>>>>>>> ProxyPassReverse / http://files.domain.com:8000/
>>>>>>> </VirtualHost>
>>>>>>>
>>>>>>> Once you can connect to Rumpus on port 80, even though it's
>>>>>>> really running on port 8000, you need to make one more change...
>>>>>>>
>>>>>>> In Rumpus, open the "FTP Settings" window and click "Open
>>>>>>> Config Folder". That will expose the file "Rumpus.conf".
>>>>>>> Open that file in any text editor and add:
>>>>>>>
>>>>>>> WFMThruProxy YES
>>>>>>>
>>>>>>> Save the file, then stop and start the Rumpus service to force
>>>>>>> the change to be saved. This change will cause Rumpus to drop
>>>>>>> the ":8000" from internally generated URLs, so that the Rumpus
>>>>>>> WFM will direct users to the standard Web port, even though
>>>>>>> the Rumpus Web service is running on port 8000.
>>>>>>
>>>>>> I've tried making the Apache and Rumpus modifications but have
>>>>>> not had any luck. Has anyone had success with setting up
>>>>>> reverse-proxy routing on Mac OSXS 10.5.5?
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------
>>>> Having problems with this mailing list? Send e-mail to
>>>> "listrequests at maxum.com" with the word "HELP" in the message body.
>>>>
>>> ------------------------------------------------------------------
>>> Having problems with this mailing list? Send e-mail to
>>> "listrequests at maxum.com" with the word "HELP" in the message body.
>>>
>>>
>>
>> ------------------------------------------------------------------
>> Having problems with this mailing list? Send e-mail to
>> "listrequests at maxum.com" with the word "HELP" in the message body.
>>
> ------------------------------------------------------------------
> Having problems with this mailing list? Send e-mail to
> "listrequests at maxum.com" with the word "HELP" in the message body.
>
>
More information about the Rumpus-Talk
mailing list