I recently setup Windows Subsystem Linux and created a symbolic link to a Windows folder in the Apache2 default server folder like so...
ln -s /mnt/c/Users/user/Desktop/folder /var/www/html
...so that I was left with the following folder and file structure
/var/www/html/folder/file.php
/var/www/html/folder/css/file-name.css
In the PHP file I had linked to the CSS file. However, the CSS filename included a dash (file-name.css), which prevented localhost/folder/file.php from displaying any changes made to file-name.css in the browser.
Anybody know why this happened?
Is this a bug?
Or are dashes not allowed in a Linux and or Apache environment?
linkelement.<link rel='stylesheet' href='file-name.css'>– oldboy Aug 18 '17 at 22:33backgroundcolor, but if you were to change the color of thebackgroundthe change wouldn't show up. for whatever reason the dash caused some sort of conflict – oldboy Aug 22 '17 at 19:58<link>to a css file with a dash in its name and then host the files on your server – oldboy Aug 22 '17 at 21:11