开发者

why does not .htaccess file work on the following website sak.ps?

I search for a way to hid开发者_如何学Ce php extension to show website files as folders and I found it can be done using .htaccessm and i found this code :

   RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.php -f
    RewriteRule ^(.*)$ $1.php

But it does not working for me! Van anyone help please?

rewrite mode is enabled on server


The website uses nginx which does not support Apache .htaccess files.

See https://serverfault.com/questions/24243/nginx-support-for-htaccess-rewrite-rules-differences-from-apache

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜