/product/blabla is ok /product/ give a "500 internal error"
RewriteRule product/([0-9a-zA-Z]+) product.php?c=$1 [L]
if ($_GET['c']){
....
}
else{
?>
<script>document.location.href="<?=$racine;?>"</script>
<?
}
Try this
RewriteRule product/([0-9a-zA-Z]+) product.php?c=$1 [L]
RewriteRule product/ product.php [L]
if (isset($_GET['c'])){
....
}
else{
?>
<script>document.location.href="<?=$racine;?>"</script>
<?
}
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments