Hi,
A few days back we received vendor FOO's documentation in electronic format
and we put the document root at
/path/to/vendor/FOO/doc/root
With node-static and the usual:
var static = require('node-static');
var file = new static.Server('/path/to/vendor/FOO/doc/root');
...
we quickly managed to serve the documentation up via node-static in no time.
i've also been running a reverse proxy with http-proxy which requires
client-side X.509 authentication. Now i'm asked to explore the
possibility to serve the vendor documentation through my reverse proxy and
the URL proposed to arrive at the document root of FOO is something like:
https://proxyHost:proxyPort/vendor/FOO
With node-static and node-proxy in the picture, i can't think of an easy
way to achieve that unless i add the path prefix "/vendor/FOO" to all the
paths in the files in
/path/to/vendor/FOO/doc/root
which is quite traumatic. Is there a better (hopefully much better) and
less fragile way to achieve that?
Thanks.
--
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.