w命令行搞定。
https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04
1 [email protected]:~$ su 2 Password: 3 [email protected]:/home/ubuntu# a2enmod rewrite 4 Enabling module rewrite. 5 To activate the new configuration, you need to run: 6 service apache2 restart 7 [email protected]:/home/ubuntu# service apache2 restart
时间: 2025-01-07 05:24:09