PHP Classes

File: vhost.conf

Recommend this page to a friend!
  Classes of Stephan Kasdorf (bittomine)   Nibiru   vhost.conf   Download  
File: vhost.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Nibiru
Generate code for rapid application prototyping
Author: By
Last change:
Date: 3 months ago
Size: 1,061 bytes
 

Contents

Class file image Download
<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>