Skip to content

Commit 2fbf7a1

Browse files
committed
Moved .htaccess to docker directory
1 parent 80a5578 commit 2fbf7a1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ services:
3434
- .:/var/www/
3535
- ./docker/apache/apache.conf:/etc/apache2/sites-enabled/000-default.conf
3636
- ./docker/apache/php.ini:/usr/local/etc/php/conf.d/php.custom.ini
37+
- ./docker/apache/.htaccess:/var/www/public/.htaccess
3738
ports:
3839
- 8000:80
3940
depends_on:

Diff for: public/.htaccess renamed to docker/apache/.htaccess

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#
2+
# EDIT ME IN `/docker/apache/.htaccess` ONLY
3+
#
4+
15
<IfModule mod_rewrite.c>
26
RewriteEngine On
37

0 commit comments

Comments
 (0)