filename - hashkey

sanados sanados at failure.at
Thu Jan 3 12:29:49 UTC 2008


sorry, haven't found anything about this topic.

What i would need would be different filenames.

right now the files are looking like:

/dev1/0/000/000/0000000011.fid

any chance that i could name them

/dev1/0/000/000/0000000011_5e2bc.jpg  for example.

so i prevent that user could browse through the server and get all files.
and i would also need to rewrite 
http://127.0.0.1:7500/dev1/0/000/000/0000000011.fid

Intern (servers) should still use this, though to deliver the files 
outside i would love to change the url to:

http://fs1.files.domain.com/0/000/000/0000000011.fid (those request will 
be handled by normal http server (apache,lighttpd, ...))

(furthermore resulting in: 
http://fs1.files.domain.com/0/000/000/0000000011_5e2bc.jpg)


i do know that i could rewrite the domain and port in my scripts (php in 
this case).
Though i don't want to give any logic to the Website.
(still looking forward that anyone gets the FUSE up and running)


Any hints?

thx
 Jürgen Krieger


More information about the mogilefs mailing list