使用 RewriteRule 在 htaccess 中出错
Error in htaccess with RewriteRule
我的 .htacces 中有这段代码
RewriteRule ^(.+)/(.+)/(.+)$ index.php?modo=&tipo=&poblacion=
当我访问 myweb 时。com/first-text/second-text/third-text nad this show me
出现以下错误:
请求的 URL 导致内部服务器错误。
如果您反复收到此消息,请联系网站管理员。
在 .htaccess 文件中使用以下规则:-
RewriteEngine on
RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)$ index.php?modo=&tipo=&poblacion= [L]
然后你可以使用url作为:-
myweb.com/modoValue/tipoValue/poblacionValue
我的 .htacces 中有这段代码
RewriteRule ^(.+)/(.+)/(.+)$ index.php?modo=&tipo=&poblacion=
当我访问 myweb 时。com/first-text/second-text/third-text nad this show me
出现以下错误: 请求的 URL 导致内部服务器错误。
如果您反复收到此消息,请联系网站管理员。
在 .htaccess 文件中使用以下规则:-
RewriteEngine on
RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)$ index.php?modo=&tipo=&poblacion= [L]
然后你可以使用url作为:-
myweb.com/modoValue/tipoValue/poblacionValue