*
RewriteEngine on

RewriteCond %{HTTP_HOST} !^xxx$
RewriteRule ^(.*)$ xxx/$1 [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php/$1

*
这段.htaccess代码怎样写成httpd.conf的,救救me啊!!
![](cry.gif)