apache mod_rewrite is not working or not enabled

前端 未结 5 1233
后悔当初
后悔当初 2021-02-02 05:56

I have installed rewrite_module and modified php.ini on Apache.

I create rewrite.php and .htaccess files, but it\'s not working.

5条回答
  •  醉梦人生
    2021-02-02 06:47

    Please try

    sudo a2enmod rewrite
    

    or use correct apache restart command

    sudo /etc/init.d/apache2 restart 
    

提交回复
热议问题