Browse Source

Fix bug in Apache config.

Thomas Leister 10 years ago
parent
commit
9aeb9c0e69
1 changed files with 3 additions and 1 deletions
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -82,6 +82,7 @@ With subdirectory "webmum/" (e.g. http://mydomain.tld/webmum/):
 		RewriteEngine on
 		RewriteCond %{REQUEST_FILENAME} !-d
 		RewriteCond %{REQUEST_FILENAME} !-f
+		RewriteRule ^\/webmum/(.*)\.css$ /webmum/$1.css [L]
 		RewriteRule ^\/webmum/(.*)$ /webmum/index.php [L,QSA]
 	</VirtualHost>
 	
@@ -94,7 +95,8 @@ Without subdirectory "webmum/" (e.g. http://webmum.mydomain.tld/):
 		RewriteEngine on
 		RewriteCond %{REQUEST_FILENAME} !-d
 		RewriteCond %{REQUEST_FILENAME} !-f
-		RewriteRule ^(.*)$ index.php [L,QSA]
+		RewriteRule (.*)\.css$ $1.css [L]
+		RewriteRule ^(.*)$ /index.php [L,QSA]
 	</VirtualHost>