[URGENT] Redirect & Registration Help

Mynamelololo

New Member
Sep 26, 2015
8
0
Hello, I have a problem with my FluxRP setup. I have it setup with IIS. So whenever you try to localhost, it'll redirect you to localhost/localhost/index but when you go to localhost/index it's fine. This happens for every other page too, including the register page. Here's 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="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6" stopProcessing="true">
                    <match url="^profile/3$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile3" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 7" stopProcessing="true">
                    <match url="^profile/4$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=profile4" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 8" stopProcessing="true">
                    <match url="^business/create$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=create" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 9" stopProcessing="true">
                    <match url="^identity/avatar$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitya" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 10" stopProcessing="true">
                    <match url="^identity/settings$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitys" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 11" stopProcessing="true">
                    <match url="^identity/email$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitye" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 12" stopProcessing="true">
                    <match url="^identity/password$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identityp" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 13" stopProcessing="true">
                    <match url="^identity/pin$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 14" stopProcessing="true">
                    <match url="^identity/password_change$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identityp&amp;do=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 15" stopProcessing="true">
                    <match url="^identity/email_change$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitye&amp;do=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 16" stopProcessing="true">
                    <match url="^identity/pin_disable$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin&amp;do=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 17" stopProcessing="true">
                    <match url="^news/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 18" stopProcessing="true">
                    <match url="^articles/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 19">
                    <match url="^user/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=user&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 20">
                    <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=user&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 21">
                    <match url="^corp/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=jobsview&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 22">
                    <match url="^corps/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=jobsview&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 23">
                    <match url="^gang/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gangs&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 24">
                    <match url="^gangs/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gangs&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 25">
                    <match url="^creditflow/confirm/5102/9616/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditflow&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 26">
                    <match url="^creditflow/validate/5102/([a-zA-Z0-9_-]+)(|/)/21$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditflowverify&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 27">
                    <match url="^creditflow/proceedWithPayment/5102/([a-zA-Z0-9_-]+)/21(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditflowpwp&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 28">
                    <match url="^(creditflow/redeemvoucher)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=redeemvoucher" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 29">
                    <match url="^(staff/owners)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffo" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 30">
                    <match url="^(staff/devs)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffdev" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 31">
                    <match url="^(staff/builders)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffbuild" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 32">
                    <match url="^(staff/managers)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffmgr" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 33">
                    <match url="^(staff/admins)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffadm" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 34">
                    <match url="^(staff/mods)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffmod" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 35">
                    <match url="^(account/verify)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pinverify" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 36">
                    <match url="^(account/newpin)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=pinnew" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 37">
                    <match url="^(client/login)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=clientlogin" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 38">
                    <match url="^(credits/history)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditshistory" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 39">
                    <match url="^(staff/events)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffe" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 40">
                    <match url="^(staff/seniors)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=staffsm" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 41">
                    <match url="^support/new/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=newticket&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 42">
                    <match url="^support/ticket/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=ticket&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 43">
                  <match url="^dismiss/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                  <action type="Rewrite" url="index.php?url=dismiss&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 44">
                    <match url="^(games/brawl)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gamesbrawl" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 45">
                    <match url="^(games/cw)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gamescw" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 48">
                    <match url="^(games/mw)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=gamesmw" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 46">
                    <match url="^(client/verify)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=clientverify" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 47">
                    <match url="^(credits/loyalty_points)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=creditsdiamonds" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 49" stopProcessing="true">
                    <match url="^identity/pin_enable$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin&amp;doe=edit" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 50">
                    <match url="^(me/voted)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=me&amp;voted={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 51">
                    <match url="^account/password/resetIdentity/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identityreset&amp;token={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 52">
                    <match url="^minimail/loadMessage(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/index.php?url=minimail-view" />
                </rule>
                <rule name="Imported Rule 53">
                    <match url="^minimail/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/index.php?url=minimail?cmd={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 54" stopProcessing="true">
                    <match url="^identity/pin_reset$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=identitypin&amp;doee=edit" appendQueryString="true" />
                </rule>
              <rule name="Imported Rule 55" stopProcessing="true">
                <match url="^index/novote/" ignoreCase="false" />
                <action type="Rewrite" url="index.php?url=index&amp;novote=1" appendQueryString="true" />
              </rule>
              <rule name="Forum Threads">
                <match url="^thread/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=thread&amp;threadid={R:1}" />
                </rule>
                <rule name="Forum Posts">
                <match url="^post/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=post&amp;postid={R:1}" />
                </rule>
              
                <rule name="Forum New Thread">
                <match url="^create/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=newthread&amp;thread={R:1}" />
                </rule>
                
                <rule name="Profile Page">
                <match url="^profile/([a-zA-Z0-9_-]+)" />
                <action type="Rewrite" url="index.php?url=profile&amp;user={R:1}" />
                </rule>
                <rule name="Apply Job">
                <match url="^apply/([0-9]+)" />
                <action type="Rewrite" url="index.php?url=jobapply&amp;id={R:1}" />
                </rule>
            </rules>
        </rewrite>
        <security>
        <requestFiltering>
          <filteringRules>
            <!-- name the rule -->
            <filteringRule name="user agent deny" scanUrl="false" scanQueryString="false">
              <scanHeaders>
                <!-- apply rule to user-agent header -->
                <add requestHeader="user-agent" />
              </scanHeaders>
              <appliesTo>
                <clear />
                <!-- only apply rule to php files -->
                <add fileExtension=".php" />
              </appliesTo>
              <denyStrings>
                <clear />
                <!-- block the yandex bot -->
                <add string="wordpress" />
              </denyStrings>
            </filteringRule>
          </filteringRules>
        </requestFiltering>
     </security>
    </system.webServer>
</configuration>

So, after I go into the index and try to register, with any name I try it says:
-Invalid name: (name here)

Any help would be greatly appreciated! If you need me to supply any more info, just ask please, thank you!
 

Discretion

<img src="Hello.gif" ALT="LOL" width=32 height=32>
Jan 5, 2017
41
3
@Mynamelololo Check your swfs (external vars) client.php in wwwroot and check your emu that config.ini is right

EDIT: If this dont work add underhotel. and ill help you on there. e.g team viewer or join.me
 

Users who are viewing this thread

Top