if you want use htaccess in centos virtualhost
/etc/httpd/conf/http.conf
<Directory /var/www/you website(exeample.com)/public_html/>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Hiç yorum yok:
Yorum Gönder