WordPressでディレクトリ階層風のURLを使うために、htaccessを有効化した際の作業メモです。Linux環境であれば同様の手順でいけると思います。以下の作業は、rootで行ってください。(sudo bashとかsuでユーザ切り替えをする。もしくはrootでログインする。)
まず、httpd.confを探します。
[root@html]# locate httpd.conf
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf
httpd.confから、.htaccessを含む記述を探して、
[root@html]# grep htaccess /etc/httpd/conf/httpd.conf -n
335:# AllowOverride controls what directives may be placed in .htaccess files.
410:AccessFileName .htaccess
413:# The following lines prevent .htaccess and .htpasswd files from being
335:# AllowOverride controls what directives may be placed in .htaccess files.
410:AccessFileName .htaccess
413:# The following lines prevent .htaccess and .htpasswd files from being
vi で「AllowOverride None」を「AllowOverride All」に書き換えて再起動します。
[root@html]# vi /etc/httpd/conf/httpd.conf
[root@html]# /etc/init.d/httpd stop
Stopping httpd:
[ OK ]
[root@html]#
[root@html]# /etc/init.d/httpd start
Starting httpd: [ OK ]
[root@html]# /etc/init.d/httpd stop
Stopping httpd:
[ OK ]
[root@html]#
[root@html]# /etc/init.d/httpd start
Starting httpd: [ OK ]