|
Revision 2613, 0.7 KB
(checked in by paparazzia, 13 months ago)
|
|
conf optionnelle pour gerer des vhosts dedies au cache
utilisation de mod_rewrite pour catcher les 404
see #583
|
| Line | |
|---|
| 1 | #/home/vlm/vlmcode/ est le chemin d'hébergement des fichiers de vlm |
|---|
| 2 | #/home/vlm/vlmcode/site/ est le vhost servi par apache |
|---|
| 3 | |
|---|
| 4 | <VirtualHost *:80> |
|---|
| 5 | ServerAdmin admin@actilis.net |
|---|
| 6 | |
|---|
| 7 | DocumentRoot /home/vlm/vlmcode/site |
|---|
| 8 | ServerName vlm |
|---|
| 9 | ServerAlias vlmdev |
|---|
| 10 | |
|---|
| 11 | ErrorLog /home/vlm/logs/apache2/vlm_error_log |
|---|
| 12 | CustomLog /home/vlm/logs/apache2/vlm_access_log combined |
|---|
| 13 | |
|---|
| 14 | <Directory /home/vlm/vlmcode/site> |
|---|
| 15 | DirectoryIndex index.php index.html |
|---|
| 16 | |
|---|
| 17 | Order Allow,Deny |
|---|
| 18 | Allow from All |
|---|
| 19 | |
|---|
| 20 | AllowOverride All |
|---|
| 21 | Options Indexes Includes FollowSymLinks |
|---|
| 22 | |
|---|
| 23 | AddType application/x-httpd-php .php |
|---|
| 24 | |
|---|
| 25 | </Directory> |
|---|
| 26 | </VirtualHost> |
|---|