No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Programmation : php - html - sql - vb.net - perl - tcltk - linux
Spécialisé en montage WebRadio et FM Locale !
Fonction actuel : Projet en Cours
Gestion Studio d'enregistrement !
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirection Https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" /> </rule> <rule name="REWRITE_TO_HTML" stopProcessing="true"> <match url="^(.+).html$" /> <conditions logicalGrouping="MatchAll" /> <action type="Redirect" url="{R:1}.sn" /> </rule> <rule name="REWRITE_TO_PHP" stopProcessing="true"> <match url="^(.+).php$" /> <conditions logicalGrouping="MatchAll" /> <action type="Redirect" … |
|
Re:
I keep trying to convert the web.config file from my old server to the new one, which is using Ubuntu server, but I can't get the things done right. Can you guys help me to convert the code bellow to .htaccess? <rewrite> <rules> <rule name="Rule IIS7"> <match url="^([a-zA-Z0-9-_.]+)(___)([0-9]+)(.*?)$" ignoreCase="false" /> … |