18 lines
432 B
Plaintext
18 lines
432 B
Plaintext
<VirtualHost *:80>
|
|
ServerName localhost
|
|
DocumentRoot /var/www
|
|
<Directory "/var/www">
|
|
DirectoryIndex index.html
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/error.log
|
|
CustomLog /var/log/apache2/access.log combined
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
|
|
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-d
|
|
RewriteRule "^" "/index.php" [L]
|
|
|
|
</VirtualHost>
|