68 lines
1.9 KiB
Plaintext
68 lines
1.9 KiB
Plaintext
|
Configuration local
|
|||
|
===================
|
|||
|
|
|||
|
Afin d'avoir une coh<6F>rence entre les diff<66>rentes plateformes et faciliter le travail en <20>quipe
|
|||
|
l'utilisation de .htaccess est r<>serv<72> seulement pour tester un option de configuration.
|
|||
|
Les options de configuration valid<69>es seront inscrites dans le vhost
|
|||
|
|
|||
|
P.S : Modifier les chemins de stockage de fichier dans le vhost et dans le config.inc
|
|||
|
|
|||
|
Configuration vhost
|
|||
|
===================
|
|||
|
|
|||
|
# EXTRANET TRUNK
|
|||
|
<VirtualHost *:80>
|
|||
|
ServerAdmin webmaster@extranet.devlocal.com
|
|||
|
ServerName extranet.devlocal.com
|
|||
|
AddDefaultCharset iso-8859-1
|
|||
|
DocumentRoot "D:/www/extranet/www"
|
|||
|
|
|||
|
<Directory "D:/www/extranet/www/">
|
|||
|
Options Indexes FollowSymLinks
|
|||
|
AllowOverride All
|
|||
|
Order allow,deny
|
|||
|
Allow from all
|
|||
|
|
|||
|
<IfModule mod_php5.c>
|
|||
|
php_value auto_prepend_file "D:/www/extranet/config/prepend.php"
|
|||
|
php_value auto_append_file "D:/www/extranet/config/append.php"
|
|||
|
</IfModule>
|
|||
|
|
|||
|
<IfModule mod_rewrite.c>
|
|||
|
RewriteEngine On
|
|||
|
RewriteBase /
|
|||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|||
|
RewriteCond %{REQUEST_URI} !=/favicon.ico
|
|||
|
RewriteRule ^imgcache/(.*)$ ./image.php?q=$1 [L,NC]
|
|||
|
RewriteRule ^pdf/(.*)$ ./datafile.php?type=pdf&q=$1 [L,NC]
|
|||
|
RewriteRule ^logos/(.*)$ ./datafile.php?type=logos&q=$1 [L,NC]
|
|||
|
</IfModule>
|
|||
|
</Directory>
|
|||
|
|
|||
|
<Directory "D:/www/extranet/www/min/">
|
|||
|
<IfModule mod_rewrite.c>
|
|||
|
RewriteEngine on
|
|||
|
RewriteRule ^([a-z]=.*) index.php?$1 [L,NE]
|
|||
|
</IfModule>
|
|||
|
</Directory>
|
|||
|
|
|||
|
<Directory "D:/www/data/">
|
|||
|
AllowOverride none
|
|||
|
Order allow,deny
|
|||
|
Allow from all
|
|||
|
</Directory>
|
|||
|
|
|||
|
<IfModule mod_rewrite.c>
|
|||
|
RewriteLog "logs/extranet.devlocal.com-rewrite.log"
|
|||
|
#RewriteLogLevel 3
|
|||
|
</IfModule>
|
|||
|
|
|||
|
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
|
|||
|
LogLevel debug
|
|||
|
ErrorLog "logs/extranet.devlocal.com-error.log"
|
|||
|
CustomLog "logs/extranet.devlocal.com-access.log" common
|
|||
|
</VirtualHost>
|
|||
|
|
|||
|
|