Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Still nobody has solved my lgout issue.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NotoriousJameson" data-source="post: 407368" data-attributes="member: 65480"><p>So, As stated before & yes I've tried a few fixes from people, I am currently using BrainCMS from [USER=43173]@BrainCMS[/USER] the latest version but for some reason when I do for example... <a href="http://playhablure.xyz/logout" target="_blank">http://playhablure.xyz/logout</a> it does not logout but instead when I go to /logout.php "404 not found" but then after doing that and going to "<a href="http://playhablure.xyz/logout" target="_blank">http://playhablure.xyz/logout</a>" then it works, my logout.php code is:</p><p></p><p>[PHP]<?php</p><p> session_destroy();</p><p> $_SESSION = array();</p><p> header('Location: '.$config['hotelUrl'].'/index');</p><p>?>[/PHP]</p><p>My web.config is:</p><p></p><p>[CODE]</p><p><?xml version="1.0" encoding="UTF-8"?></p><p><configuration></p><p> <system.webServer> </p><p> <rewrite></p><p> <rules></p><p> <rule name="Imported Rule Brain"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK"></p><p> <match url="adminpan/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="adminpan/index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Rule 112"></p><p> <match url="^swf/habbo-imaging/badge/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="/swf/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 1" stopProcessing="true"></p><p> <match url="news/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/index.php?url=news&amp;id={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 131234" stopProcessing="true"></p><p> <match url="home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/index.php?url=home&amp;user={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK Users" stopProcessing="true"></p><p> <match url="adminpan/gebruiker/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=gebruiker&amp;user={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK Sollielook" stopProcessing="true"></p><p> <match url="adminpan/sollielook/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=sollielook&amp;look={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK DeleteNews" stopProcessing="true"></p><p> <match url="adminpan/news/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=news&amp;delete={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK DeleteSollie" stopProcessing="true"></p><p> <match url="adminpan/sollielook/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=sollielook&amp;delete={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK EditNews" stopProcessing="true"></p><p> <match url="adminpan/news/edit/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=editnews&amp;news={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK DeleteBan" stopProcessing="true"></p><p> <match url="adminpan/bans/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=bans&amp;delete={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule HK GiveUODW" stopProcessing="true"></p><p> <match url="adminpan/giveuseroftheweek/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/adminpan/index.php?url=giveuseroftheweek&amp;user={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule User Ref" stopProcessing="true"></p><p> <match url="register/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/index.php?url=register&amp;userref={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule User Pas" stopProcessing="true"></p><p> <match url="newpassword/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/index.php?url=newpassword&amp;key={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="LogoutFriendly1" stopProcessing="true"></p><p> <match url="^logout$" ignoreCase="false" /></p><p> <action type="Rewrite" url="logout.php" appendQueryString="false" /></p><p> </rule></p><p> </rules></p><p> </rewrite></p><p> </system.webServer></p><p></configuration></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="NotoriousJameson, post: 407368, member: 65480"] So, As stated before & yes I've tried a few fixes from people, I am currently using BrainCMS from [USER=43173]@BrainCMS[/USER] the latest version but for some reason when I do for example... [URL]http://playhablure.xyz/logout[/URL] it does not logout but instead when I go to /logout.php "404 not found" but then after doing that and going to "[URL]http://playhablure.xyz/logout[/URL]" then it works, my logout.php code is: [PHP]<?php session_destroy(); $_SESSION = array(); header('Location: '.$config['hotelUrl'].'/index'); ?>[/PHP] My web.config is: [CODE] <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule Brain"> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK"> <match url="adminpan/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="adminpan/index.php?url={R:1}" appendQueryString="false" /> </rule> <rule name="Rule 112"> <match url="^swf/habbo-imaging/badge/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="/swf/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 1" stopProcessing="true"> <match url="news/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/index.php?url=news&id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 131234" stopProcessing="true"> <match url="home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/index.php?url=home&user={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK Users" stopProcessing="true"> <match url="adminpan/gebruiker/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=gebruiker&user={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK Sollielook" stopProcessing="true"> <match url="adminpan/sollielook/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=sollielook&look={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK DeleteNews" stopProcessing="true"> <match url="adminpan/news/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=news&delete={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK DeleteSollie" stopProcessing="true"> <match url="adminpan/sollielook/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=sollielook&delete={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK EditNews" stopProcessing="true"> <match url="adminpan/news/edit/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=editnews&news={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK DeleteBan" stopProcessing="true"> <match url="adminpan/bans/delete/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=bans&delete={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule HK GiveUODW" stopProcessing="true"> <match url="adminpan/giveuseroftheweek/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/adminpan/index.php?url=giveuseroftheweek&user={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule User Ref" stopProcessing="true"> <match url="register/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/index.php?url=register&userref={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule User Pas" stopProcessing="true"> <match url="newpassword/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/index.php?url=newpassword&key={R:1}" appendQueryString="false" /> </rule> <rule name="LogoutFriendly1" stopProcessing="true"> <match url="^logout$" ignoreCase="false" /> <action type="Rewrite" url="logout.php" appendQueryString="false" /> </rule> </rules> </rewrite> </system.webServer> </configuration> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Still nobody has solved my lgout issue.
Top