Rewrite the ~username to username for apache userdir module

It is rewrite rule to make : http://server/~username http://server/username

vi /etc/httpd/conf/httpd.conf

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond /home/STAFF/$1/public_html$2 -f [OR]
RewriteCond /home/STAFF/$1/public_html$2 -d
RewriteRule ^/([^/]+)(.*) /home/STAFF/$1/public_html$2

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.