-
-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix .htaccess generation, add docker-based tests for it
- Loading branch information
1 parent
551a560
commit 594e79e
Showing
6 changed files
with
662 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/htaccess.tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Test image only containing the generated .htaccess file with redirects | ||
FROM httpd:2.4 | ||
|
||
# It's the default file except we AllowOverride All, and enable mod_rewrite | ||
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf | ||
COPY ./htaccess.tmp /usr/local/apache2/htdocs/.htaccess | ||
RUN chmod a+r /usr/local/apache2/htdocs/.htaccess |
Oops, something went wrong.