• 17-02-2013, 19:26:16
    #1
    merhaba

    daha önce plesk panel de kullandığım haber sitemi cpanel sunucuda çalıştıramadım.
    siteye girdiğimde
    İNTERNAL SERVER ERROR
    diye hata veriyor aynı siteyi plesk panele geri kurdum sorun yok.
    birde cpanel de htacces olmadan site ana sayfa çalışıyor ancak bu seferde haber detayına girince bulunamıyor.

    htaccess içeriği bu şekilde
    Options +FollowSymLinks
    RewriteEngine on 
    
    RewriteRule ^haber-(.*).html$ news_detail.php?news=$1 [L,NC]
    RewriteRule ^kategori-(.*).html$ news.php?cat=$1 [L,NC]
    [L,NC]
    RewriteRule ^koseyazisi-(.*).html$ article_detail.php?art=$1 [L,NC]
    RewriteRule ^yaziyorumekle-(.*).html$ article_add_comment.php?art=$1 [L,NC]
    RewriteRule ^yorumekle-(.*).html$ add_comment.php?news=$1 [L,NC]
    RewriteRule ^gallerycomment-(.*).html$ gallery_add_comment.php?gallery=$1 [L,NC]
    RewriteRule ^videoyorum-(.*).html$ video_add_comment.php?vid=$1 [L,NC]
    RewriteRule ^ara-(.*).html$ search.php?key=$1 [L,NC]
    RewriteRule ^rss-(.*).html$ rss_news.php?id=$1 [L,NC]
    RewriteRule ^content-(.*).html$ content.php?page=$1 [L,NC]
    RewriteRule ^sitemap.xml$ site-map.php [L,NC]
    <FilesMatch "\.(php)$"> 
    php_value short_open_tag "Off"
    </FilesMatch>
    sorunu nasıl çözebilirim.
  • 17-02-2013, 19:32:46
    #2
    sunucuoptimizasyon.com
    Apache modunu suexec ayarlarından dso ya alıp deneyebilirsiniz, ayrıca htaccess den ''php_value short_open_tag "Off" değerini silin, genel php.ini den bu düzenlemeleri yapın.
  • 17-02-2013, 19:40:22
    #3
    Options +FollowSymLinks ve

    <FilesMatch "\.(php)$">
    php_value short_open_tag "Off"
    </FilesMatch>

    kısımlarını silerseniz çalışır.
  • 17-02-2013, 20:05:35
    #4
    ikinize de teşekkürler deneyeceğim.