mod_rewrite problem with relative path css/js
问题 Hi I have a problem. I want to get all requests to redirect to index file in main directory and I've achieved this but there are problems with relative paths. When I put address like: mydomain.com/something it works ok as the paths are relative to the main directory. The problem is when I put something like: mydomain.com/something/somethingelse. the .htaccess file: Options FollowSymLinks RewriteEngine On # ignore anything that's an actual file RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f #