phpMyAdminをインストールして対象のディレクトリにアクセスをすると
「You don't have permission to access /phpMyAdmin/ on this server.」と警告を受けます。
パーミッションは「755」です。理由が分からず困っています。
宜しくお願いいたします
/etc/httpd/conf.d/phpMyAdmin.confの内容です
Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin <Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> Require ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from All Allow from All </IfModule> </Directory> <Directory /usr/share/phpMyAdmin/setup/> <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> Require ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 </IfModule> </Directory> # These directories do not require access over HTTP - taken from the original # phpMyAdmin upstream tarball # <Directory /usr/share/phpMyAdmin/libraries/> Order Deny,Allow Deny from All Allow from None </Directory> <Directory /usr/share/phpMyAdmin/setup/lib/> Order Deny,Allow Deny from All Allow from None </Directory> <Directory /usr/share/phpMyAdmin/setup/frames/> Order Deny,Allow Deny from All Allow from None </Directory> # This configuration prevents mod_security at phpMyAdmin directories from # filtering SQL etc. This may break your mod_security implementation. # #<IfModule mod_security.c> # <Directory /usr/share/phpMyAdmin/> # SecRuleInheritance Off # </Directory> #</IfModule>
追記
httpd -v の実行結果
Server version: Apache/2.4.6 (CentOS) Server built: Jul 18 2016 15:30:14
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/12/01 08:57
退会済みユーザー
2016/12/01 09:17 編集
2016/12/01 09:26
退会済みユーザー
2016/12/01 09:31 編集
2016/12/01 09:32
退会済みユーザー
2016/12/01 09:36
退会済みユーザー
2016/12/01 09:43
2016/12/01 09:50
退会済みユーザー
2016/12/01 09:53
2016/12/01 09:55
退会済みユーザー
2016/12/01 10:20
2016/12/02 03:31
退会済みユーザー
2016/12/02 04:19
2016/12/02 04:49
2016/12/02 06:36
退会済みユーザー
2016/12/02 06:38
2016/12/02 07:14
退会済みユーザー
2016/12/02 07:20
2016/12/02 07:32
退会済みユーザー
2016/12/02 07:57
退会済みユーザー
2016/12/02 07:59 編集
2016/12/02 08:08
退会済みユーザー
2016/12/02 08:16