اين كاري هست كه هاستينگ گفته انجام بدم:
با اين تفاسير.، كد هايي كه داخل htaccess من بايد باشن به چه شكل ميشه؟!! (خودم اشتباه وارد مي كنم انگار...چون بعدش سايت بالا نمياد!)کد:1. فعال کردن Mod Rewrite با .htaccess خوب سومین کاری که ما میکنیم باید Mod Rewrite با .htaccess فعال کنیم! برای فعال کردن آن کافی دستور زیر را وارد کنید : # a2enmod rewrite Once you run this command, apache will tell you that this rewrite module is enabled. You can find mod_rewrite enabled and show up in your test.php file. I often experienced page not found 404 error with debian/ubuntu versions eventhough your apache runs with mod-rewrite. To fix this, you will need to edit the following file to make some changes. nano /etc/apache2/sites-enabled/000-default متن های زیر را پیدا کنید و AllowOverride را به All تغییر دهید ... <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all # Uncomment this directive is you want to see apache2's # default start page (in /apache2-default) when you go to / #RedirectMatch ^/$ /apache2-default/ </Directory> حال فایل .htaccess خود را آپلود کنید و سپس آپاچی خود را به وسیله دستور زیر رستارت کنید: /etc/init.d/apache2 restart
[hr]
ضمنا فايل .htaccess توي رووت سايت نيست؟!
داخل يكي از پوشه ها بود
ولي كاراكتري تووش نبود؟!
** یکی شدن ارسالها




پاسخ با نقل قول
علاقه مندی ها (Bookmarks)