Is there any way that I can code httpd.conf so that the log files automatically inlude the name of the host? I know I can do this by setting up separate virtual hosts, but the problem with this is that I would have to include many, identical lines of rewrite rules for each virtual host. It would be better if I could do something like
Alternatively, some sort of if/then structure to assign different log files to different hosts. Is this possible?
As another alternative, would it be possible to include a file into httpd.conf containing all the rewrite code, and include that in every virtual host?