未禁用OPTION方法火狐訪問
禁用APACHE,OPTION方法
編輯httpd.conf
<VirtualHost *:60081> ServerAdmin [email protected] ServerName 192.168.15.63 DocumentRoot /home/w/html/zt2878 <Directory /home/w/html/zt2878> #禁用OPTION方法,添加以下幾行代碼 <Limit OPTION> Order deny,allow Deny from all </Limit> </Directory> ErrorLog "logs/zt2878-error_log" CustomLog "logs/zt2878-access_log" combined </VirtualHost>
重啓apache生效
再次使用火狐訪問如下: