How to disable IP/~username ?

TonyTran

Verified User
Joined
Feb 16, 2009
Messages
12
Hi,

I using Apache 2.2.13 and DirectAdmin 1.34.5, i have issue with my server performance. A lot of search engine bot crawl via IP/~username, it's eating my traffic and make server run too slow.

How to disable IP/~username ? I did some search before i ask this question, almost people said change "Userdir disable" in /etc/httpd/conf/httpd.conf file. But i can't find that row in my httpd.conf.

Thanks,
Tony
 
Comment out AliasMatch in /etc/httpd/conf/extra/httpd-vhosts.conf and restart apache.
 
Back
Top