我的.htaccess看起来像这样:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^grandopeningfreeflow http://test.com/grandopeningfreeflow/ [L,R=301,QSA]
RewriteRule ^GrandOpeningFreeFlow http://test.com/grandopeningfreeflow/ [L,R=301,QSA]
RewriteRule ^grandopening http:://test.com/grandopening/ [L,R=301,QSA]
</IfModule>
当我使用网址http://first.com/grandopeningfreeflow时,它会重定向到test.com/grandopening而不是test.com/grandopeningfreeflow。如何使这两个规则区别开来?
答案 0 :(得分:0)
尝试:
[Desktop Entry]
Version=1.0
Type=Application
Name=helloworld
Comment=
Exec=./test.py
Icon=
Path=/home/xxx/Desktop
Terminal=true
StartupNotify=false