On Mon, 10 Oct 2016, StarX wrote: > I've got a Mojolicious app running under CGI, but my css and js files are > not being served from the pubic directory. ... > My URLs appear correctly in the page source as /dir/my_app/css/file.css and > /dir/my_app/js/file.js but clicking them in the source just displays the > entire page content rather than the css/js. I'm not quite sure how to > configure the rewrite correctly, can anyone help?
I think you should configure apache so that those files are served directly by apache, rather than attempt to have your application executed.