[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnump3d-users] templates does not use "hostname" variable ?
From: |
DeMZed |
Subject: |
[Gnump3d-users] templates does not use "hostname" variable ? |
Date: |
Mon, 6 Mar 2006 01:34:11 +0100 |
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