Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse proxy : css/js ressources not found #80

Open
lefevred opened this issue Aug 31, 2016 · 0 comments
Open

Reverse proxy : css/js ressources not found #80

lefevred opened this issue Aug 31, 2016 · 0 comments

Comments

@lefevred
Copy link

when trying to access the runeaudio UI through an Apache Reverse proxy, some css/js file are not found.

apache config :

ProxyPass /ra http://192.168.1.5/
ProxyPassReverse /ra http://192.168.1.5/

and testing accessing the http://revproxy/ra give me :

http://revproxy/css/runeui.1414539584.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/pushstream.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/logo.1405717429.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery-2.1.0.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/bootstrap.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.knob.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.plugin.min.1412204375.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/bootstrap-contextmenu.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.scrollTo.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.countdown.min.1413850886.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/pushstream.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/Sortable.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/fastclick.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/runeui.min.1414539584.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/pnotify.custom.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/modernizr-2.6.2-respond-1.1.0.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/openwebapp.1411810991.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/bootstrap.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.plugin.min.1412204375.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.countdown.min.1413850886.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.knob.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/bootstrap-contextmenu.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/jquery.scrollTo.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/Sortable.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/fastclick.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/runeui.min.1414539584.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/pnotify.custom.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/modernizr-2.6.2-respond-1.1.0.min.1405717429.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/js/vendor/openwebapp.1411810991.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/favicon-32x32.1412503231.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/favicon-16x16.1412503231.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/favicon-96x96.1412503231.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/favicon-160x160.1412503231.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/favicon-192x192.1412503231.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/img/favicon.1410020570.ico Failed to load resource: the server responded with a status of 404 (Not Found)
http://revproxy/css/runeui.1414539584.css Failed to load resource: the server responded with a status of 404 (Not Found)

obviously because ressources are with a "/" at the begining of the URI.
Any idea to make this work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant