我需要你的帮助,因为 .htacces 文件,当我把它放在服务器上时,我得到内部服务器错误,当我删除它时,我可以看到网站在线,但由于链接可能存在问题,链接标题变成了链接。 html,当然在关注它之后找不到页面(正常,因为真正的链接是 mysite/offers.php?id=
这是 .htacces 的副本:
IndexIgnore */.??* *~ *# */HEADER* */README* */_vti*
php_value post_max_size 96M
php_value upload_max_filesize 96M
php_value max_execution_time 0
php_value memory_limit 96M
# Changement d'extension
RewriteCond %{HTTP_HOST} !^www.mysite.com$
RewriteRule ^(.*) http://www.mysite.com/$1 [QSA,L,R=301]
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.com
AuthUserFile /home/larbi/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/larbi/public_html/_vti_pvt/service.grp
RewriteEngine on
RewriteRule ^([0-9]+)-(.*)-.*$ offres.php?lang=$2&id=2_$1 [L]
RewriteRule ^prestations.php$ offres.php?id=2_1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /erreur_404.html
请等待你的回答,非常感谢