lawlaw Posted March 6, 2007 Posted March 6, 2007 Bonjour, voila mon probleme est le suivant j'aimerais pouvoir diriger un sous dossier vers une page .php Exemple www.monsite.fr/toto.php devient www.monsite.php/toto et pointe sur toto.php merci d'avance pour votre aide
Findel Posted March 6, 2007 Posted March 6, 2007 Deux solutions : un fichier .htaccess avec Options +MultiViews Ou alors tu nomme ton fichier sans l'extension .php et tu indique dans un .htaccess que tu veux que ce fichier soit traité par php avec la ligne suivante : <FilesMatch "^(toto)$"> ForceType application/x-httpd-php</FilesMatch>
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now