fix #4165 【システム】サブフォルダ設置時にインストーラーが実行できない件を修正#4385
Open
kaburk wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
サブフォルダ配下に baserCMS を設置した場合に、.htaccess の RewriteBase / が絶対パス解決を引き起こしてリライト先がドキュメントルート基準になり、インストーラー実行(webroot/index.php への到達)が失敗する問題を解消するPRです。
Changes:
- ルート
.htaccessからRewriteBase /を削除し、サブフォルダ配下でもwebroot/への転送が正しく相対解決されるように修正 webroot/.htaccessからRewriteBase /を削除し、サブフォルダ配下でもindex.phpへの内部リライトが正しく解決されるように修正
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.htaccess |
RewriteBase / を削除して、サブフォルダ設置時の webroot/ へのリライトを破綻させないように調整 |
webroot/.htaccess |
RewriteBase / を削除して、サブフォルダ設置時の index.php リライト先がルート基準にならないように調整 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
よろしくお願いします。