xHurricaneZ
New Member
- Aug 15, 2013
- 24
- 4
I've set it up but it was made to be used on xampp with a .htaccess file instead of IIS and a web.config file.
This is what needs to be added to my .htaccess file:
And this is my web.config:
How would I combine the two to make the built in forum work?
This is what needs to be added to my .htaccess file:
Code:
RewriteRule ^forum/f([a-zA-Z0-9_-]+)(|/)$ index.php?url=forum&view=category&id=$1
RewriteRule ^forum/thread/([a-zA-Z0-9_-]+)(|/)$ index.php?url=forum&view=thread&id=$1
RewriteRule ^forum/newthread/f([a-zA-Z0-9_-]+)(|/)$ index.php?url=forum&view=newthread&id=$1
And this is my web.config:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="^(.*)\.htm$" />
<action type="Rewrite" url="{R:1}.php" />
</rule>
<rule name="Imported Rule 4">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dashboard.html?page={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 5">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dashboard.html?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 6" stopProcessing="true">
<match url="^home/(.*)/?$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=home&user={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
How would I combine the two to make the built in forum work?