我使用了 PHP 对页面进行了构建。
在查阅相关资料后,我得知 Serv00 可以使用 APACHE .htaccess 配置伪静态。
但是令我不解的是,我这样书写了我的 htaccess 文件,但他们并不正常工作。
I used PHP to build the page.
After consulting relevant materials, I learned that Serv00 can use htaccess file(s) to configure this.
But what puzzled me was that I wrote my htaccess file like this, but they didn't work properly.
What may I do?
RewriteEngine On
Options -Indexes
ErrorDocument 404 404.html
RewriteRule ^(.*)\.html$ $1.php