<VirtualHost *:80>
ServerName YOURDOMAIN
DocumentRoot /var/www/YOURROOT
ErrorLog /var/log/apache2/local.nibiru.de.error.log
CustomLog /var/log/apache2/local.nibiru.de.common.log common
<Directory /var/www/YOURROOT>
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_URI} /img/ [OR]
RewriteCond %{REQUEST_URI} /images/ [OR]
RewriteCond %{REQUEST_URI} ../../fonts/ [OR]
RewriteCond %{REQUEST_URI} /font-awesome/ [OR]
RewriteCond %{REQUEST_URI} /var/ [OR]
RewriteCond %{REQUEST_URI} /bootstrap-3.1.1/ [OR]
RewriteCond %{REQUEST_URI} /imgs/ [OR]
RewriteCond %{REQUEST_URI} /css/ [OR]
RewriteCond %{REQUEST_URI} /js/ [OR]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</Directory>
</VirtualHost>
|