Apache without static content


Most log entries when using CMS you actually need and they do not prevent the view of the more essential.

The whole can be relatively easily prevented by an entry in each vhost:

SetEnvIf Request_URI "\ (txt | jpg | png | gif | ico | js | css | swf | js |?. css?.). $" Static Content

CustomLog "| / bin / logger-t apache2" combined_ispconfig env = Static Content

The lines can be entered directly in /etc/apache2/sites-available/ispconfig.conf and apply it to all vhosts.

Thanks to huschi.net

Possibly related posts: (automatically generated)

Leave a comment

Your email address will not be published. Required fields are marked *