https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412005-06-18T18:05:22Zlighty labsLighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=3422005-06-18T18:05:22ZAnonymous
<ul></ul><p>I think this would be very useful too. It is like ProxyPass and ProxyPassReverse for apache.</p>
<p>-- miles.wu</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=3432005-10-07T03:17:26ZAnonymous
<ul></ul><p>Add another vote for this.</p>
<p>-- cpisto</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=3442005-10-07T03:17:32ZAnonymous
<ul></ul><p>Add another vote for this.</p>
<p>-- cpisto</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=3452006-05-30T15:08:42ZAnonymous
<ul></ul><p>+1</p>
<p>-- zimbatm</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=3462006-09-07T22:20:11ZAnonymous
<ul></ul><p><strong>I could use this feature as well</strong></p>
<p>I'm currently using mod_rewrite to 'fix' the URI before it is processed on the target system.</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=96072016-05-16T06:25:26Zgstrauss
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/9607/diff?detail_id=7676">diff</a>)</li><li><strong>Assignee</strong> deleted (<del><i>jan</i></del>)</li><li><strong>Priority</strong> changed from <i>High</i> to <i>Low</i></li></ul><p>Much of what is requested here can be done by writing custom lua code and using mod_magnet. Another alternative is to use the scripting language of your choice to do the translation on the backend server that receives the proxied request.</p>
<p>However, to add this to lighttpd configuration settings is not a minor enhancement -- it would be a substantial amount of work. Supporting "Apache-style" ProxyPass and ProxyPassReverse would also require writing a user-interface to support various, complex, user-configurable settings, even if that user-interface was similar to Apache ProxyPass and ProxyPassReverse. When there were many fewer "programmers" than there are now, maybe learning how to program the "Apache-style" config language was more worthwhile than it is today. Today, I would suggest learning a scripting language is, at least in some cases, more worthwhile than learning the "Apache-style" config language.</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=110022017-04-28T23:30:54Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li><li><strong>Target version</strong> set to <i>1.4.46</i></li></ul><p><strong>Experimental</strong> feature added with new directive <code>proxy.header = ( ... )</code></p>
<p>Please see <a class="wiki-page" href="https://redmine.lighttpd.net/projects/lighttpd/wiki/DevelGit">DevelGit</a> and checkout branch personal/gstrauss/master to give it a try.</p> Lighttpd - Feature #152: mod_proxy feature to remove part of the URI when passing along requests...https://redmine.lighttpd.net/issues/152?journal_id=110242017-05-16T03:30:05Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[mod_proxy] simple host/url mapping in headers (fixes #152) Provide a simple mechanism for mappi..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/036d3d3d66f33539dc8ab52de8d2049a5ca2587d">036d3d3d66f33539dc8ab52de8d2049a5ca2587d</a>.</p>