• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Uniform Server

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,767
Solutions
5
Reaction score
769
Im not sure where to add this since its not related to tibia but to uniform server!
try to access http://nobbo.hopto.org/
a error will show the problem is in .htaccess and web.config
but they were made to work with xampp and not uniform

Here is my .htaccess and web.config

.htaccess
Code:
RewriteEngine On



RewriteCond %{REQUEST_URI} !_frosthk_([a-zA-Z0-9\./_-]*)
RewriteCond %{REQUEST_URI} !\.(css|gif|ico|jpg|js|png|swf|txt|rar|xml)$ [NC]

RewriteRule ^([a-zA-Z0-9\./_-]+)(|)$ index.php

ErrorDocument 404 /index.php
ErrorDocument 403 /index.php

web.config
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^([a-zA-Z0-9\./_-]+)(|)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{URL}" pattern="_frosthk_([a-zA-Z0-9\./_-]*)" ignoreCase="false" negate="true" />
                        <add input="{URL}" pattern="\.(css|gif|ico|jpg|js|png|swf|txt|rar|xml)$" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php" />
                </rule>
            </rules>
        </rewrite>
        <httpErrors>
            <remove statusCode="403" subStatusCode="-1" />
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
            <error statusCode="403" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
        </httpErrors>
    </system.webServer>
</configuration>

Hope I get some help :D

Rep++
 
Back
Top