[Namazu-users-en] Helper to "download" local files?

Alexander Skwar listen at alexander.skwar.name
Fri Dec 24 19:42:29 JST 2004


Hello.

I'd like to use namazu to index the files in my personal $HOME 
directory. This works pretty fine. To make the searching easier,
I'd like to use namazu.cgi in a browser. This also works somewhat
fine. However, when I search for something, it'll return hits
in files like

 /home/alexander/Eigene_Dateien/kuendigung.pdf

The link in the generated HTML result page will point to
<a href="/home/alexander/Eigene_Dateien/kuendigung.pdf">. When
I click on that link, I (obviously) won't get the file.

Because of that, I suppose I need to use some sort of "helper"
program, which would need to be passed the filename (and 
possibly also the MIME type) and which will then return
the file that has been passed. IOW, I'm looking for a 
CGI program, which should be called kinda like this:

 http://localhost/~alexander/cgi-bin/get?m=application/pdf&f=/home/alexander/Eigene_Dateien/kuendigung.pdf

Does anyone have such a program? 

Alexander Skwar
-- 
panic("Attempted to kill the idle task!");
        linux-2.2.16/kernel/exit.c
________________________________________________________________________




More information about the Namazu-users-en mailing list