I've strange problem!
When I'm running my application using system installation of Apache2 and put files into directory /var/www/
all related .css
and .js
files are found by Apache process and served to user throught web browser.
Website tree looks that:
/var/www/
index.html
/css
*.css
But... When I moved these data to /home/_user/www-data
directory and start apache2 instance on my account with extra prepared file apache.conf
with DocumentRoot
pointed to /home/_user/www-data
where files structure looks that same as original it can't find any *.css or *.js files!
/home/_user/www-data
index.html
/css
*.css
Starting apache using command:
/usr/sbin/apache2 -f /home/_user/apache.conf
Part of HTML:
<link rel="icon" href=".glocal/ikona.png">
<!-- Custom styles for this template -->
<link href="local/dashboard.css" rel="stylesheet">
<script src="local/assets/js/ie-emulation-modes-warning.js"></script>
<link href="local/select2.min.css" rel="stylesheet" />
Aucun commentaire:
Enregistrer un commentaire