Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a .htaccess file to the web directory #206

Merged
merged 1 commit into from May 14, 2019

Conversation

rafaelmiti
Copy link
Contributor

Q A
Is bugfix? yes
New feature? no
Breaks BC? no
Tests pass? yes
Fixed issues no

If one downloads the project via composer create-project --prefer-dist yiisoft/yii2-app-basic basic and change the "config/web.php" file uncommenting the urlManager config, the menu of the interface does not work anymore because the index.php stays in the url.

If using apache as the web server, this fix redirects all requests to the index.php file and solves the problem.

@samdark samdark merged commit 9b4ae9c into yiisoft:master May 14, 2019
@samdark
Copy link
Member

samdark commented May 14, 2019

Merged. Thanks!

@samdark samdark added this to the 2.0.19 milestone May 14, 2019
@samdark samdark added the type:enhancement Enhancement label May 14, 2019
@rafaelmiti rafaelmiti deleted the web-htaccess branch May 14, 2019 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants