We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6acda63 commit f75141aCopy full SHA for f75141a
.htaccess
@@ -1,13 +1,12 @@
1
RewriteEngine on
2
3
-RewriteCond %{REQUEST_URI} !^/notes/static
4
-RewriteCond %{REQUEST_URI} !^/notes/files/[^/]+/[^/]+\.[^/]+
+RewriteCond %{REQUEST_URI} !^/static
+RewriteCond %{REQUEST_URI} !^/files/[^/]+/[^/]+\.[^/]+
5
6
RewriteRule ^([^/]*)$ index.php?file=$1 [L,QSA]
7
8
9
10
11
12
RewriteRule .* "-" [F]
13
-
Dockerfile
@@ -0,0 +1,6 @@
+FROM php:apache
+
+# Enable ReWrite module
+RUN a2enmod rewrite
+COPY . /var/www/html/
0 commit comments