Apache2 configuration(Rewrite module)

My WEB Server has the two home pages(phpBB3,mediawiki) in my own user’s paths. 

I have installed phpBB3 in the path ~/public_html/phpBB3 and mediawiki in the path ~/public_html/wiki

And My WEB Server’s document root path was changed to user’s ~/public_html.

debian:/etc/apache2/sites-available# more default

</Directory>

RewriteEngine on

RewriteCond %{REQUEST_METHOD} ^TRACE

RewriteRule .* – [F]

RewriteCond %{HTTP_HOST} !^$

RewriteRule ^/wiki(.*)$ /home/test/public_html/wiki/$1

<==The path specified by http://domain/wiki is  [...]