Answer the question
In order to leave comments, you need to log in
Why don't paths to OpenServer styles and scripts work in .htaccess file?
Good afternoon.
Here is the content of the .htaccess file
RewriteEngine on
RewriteBase /
Options All -Indexes
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^resource/(.*)$ resource/$1 [L]
RewriteRule ^.*$ [NC,L]
RewriteRule ^.*$ index.php [NC,L]
AddDefaultCharset UTF-8
<link href="/../style/style_main.css" rel="stylesheet">
<!-- Bootstrap -->
<link href="/../style/bootstrap.css" rel="stylesheet">
<link href="/../style/media.css" rel="stylesheet">
<link href="/../style/style.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question