سلام

من قبلا یه vps داشتم که پنلش DA بود و یه اسکریپت که یه فایل htaccess داشت و همه چی به خوبی کار میکرد اما جدیدا رفتم رو یه vps دیگه با پنل cpanel که این htaccess درست عمل نمیکنه و باعث از کار افتادن کل اسکریپت شده!!

این فایل htaccess من که قبلا درست کار میکرد اینه:

کد:
Options FollowSymLinks
<IfModule mod_rewrite.c>
    RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule> 

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>
فکر کنم ایراد از تنظیمات سرور باشه که درست کار نمیکنه....

هزینه تنظیم نمودن رو برام بفرستین، فقط فوری هست....