Skip to content

fix #4165 【システム】サブフォルダ設置時にインストーラーが実行できない件を修正#4385

Open
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4165
Open

fix #4165 【システム】サブフォルダ設置時にインストーラーが実行できない件を修正#4385
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4165

Conversation

@kaburk
Copy link
Copy Markdown
Collaborator

@kaburk kaburk commented May 22, 2026

よろしくお願いします。

Copilot AI review requested due to automatic review settings May 22, 2026 10:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

サブフォルダ配下に baserCMS を設置した場合に、.htaccessRewriteBase / が絶対パス解決を引き起こしてリライト先がドキュメントルート基準になり、インストーラー実行(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 リライト先がルート基準にならないように調整

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants