Redirect css (assets) with htaccess

Redirect css (assets) with htaccess

Problem
I want to redirect my css files with htaccess, because the entire path is long.
I try this – index.php:

And this in my .htaccess
RewriteEngine on
RewriteRule ^css/(.*)$ /app/view/templates/default/frontend/css/$1 [NC,L]

But, the CSS … Read more

SetEnvIf do not log local network visits

SetEnvIf do not log local network visits

i’m trying to prevent apache from loging my own visits.. I’ve enabled SetEnvIf.so and added these lines to my vhost :


SetEnvIf Remote_Addr “192\.168\.1\.1” dontlog
SetEnvIf Remote_Addr “192\.168\.1\.5” dontlog
SetEnvIf Remote_Addr “192\.168\.1\.10”
Read more