|  | 
          1樓
          巨大八爪鱼
          2013-1-26 20:00
          
          
            sudo a2enmod rewritesudo service apache2 restart
 
 | 
    
      |  | 
          2樓
          巨大八爪鱼
          2013-7-14 13:11
          
          
            octopus@pc3:~$ sudo a2enmod rewrite[sudo] password for octopus:
 Enabling module rewrite.
 Run '/etc/init.d/apache2 restart' to activate new configuration!
 octopus@pc3:~$ sudo service apache2 restart
 * Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 [ OK ]
 octopus@pc3:~$
 
 
   | 
    
      |  | 
          3樓
          巨大八爪鱼
          2013-7-14 13:12
          
          
            這是ubuntu下啟用重寫模塊的最簡單方法
   |