Hi,

I am using the following folder structure for an expressjs website:

/app.www
/app.uploads

I would like to use the static middleware to server the files in the
app.uploads folder, but with the following prefix: "/uploads":

http://localhost:3000/b.jpg <-- /app.www/b.jpg
http://localhost:3000/uploads/b.jpg <-- /app.uploads/b.jpg

(Obviously I would like to keep the uploads folder outside of the www folder)

Any ideas?

Thanks,
Gus

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to