<VirtualHost *> DocumentRoot "/www/www.abc.com" ServerName www.abc.com ServerAlias abc.com www.abc.cn abc.cn CustomLog "| /usr/sbin/rotatelogs /weblogs/www.abc.com/%Y_%m_%d_access_log 86400 480" common php_admin_value open_basedir "/www/www.abc.com/:/tmp123/" <Directory "/www/www.abc.com/"> #AllowOverride All Options FollowSymLinks AllowOverride All Order allow,deny allow from all #Options +Indexes #Options FollowSymLinks #AllowOverride All </Directory> #RewriteEngine on #RewriteRule ^/tt_(.*).html$ /t.php?id=$1 </VirtualHost>