|
Re: Writing hooks for Perlbal: msg#00003web.server.perlbal.general
Alright, I have the plugin/callback being called. Looks like I just needed to add "plugins = MyPlugin" (where MyPlugin is the package in the Perlbal/Plugin directory). The callback functionality looks useful for polling things and reacting accordingly, I've implemented this, however I am curious how to rewrite a request to a different backend server. Ideally I'd like to be able to be able to: Accept a request to a virtualhost Verify that the backend server is up and running if it's not then hold the request while I either: a) bring the backend server up b) rewrite the request to a different server Any ideas how to redirect the request, POST data, etc to a different machine? Raistlin, |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Writing hooks for Perlbal: 00003, Raistlin Majere |
|---|---|
| Next by Date: | Re: Writing hooks for Perlbal: 00003, Elliot F |
| Previous by Thread: | Re: Writing hooks for Perlbali: 00003, Raistlin Majere |
| Next by Thread: | Re: Writing hooks for Perlbal: 00003, Elliot F |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |