j'ai essayé mais ça ne fonctionne pas...
j'ai mis ça,
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| RewriteEngine on
ErrorDocument 404 http://ikarr.net
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^deconnexion$ index.php?page=deconnexion [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^admin$ index.php?page=admin [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^admin\/(.+)$ index.php?page=admin&cat=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^admin\/(.+)\/(.+)$ index.php?page=admin&cat=$1&sscat=$2 [L] |
et pour mon head:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <!doctype html>
<html lang="fr">
<head>
<title><?= $nom_du_site; ?></title>
<base href="<?= $sys_phpself; ?>" />
<meta charset="utf-8"/>
<meta name="description" content="<?= $description_du_site; ?>"/>
<link rel="stylesheet" href='/organ/intern/code/css/ionicons.min.css'>
<?php if($sys_page==="admin"){ ?><link rel="stylesheet" href='/organ/intern/code/css/opensans.css'><?php } ?>
<link rel="stylesheet" href='/organ/intern/code/css/reset.css'>
<?php if($sys_page==="admin"){ ?><link rel="stylesheet" href='/organ/intern/code/css/css_admin.css'><?php } ?>
<link rel="stylesheet" href='/organ/intern/code/css/css_construct.css'>
<link rel="stylesheet" href='/organ/user/code/css.css'>
<?php if($test_ok){ ?><link rel="stylesheet" href='/organ/intern/code/css/css_test.css'><?php } ?>
<script type="text/javascript" src='/organ/intern/code/js/jquery.js'></script>
<!--[if lt IE 9]><script src="bower_components/html5shiv/dist/html5shiv.js"></script><![endif]-->
<script type="text/javascript" src='/organ/intern/code/js/js_construct.js'></script>
<?php if($sys_page==="admin"){ ?><script type="text/javascript" src='/organ/intern/code/js/js_admin.js'></script><?php } ?>
<script type="text/javascript" src='/organ/user/code/js.js'></script>
<?php if($test_ok){ ?><script type="text/javascript" src='/organ/intern/code/js/js_construct.js'></script><?php } ?>
</head>
<body> |
même en enlevant la balise
<base href="<?= $sys_phpself; ?>" />
il faut faire autre chose? merci
Partager