I've been going through the lists to try and understand the best way for serving data from the storage nodes. <br><br>Here's a brief overview of what I've come up with:<br>My app is written in PHP, and we serve up a ton of images. img src tags are generated, currently, depending on where the image is stored. This should be easy to integrate with the API and the getPaths command. I'd just return one of the URLs back to the code generator and the users browser can go and GET the image directly.
<br><br>One question I'm coming up with is, what are some common practices for rewriting the URLs before passing them back to the user? I get back URL looking like:<br><a href="http://10.10.10.4:7500/dev2/0/000/000/0000000024.fid">
http://10.10.10.4:7500/dev2/0/000/000/0000000024.fid</a><br><br>Wondering what others are doing for cleaning that up a little bit for the HTML source, or if it's even worth it? <br><br>One other question I'm wondering about is the altip/altmask options on the host settings. I have a private network setup that my trackers, database, and storage node all talk over. Obviously, I want to return a public IP/host for users to view. I assume I can use the altip/altmask options for this. Or, do I set the altip/altmask to the private IP network, and the "ip" to the public IP? Anybody else got some examples I can give a go?
<br><br>Thanks,<br><br>-c<br>