template server


I’m looking for a solution to create a particular template server.

I would like to keep “awstats-icon” , “awstatsicons”, “icon”, “stats” separate from the root of my website.

But ofcourse i want stats works.

So i think i need to add a subfolder “www” and use allias but i did not find a working solution.

thank you

Actually the best solution i’ve found is :
in server template / apache website

to add this at the end of Directives and settings for new websites :

RewriteCond %{REQUEST_URI} !^/stats RewriteCond %{REQUEST_URI} !^/www RewriteRule ^(.*)$ /www/$1 [L]

And in Users’ website subdirectory to create,
check Directory under home
Add public_html/www

Now with that all website must be place in www folder.

i’m sure it’s really not perfect

If you have better idea i heard you