javascript - hyphen not allowed in script src=? -


i thought cgi-bin place store js script, it's not found using

<script type="text/javascript" src="cgi-bin/jscripts1.js"></script> 

renaming , changing cgi-bin cgibin makes work. documented somewhere?
thought hypen most-accepted special character.

i tested out code on local apache server. code works fine. problem seems hosted server (hostmonster) have mentioned in comments.

an alternative using hypen encode in url shown.

<script type="text/javascript" src="cgi%2dbin/jscripts1.js"></script> 

also check following links :

html: href syntax : okay have space in file name

https://github.com/bhauman/lein-figwheel/issues/5

https://github.com/emezeske/lein-cljsbuild/issues/260


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -