Skip to content

Reverse proxy : css/js ressources not found #80

Open
@lefevred

Description

@lefevred

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions