Solution for setting apache rewrite in ubuntu one or two days later, I moved my website under Ubuntu 9.04. To create a pseudo-static page, I need to enable the Apache rewrite module. In other Linux versions, this problem seems to be easy to solve, but in ubuntu, it is a little different. You can create a new soft connection by running commands. Command: sudo a2enmod rewrite soft connection: sudo ln-s/etc/apache2/mod-available/rewrite. load/etc/apache2/mod-enabled/rewrite. load because the configuration file and directory structure of Apache are not the same in Ubuntu, the module is available in mod-avalilable, the modules that are actually enabled are under the directory of the mod-enable. Therefore, you can also enable the rewrite module by creating a soft connection. In addition to enabling rewrite, you also need to modify the file/etc/apache2/sites-available/default if you only have one site, if you are a VM, modify your/etc/apache2/sites-available/www.orioner.net. conf (my VM configuration file. <Directory/> Options FollowSymLinks AllowOverride None (modified to AllowOverride All) </Directory> <Directory "/var/orioner"> Options Indexes FollowSymLinks MultiViews AllowOverride None (modified to AllowOverride All) order allow, deny allow from all </Directory> at last, do not forget to use the following command to restart Apache: sudo/etc/init. d/apache2 restart.