Skip to content

Commit

Permalink
Moved .htaccess to docker directory
Browse files Browse the repository at this point in the history
  • Loading branch information
d9beuD committed Oct 28, 2024
1 parent 80a5578 commit 2fbf7a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ services:
- .:/var/www/
- ./docker/apache/apache.conf:/etc/apache2/sites-enabled/000-default.conf
- ./docker/apache/php.ini:/usr/local/etc/php/conf.d/php.custom.ini
- ./docker/apache/.htaccess:/var/www/public/.htaccess
ports:
- 8000:80
depends_on:
Expand Down
4 changes: 4 additions & 0 deletions public/.htaccess → docker/apache/.htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#
# EDIT ME IN `/docker/apache/.htaccess` ONLY
#

<IfModule mod_rewrite.c>
RewriteEngine On

Expand Down

0 comments on commit 2fbf7a1

Please sign in to comment.