I have a css linkage done like following: <link rel="stylesheet" href="res/style.css">
, however, for some reason, browser tries to get the file from localhost//server/template/res/style.css
and fails, because the server
and res
both reside on the same level in Document Root. What could be the problem?
Base URL is localhost//server/template/login.php
.htaccess
looks like following:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]