Url rewrite revcms hk

Results 1 to 2 of 2
  1. #1
    Valued Member Flowy Otaku is offline
    MemberRank
    Feb 2013 Join Date
    113Posts

    Url rewrite revcms hk

    I have a problem with my hk, i have had this problem for a very long time now, when i press the housekeeping button it just comes a page like this:

    http://gyazo.com/52ef8861d9f731aa468c8ca68ea1ac29


    it worked before i came to the dash, i know the problem is the urlrewrite/htaccess, i have urlrewrite & helicon ape.


    i can only get into the login page if i do
    /index.php?url=login


    here is my web.config:
    <?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&amp;user={R:1}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 1-1" stopProcessing="true">
    <match url="^me/(.*)/?$" ignoreCase="false" />
    <action type="Rewrite" url="index.php?url=login=me&amp;id={R:1}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 7">
    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>



    Last edited by Flowy Otaku; 19-06-14 at 02:04 AM.


  2. #2
    Member Leaving is offline
    MemberRank
    Mar 2014 Join Date
    82Posts

    Re: Url rewrite revcms hk

    Use the "search" function... (http://forum.ragezone.com/f353/hk-fi...-habbo-810065/)
    If that web.config doesn't works (I don't think so), there's the web.config i'm using on my hotel with RevCMS.
    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">
                        <match url="^(community/staff)$" ignoreCase="false" />
                        <action type="Rewrite" url="staff" />
                    </rule>
                    <rule name="Imported Rule 7">
                        <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="false" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    Greetings,
    Leaving.



Advertisement