#RewriteEngine Off # ! No more RewriteEngine cause apache version <= 2.4 #RewriteEngine On #RewriteBase /connect/xslToken #RewriteRule ^(.+).xsl$ index.php?xslToken=$1 #RewriteRule ^(.+).xml$ token.php?xslToken=$1 # Autoriser ce genre de directives dans le vhost: # # AllowOverride FileInfo # #AddHandler application/x-httpd-php .xsl # ou, selon ton environnement : AddType application/x-httpd-php .xsl #AddHandler application/x-httpd-php .xml # ou, selon ton environnement : AddType application/x-httpd-php .xml #AddHandler application/x-httpd-php .css # ou, selon ton environnement : AddType application/x-httpd-php .css #AddHandler application/x-httpd-php .js # ou, selon ton environnement : AddType application/x-httpd-php .js # XML AddType application/xml .xml # XSLT / XSL AddType application/xslt+xml .xsl .xslt