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
# DocumentRootの変更 | |
s/DocumentRoot .*$/DocumentRoot \/vagrant\/myapp\/public/ | |
# VirtualHostディレクティブが閉じられる直前の行に追記 | |
/<\/VirtualHost>/s/^/\n\t<Directory \/vagrant\/myapp\/public\/>\n\t\tOptions FollowSymLinks\n\t\tAllowOverride All\n\t\tRequire all granted\n\t<\/Directory>\n/ |
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
[program:monacoin-main] | |
user=coinmaster | |
autostart=true | |
autorestart=true | |
command=/usr/bin/monacoind -server -rpcallowip=127.0.0.1 -rpcuser=monacoinrpc -rpcpassword=m0nac0in -rpcport=56011 -datadir=/coindata/monacoin-main |
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
# このプロジェクトでは、文字コードはUTF-8で開発します | |
# default_charset = "UTF-8" | |
s|^;\?\(default_charset\) \?= \?.*$|\1 = "UTF-8"| | |
# mbstring.language = Japanese | |
s|^;\?\(mbstring.language\) \?= \?.*$|\1 = Japanese| | |
# mbstring.internal_encoding = "UTF-8" | |
s|^;\?\(mbstring.internal_encoding\) \?= \?.*$|\1 = "UTF-8"| |
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
# デフォルトの設定ではブラウザからファイル一覧が見えてしまう可能性があるので、見えないよう設定 | |
/<Directory \/var\/www\/>/,/<\/Directory>/s|\(Options[-+ A-Za-z]*\) Indexes\([-+ A-Za-z]*\)|\1\2| | |
# .htaccessファイルを使用できるようにする | |
/<Directory \/var\/www\/>/,/<\/Directory>/s|AllowOverride [A-Za-z]*|AllowOverride All| |