在htaccess中使用破折号(-)

时间:2018-10-04 13:15:31

标签: apache .htaccess

通过htaccess,我正在创建非真实目录:


    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^landing/ /landing.html [L]
    RewriteRule ^call-now/ /call-now.html [L]

第一个有效,第二个以破折号。 我没有同名的子目录。 你能帮我了解我哪里错了吗?

0 个答案:

没有答案