2016-07-26 4 views
1

이 htaccess를 아무 문제없이 실행하는 웹 사이트가 있습니다.500 내부 서버 오류가 발생했습니다. HTACCESS

다른 호스트에 내 사이트를 업로드했으며 현재 500 내부 서버 오류가 발생했습니다. 이 내 htaccess로이다 :

RewriteEngine on 
# Don't allow any pages to be framed - Defends against CSRF stock CSRF attacks 
Header set X-Frame-Options DENY 

Header set Access-Control-Allow-Origin "*" 

RewriteRule ^([0-9]+)/* play.php?id=$1 [L] 
RewriteRule ^pr-([0-9]+)\/.*?$ index.php?p=dis_add&id=$1 [L] 
RewriteRule ^user_Account/chats/([0-9]+)$ index.php?p=fchat&id=$1 
RewriteRule ^فراموشی_رمز_عبور$ index.php?p=forgetPassword 
RewriteRule ^user_Account$ index.php?p=userAccount [L] 
RewriteRule ^logout$ index.php?p=logout [L] 
RewriteRule ^login$ index.php?p=login [L] 
RewriteRule ^newAdd$ index.php?p=newAdd [L] 
RewriteRule ^newAdd/([0-9]+)$ index.php?p=newAdd&catId=$1 [L] 
RewriteRule ^user_Account/ea/([0-9]+)$ index.php?p=userAccount&what=editadd&id=$1 
RewriteRule ^user_Account/(.*?)$ index.php?p=userAccount&what=$1 [L] 
RewriteRule ^ad-([0-9]+)/.*?$ index.php?p=dis_add&id=$1 [L] 
RewriteRule ^app index.php?p=info&pid=10 
RewriteRule ^stores/([0-9]+)/.*? index.php?p=displayStoreİ=$1 [L] 
RewriteRule ^page/(.*?)/.*?$ index.php?p=info&pid=$1 [L] 
RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/category-([0-9]+)/.*?/subcat-([0-9]+)/.*?$ index.php?p=display_adds&cityId=$2&subCatId=$4 
RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/category-([0-9]+)/.*?$ index.php?p=display_adds&cityId=$2&catId=$3 

RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/subcat-([0-9]+)/.*?$ index.php?p=display_adds&cityId=$2&subCatId=$3 
RewriteRule ^adds/([0-9]+)/.*?/subcat-([0-9]+)/.*?$ index.php?p=display_adds&stateId=$1&subCatId=$2 


RewriteRule ^adds/category-([0-9]+)/.*?/subcat-([0-9]+)/.*?/$ index.php?p=display_adds&subCatId=$2 
RewriteRule ^adds/category-([0-9]+)/.*?$ index.php?p=display_adds&catId=$1 

RewriteRule ^adds/([0-9]+)/.*?/category-([0-9]+)/.*?$ index.php?p=display_adds&stateId=$1&catId=$2 

RewriteRule ^adds/$ index.php?p=display_adds&all=true 
RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?$ index.php?p=display_adds&cityId=$2 
RewriteRule ^adds/([0-9]+)/.*?/category/([0-9]+)/.*?$ index.php?p=display_adds&stateId=$1&catId=$2 

RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/category/([0-9]+)/.*?$ index.php?p=display_adds&cityId=$1&catId=$2 
RewriteRule ^adds/([0-9]+)/.*?$ index.php?p=display_adds&stateId=$1 


RewriteRule ^blog$ index.php?p=tuts 



RewriteRule ^category/([0-9]+)/.*?$ index.php?p=display_adds&catId=$1 


RewriteRule ^conrimPayment$ index.php?p=conrimPayment 

RewriteRule ^n([0-9]+)/.*?$ index.php?p=Disnews&id=$1 [L] 
RewriteRule ^blog/([0-9]+)/.*?$ index.php?p=DisBlog&id=$1 [L] 

RewriteRule ^c([0-9]+)/.*?$ index.php?p=adCat&catid=$1 [L] 

RewriteRule ^category/.*?/([0-9]+) index.php?p=adCat&catid=$1 
RewriteRule ^category/.*?/.*?/([0-9]+) index.php?p=adCat&catid=$1 

RewriteRule ^loc/.*?/([0-9]+) index.php?p=loc&ostanId=$1 
RewriteRule ^loc/.*?/.*?/([0-9]+) index.php?p=loc&cityId=$1 

RewriteRule ^vije\/pr-([0-9]+)\/.*?$ index.php?p=dis_add&id=$1&sp=1&special=0 [L] 
RewriteRule ^vije$ index.php?sp=1 [L] 

RewriteRule ^mosabeghe\/pr-([0-9]+)$ index.php?p=dis_addMosabeghe&id=$1 [L] 

RewriteRule ^ekhtesasi$ index.php?sp=1&special=1 [L] 

RewriteRule ^عمومی$ index.php?p=adds&kind=omu [L] 
RewriteRule ^مزایده$ index.php?p=adds&kind=moz [L] 
RewriteRule ^استخدام$ index.php?p=adds&kind=est [L] 


RewriteRule ^خبرها$ index.php?p=news 

Options -Indexes 

가 왜 내 다른 호스트에서이 실행 500 내부 서버 error.I'm 무엇입니까 그리고 그것은 properly.What의 잘못이와 실행이야?

+0

아파치 오류 로그에 표시되는 내용은 무엇입니까? – chris85

답변

0

DOM을 사용한 절약 기능을 사용할 수 없게되고 문제가 사라졌습니다.

관련 문제