SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 30 day free trial to unlock unlimited reading.
10.
Basic認証(3)
手順19 Apacheの設定ファイルを修正して下さい
コマンド「:set number」で⾏数表⽰をさせて下さい。
変更前
変更後
vi で「yy」ヤンク「p」ペーストが便利です
10
[root@suzukto suzukito]# cp␣-p␣/etc/httpd/conf/httpd.conf␣/etc/httpd/conf/httpd.conf.bak
[root@suzukto suzukito]# ls␣-al␣/etc/httpd/conf/httpd.conf
[root@suzukto suzukito]# vi␣/etc/httpd/conf/httpd.conf
150 # AllowOverride controls what directives may be placed in .htaccess files.
151 # It can be "All", "None", or any combination of the keywords:
152 # Options FileInfo AuthConfig Limit
153 #
154 AllowOverride None
150 # AllowOverride controls what directives may be placed in .htaccess files.
151 # It can be "All", "None", or any combination of the keywords:
152 # Options FileInfo AuthConfig Limit
153 #
154 #AllowOverride None
155 AllowOverride All