html - Accessing a file on my domain relative to port -
i running node server on port 3000. have css file stored on http://mydomain.com/style.css
but since every page right http://mydomain.com:3000/randompage.html
how can access style.css file? can http://mydomain.com:3000/styles.css
page working on, doesn't exist.
what best way deal situation? suppose applies files need access.
i don't know simple solution using relative url or html magic in page.
the usual solution install module in apache or function in node.js redirect requests other server html, seems coming single source.
this document should started when using apache: using mod_rewrite proxying
Comments
Post a Comment