Youps... I mismatched some options in gnump3d.conf.
The right one to modify the generated links in the .m3u files is "host_rewrite". OK OK OK. But... What is the one for the generated links & shortcuts in the template ? This is always the case :'( ... <title>GNUmp3d Media Streamer</title> <link rel="stylesheet" href="/BlueBox.css" type="text/css" /> </head> ... Or ... <table class="items"> <tr><td class="item-head" colspan="4">Subdirectories of /</td></tr> <tr class="item"><td><a class="bar" href="/Test/">Test</a></td><td>13 songs</td><td>2 subdirectories</td> ... Thanks :) -----Message d'origine----- De : DeMZed [mailto:[EMAIL PROTECTED] Envoyé : lundi 6 mars 2006 01:34 À : '[email protected]' Objet : templates does not use "hostname" variable ? Hi all :) In order to use my existing httpd server in reverse proxy over https, I've got the following directories: / (document root) \-- music \-- other stuff In directory music, I've put this .htaccess : AuthUserFile /<somewhere>/.htpasswd AuthGroupFile /dev/null AuthName "Just type it in" AuthType Basic <Limit GET POST> Require valid-user </Limit> RewriteEngine On RewriteRule ^(.*) http://127.0.0.1:8888/$1 [P,L] In gnump3d.conf I've setup : hostname = <my public name>/music When I go to http://<my public name>/music, redirection works fine but the template does not seem to eat 'hostname' conf variable ; the generated source gives something like that : ... <title>GNUmp3d Media Streamer</title> <link rel="stylesheet" href="/BlueBox.css" type="text/css" /> </head> ... Or ... <table class="items"> <tr><td class="item-head" colspan="4">Subdirectories of /</td></tr> <tr class="item"><td><a class="bar" href="/Test/">Test</a></td><td>13 songs</td><td>2 subdirectories</td> ... You see, links does not include such a "<my public name>/music". Any idea about this ? It seemed to me that it was a good old former bug resolved from a while ? Thanks guys :) DeMZed _______________________________________________ Gnump3d-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnump3d-users
