Apache/.htaccessのファイル名を変更する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(../)
* .htaccessのファイル名を変更する [#x064e41d]
.htaccessというファイル名を変更したい場合は、以下の設定に...
#contents
#htmlinsertpcsp(web-top.html,web-sp.html)
* 関連記事 [#m79edeaf]
- [[.htaccessによる設定が反映するようにする>Apache/.htacc...
* 使用した環境 [#g427d479]
- Apache(httpd)
# httpd -v
Server version: Apache/2.2.3
Server built: Feb 23 2012 21:16:56
- OS
# lsb_release -sd
"CentOS release 5.8 (Final)"
* .htaccessファイルをやめ別名のファイル名にする [#o374a75e]
この資料では、.htaccessファイルを.htconfigに変更してみる...
デフォルト値.htaccessファイル名を変更するには、AccessFile...
httpd.confを確認すると、以下の記述があります。~
(OS, Apacheのバージョンによりhttpd.confが異なる場合がある...
<省略>
#
# AccessFileName: The name of the file to look for in ea...
# for additional configuration directives. See also the...
# directive.
#
AccessFileName .htaccess
<省略>
以下のようにAccessFileName .htaccessを.htconfigに修正しま...
<省略>
#
# AccessFileName: The name of the file to look for in ea...
# for additional configuration directives. See also the...
# directive.
#
AccessFileName .htconfig
<省略>
以上、修正が完了したら''Apache(httpd)の再起動が必要''です。
#htmlinsertpcsp(web-btm.html,web-sp.html)
終了行:
#navi(../)
* .htaccessのファイル名を変更する [#x064e41d]
.htaccessというファイル名を変更したい場合は、以下の設定に...
#contents
#htmlinsertpcsp(web-top.html,web-sp.html)
* 関連記事 [#m79edeaf]
- [[.htaccessによる設定が反映するようにする>Apache/.htacc...
* 使用した環境 [#g427d479]
- Apache(httpd)
# httpd -v
Server version: Apache/2.2.3
Server built: Feb 23 2012 21:16:56
- OS
# lsb_release -sd
"CentOS release 5.8 (Final)"
* .htaccessファイルをやめ別名のファイル名にする [#o374a75e]
この資料では、.htaccessファイルを.htconfigに変更してみる...
デフォルト値.htaccessファイル名を変更するには、AccessFile...
httpd.confを確認すると、以下の記述があります。~
(OS, Apacheのバージョンによりhttpd.confが異なる場合がある...
<省略>
#
# AccessFileName: The name of the file to look for in ea...
# for additional configuration directives. See also the...
# directive.
#
AccessFileName .htaccess
<省略>
以下のようにAccessFileName .htaccessを.htconfigに修正しま...
<省略>
#
# AccessFileName: The name of the file to look for in ea...
# for additional configuration directives. See also the...
# directive.
#
AccessFileName .htconfig
<省略>
以上、修正が完了したら''Apache(httpd)の再起動が必要''です。
#htmlinsertpcsp(web-btm.html,web-sp.html)
ページ名: