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.
متن های زیر را پیدا کنید و AllowOverride را به All تغییر دهید ...
حال فایل .htaccess خود را آپلود کنید و سپس آپاچی خود را به وسیله دستور زیر رستارت کنید:
قسمت سوم هم به پایان رسید ....