11/05/2016, 09:37:41
Cela est une conséquence du bug sur le panneau d'administration:
Je ne peux plus changer les pages par défaut.
Le config.php
#Désactiver REGISTER_GLOBALS
SetEnv REGISTER_GLOBALS 0
#Désactiver Magixc Quotes
SetEnv MAGIC_QUOTES 0
#Activer PHP5
SetEnv PHP_VER 5_5
# BEGIN Expire headers
Le .htaccess
Je ne peux plus changer les pages par défaut.
Le config.php
Code :
[== PHP ==]
$config['dbms'] = 'mysqli';
$config['db_hostname'] = '*******';
$config['db_username'] = '*******';
$config['db_password'] = '********';
$config['db_name'] = '***********';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Europe/Paris';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '';
$config['query_var'] = 'page';
$config['root_path'] = '/app';
$config['root_url'] = 'http://www.sirail.fr';
$config['ssl_url']='https://www.sirail.fr';
$config['admin_url']='https://www.sirail.fr/admin';
#Désactiver REGISTER_GLOBALS
SetEnv REGISTER_GLOBALS 0
#Désactiver Magixc Quotes
SetEnv MAGIC_QUOTES 0
#Activer PHP5
SetEnv PHP_VER 5_5
# BEGIN Expire headers
Le .htaccess
Code :
[== Indéfini ==]
Options +FollowSymLinks -Indexes
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
#fix for bug on fonts
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-opentype .otf
AddType image/svg+xml .svg
AddType application/x-font-ttf .ttf
AddType application/font-woff .woff
AddType application/font-woff2 .woff2
<IfModule mod_headers.c>
<FilesMatch ".(eot|otf|svg|ttf|woff|woff2)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>