<div dir="ltr">unsuscribe</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 8 abr. 2019 a las 16:15, jake (<<a href="mailto:jake@jakebriggs.com">jake@jakebriggs.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>I have had a bunch of issues getting reverse proxy running with apache properly, the main issue is with YP listings and having icecast list the revproxy mount at port 80 rather than the icecast one at port 8000. Unfortunately, I /need/ some sort of http server on port 80 - and I know apache the best.</p>
<p>That being said, if you know the mounts you want to reverse proxy, its not an arduous exercise to revproxy with apache. Here is an anonymized /etc/apache2/sites-enabled/000-default.conf</p>
<p> </p>
<p>---------------- 8< ----------------<br><VirtualHost *:80><br> ServerName <a href="http://example.com" target="_blank">example.com</a><br><br> ServerAdmin webmaster@localhost<br> DocumentRoot /var/www/html<br> LimitRequestLine 10000000<br><br> ErrorLog ${APACHE_LOG_DIR}/error.log<br> CustomLog ${APACHE_LOG_DIR}/access.log combined<br><br> Include conf-available/serve-cgi-bin.conf<br><br> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<br> <Directory "/usr/lib/cgi-bin"><br> AllowOverride None<br> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch<br> Require all granted<br> </Directory><br><br> ProxyPreserveHost On<br><br> ProxyPass /jakemusic <a href="http://localhost:8000/jake-radio.mp3" target="_blank">http://localhost:8000/jake-radio.mp3</a><br> ProxyPassReverse /jakemusic <a href="http://localhost:8000/jake-radio.mp3" target="_blank">http://localhost:8000/jake-radio.mp3</a><br><br> ProxyPass /carlymusic <a href="http://localhost:8000/carly-radio.mp3" target="_blank">http://localhost:8000/carly-radio.mp3</a><br> ProxyPassReverse /carlymusic <a href="http://localhost:8000/carly-radio.mp3" target="_blank">http://localhost:8000/carly-radio.mp3</a><br><br> ProxyPass /dnbmusic <a href="http://localhost:8000/dnb-radio.mp3" target="_blank">http://localhost:8000/dnb-radio.mp3</a><br> ProxyPassReverse /dnbmusic <a href="http://localhost:8000/dnb-radio.mp3" target="_blank">http://localhost:8000/dnb-radio.mp3</a><br><br> ProxyPass /subsonic <a href="http://localhost:4040/subsonic" target="_blank">http://localhost:4040/subsonic</a><br> ProxyPassReverse /subsonic <a href="http://localhost:4040/subsonic" target="_blank">http://localhost:4040/subsonic</a><br><br> ProxyPass /jsonrpc <a href="http://localhost:6800/jsonrpc" target="_blank">http://localhost:6800/jsonrpc</a><br> ProxyPassReverse /jsonrpc <a href="http://localhost:6800/jsonrpc" target="_blank">http://localhost:6800/jsonrpc</a><br><br> Header set Access-Control-Allow-Origin "*"<br></VirtualHost></p>
<p>---------------- 8< ----------------</p>
<p> </p>
<p>So the only real things in the config you need is the "ProxyPreserveHost On" and the 6 lines proxying 3 icecast mounts, jake-radio.mp3, carly-radio.mp3, and dnb-radio.mp3. I also reverse proxy to a subsonic server and a jsonrpc backend for an unrelated thingy, and the rest like the cgi-bin stuff is unrelated.</p>
<p> </p>
<p>Jake</p>
<p> </p>
<p>On 2019-04-09 08:49, Yahav Shasha wrote:</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div dir="auto">
<div dir="auto">As for the root concerns check the changeowner or chroot.</div>
<div dir="auto">Now, if you must use revproxy its not entierly out of the question but from my experience its better to avoid it unless u have no other options. And if you do go that way, use nginx instead of apache.</div>
<div dir="auto"> </div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">בתאריך יום ב׳, 8 באפר׳ 2019, 22:46, מאת Jordan Verner <<a href="mailto:jordan@caturria.ca" target="_blank">jordan@caturria.ca</a>>:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">Okay, but you'd have to be able/willing to employ a dedicated IP to that, plus run Icecast as root.
<div>What are the negative technical implications of running icecast on port 8000 (suitable for most users) and then running a reverse proxy to accommodate public wifi with port restrictions?</div>
<div><br>
<div><br>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div>On Apr 8, 2019, at 3:31 PM, Yahav Shasha <<a href="mailto:yahav.shasha@gmail.com" target="_blank">yahav.shasha@gmail.com</a>> wrote:</div>
<br class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803Apple-interchange-newline">
<div>
<div dir="auto">Just bind icecast to port 80...
<div dir="auto">Its not uncommon to use a subdomain for a stream..</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">בתאריך יום ב׳, 8 באפר׳ 2019, 22:28, מאת Jordan Verner <<a href="mailto:jordan@caturria.ca" target="_blank">jordan@caturria.ca</a>>:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">What's wrong with reverse proxying icecast through apache?
<div>In my case, it's just a measure to allow a secondary point of access to a stream from public wifi that only allows ports 80 and 443.</div>
<div>Is it just a potential resource usage implication?</div>
<div><br>
<div><br>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div>On Apr 7, 2019, at 6:12 PM, Humberto Rodriguez <<a href="mailto:sub@hrfinancial.com" target="_blank">sub@hrfinancial.com</a>> wrote:</div>
<br class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-interchange-newline">
<div>
<div class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395WordSection1" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Why not reproduce the stream using the <audio> element of HTML in a regular webpage?<span> <span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span></span>You could turn<span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395SpellE">autoplay</span><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span>on and the<span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395SpellE">strean</span><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span>would sound automatically on most browsers, not so on Google's.<u></u><u></u></span></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Humberto<u></u><u></u></span></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
<div>
<div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(225,225,225);padding:3pt 0in 0in">
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><strong><span>From:</span></strong><span><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span>Icecast <<a href="mailto:icecast-bounces@xiph.org" target="_blank">icecast-bounces@xiph.org</a>><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span><strong>On Behalf Of<span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span></strong>John Molane<br><strong>Sent:</strong><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span>Sunday, April 7, 2019 12:44 PM<br><strong>To:</strong><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span><a href="mailto:icecast@xiph.org" target="_blank">icecast@xiph.org</a><br><strong>Subject:</strong><span class="gmail-m_460935368706785617m_8732826193496481136m_8444360044895726803m_-5178528793525871395Apple-converted-space"> </span>[Icecast] Question about replacing the web interface with an audio stream<u></u><u></u></span></div>
</div>
</div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Hello,<u></u><u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>I was wondering if someone here could help me out.<u></u><u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>I have a domain that I'm using for Icecast, let's use "<a href="http://domain.com/" target="_blank">domain.com</a>" as an example. Icecast is running on port 80. The problem is that when I go to "<a href="http://domain.com/" target="_blank">domain.com</a>" in my web browser, it brings up the web interface.<u></u><u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>I want to configure it so that instead of showing the status page, it immediately goes to one of my mountpoints. This would make it so people don't have to remember the full path to the mountpoint.<u></u><u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Is this possible? I apologize if I'm overlooking something simple. This doesn't seem to be a very common way of using Icecast.<u></u><u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span><u></u> <u></u></span></div>
</div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Thanks.<u></u><u></u></span></div>
</div>
</div>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Icecast mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline"><a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline"><a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a></span></div>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br> Icecast mailing list<br> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br> <a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a></blockquote>
</div>
_______________________________________________<br>Icecast mailing list<br><a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br><a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a></div>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br> Icecast mailing list<br> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br> <a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a></blockquote>
</div>
</div>
<br>
<div class="gmail-m_460935368706785617pre" style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br> Icecast mailing list<br> <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br> <a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a></div>
</blockquote>
</div>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
</blockquote></div>