Created
August 14, 2011 17:39
-
-
Save yu-tang/1145107 to your computer and use it in GitHub Desktop.
Vanilla のプリティ URL をサブディレクトリで有効にする手順
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
1. conf/config.php | |
$Configuration['Garden']['RewriteUrls'] = FALSE; | |
↓ | |
$Configuration['Garden']['RewriteUrls'] = TRUE; | |
2. .htaccess | |
こんな感じになってるところを、 | |
# RewriteEngine On | |
# Certain hosts may require the following line. | |
# If vanilla is in a subfolder then you need to specify it after the /. | |
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum) | |
RewriteBase / | |
こんな感じに直す。 | |
RewriteEngine On | |
# Certain hosts may require the following line. | |
# If vanilla is in a subfolder then you need to specify it after the /. | |
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum) | |
RewriteBase /~yu-tang/vanilla |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment