I've set up a local Git repository outside my Sites
folder. In hindsight, this was possibly a mistake.
I want to test one of the Git files, but my test html page needs to be inside the Sites
folder to run with Apache under ~localhost
.
So can I get the html page http://~localhost/MyUserName/test.html
(which has the path MyUserName/Sites/test.html
) to find the script with the path MyUserName/GitHub/myScript.js
? Or does the Git folder need to move to be within Sites
?
I tried the following without success:
<script src="../GitHub/myScript.js" type="text/javascript"></script>
Thanks.