I want domain.com/stats to be present by default


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Apache Related Information

I want domain.com/stats to be present by defaultLast Modified: Dec 5, 2008, 1:32 pm
If you want webalizer or awstats pages to be available by default for new domains, you can do so by creating:

/usr/local/directadmin/scripts/custom/domain_create_post.sh

In the file add the code

#!/bin/sh
ln -s ../stats /home/$username/domains/$domain/public_html/stats
exit 0;

Then chmod the domain_create_post.sh script to 755.

If you want it to be for awstats, then change the bold stats name to be awstats instead.
 
Related Helpfiles
I want to have the DirectAdmin version of Awstats

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST