I have virtualhost with configuration less feature that works like a charm!<br><br>&nbsp;&nbsp;&nbsp; server {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server_name _;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set $host_without_www $host;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($host ~* www\.(.*)) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set $host_without_www $1;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root /var/www/$host_without_www/;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; access_log logs/$host_without_www.log;<br><br>unfortunately, access_log donīt parses variables, so a file named $host_without_www.log<br>is created instead.<br>

<br>Thereīs any way to keep access logs separated by host, without need to configure one by one by hand?<br clear="all"><br>-- <br>Marcos Neves<br>+55 44 3263-8132<br>+55 44 9918-8488