Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // user faken count in der config ändern.
- // empfangshalle in der config ändern.
- // löschen.
- if (substr($_SERVER['HTTP_HOST'], 0, 4) !== 'www.') {
- header("HTTP/1.1 301 Moved Permanently");
- header('Location: '.$protocol.'www.'.$_SERVER['HTTP_HOST'].'/'.$route);
- exit;
- }
- // web.config
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
- <system.webServer>
- <rewrite>
- <rules>
- <rule name="Rewrite signature" stopProcessing="true">
- <match url="^signature/([0-9a-z.:]+)" />
- <action type="Rewrite" url="signature.php?user={R:1}" />
- </rule>
- <rule name="Imported Rule 1">
- <match url="^(.*)" ignoreCase="false" />
- <conditions logicalGrouping="MatchAll">
- <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
- <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
- </conditions>
- <action type="Rewrite" url="index.php?page={R:1}" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement