First commit, version 0.1 beta base nibiru framework
This commit is contained in:
29
vhost.conf
Normal file
29
vhost.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user