Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
docker-yii2-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
docker-yii2-app
Commits
1c5261a6
Commit
1c5261a6
authored
Jan 24, 2018
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabled mod_rewrite; added .htaccess
parent
a473bb65
Pipeline
#27518
passed with stages
in 45 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Dockerfile
Dockerfile
+2
-0
.htaccess
web/.htaccess
+6
-0
No files found.
Dockerfile
View file @
1c5261a6
FROM
yiisoftware/yii2-php:7.2-apache
RUN
a2enmod rewrite
WORKDIR
/app
ADD
composer.lock composer.json /app/
...
...
web/.htaccess
0 → 100644
View file @
1c5261a6
RewriteEngine
on
# If a directory or a file exists, use it directly
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule
. index.php
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment