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:
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!
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&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&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&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&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&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&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&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&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&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&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&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&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&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&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&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&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&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&doe=edit" appendQueryString="true" />
</rule>
<rule name="Imported Rule 50">
<match url="^(me/voted)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=me&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&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&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&novote=1" appendQueryString="true" />
</rule>
<rule name="Forum Threads">
<match url="^thread/([0-9]+)" />
<action type="Rewrite" url="index.php?url=thread&threadid={R:1}" />
</rule>
<rule name="Forum Posts">
<match url="^post/([0-9]+)" />
<action type="Rewrite" url="index.php?url=post&postid={R:1}" />
</rule>
<rule name="Forum New Thread">
<match url="^create/([0-9]+)" />
<action type="Rewrite" url="index.php?url=newthread&thread={R:1}" />
</rule>
<rule name="Profile Page">
<match url="^profile/([a-zA-Z0-9_-]+)" />
<action type="Rewrite" url="index.php?url=profile&user={R:1}" />
</rule>
<rule name="Apply Job">
<match url="^apply/([0-9]+)" />
<action type="Rewrite" url="index.php?url=jobapply&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!