Welcome to the RaGEZONE - MMORPG development forums.

Setting up PHP, IIS and Uber 2

This is a discussion on Setting up PHP, IIS and Uber 2 within the Habbo Tutorials forums, part of the Habbo Hotel category; Hello again, Following the previous tutorial I just posted, I have done up another one for those that want to ...

Results 1 to 9 of 9
  1. #1
    Prepare the lulz
    Rank
    Moderator
    Join Date
    Mar 2009
    Location
    England
    Posts
    463
    Liked
    134

    Setting up PHP, IIS and Uber 2

    Click
    Hello again,

    Following the previous tutorial I just posted, I have done up another one for those that want to use IIS. This is probably the easiest way of doing things, but there are more fixes that are required to ensure that CMS is running fine with IIS.

    I know I posted one only a few hours ago, but still, it still helps!

    You will need to download
    Web Platform Installer - http://go.microsoft.com/fwlink/?LinkID=145505
    UberCMS - UberCMS 2.rar

    Installing IIS
    For Windows 7:
    1. In Windows, access the Control Panel and click Add or Remove Programs.
    2. In the Add or Remove Programs window, click Add/Remove Windows Components.
    3. Select the Internet Information Services (IIS) check box, click Next, then click Finish
    4. Now, go to your browser, and in the URL bar, type localhost/ then you should see an IIS page, like this.
    5. And there we go, you now have IIS running.


    For Windows Server:
    1. In Windows Server, access the Server Manager and scroll down until you see Add Roles. When you do, click it.
    2. Click next until you are introduced to a screen like this.
    3. Select Web Server (IIS). Then keep going until you see the list of Role Services you can install.
    4. Select CGI, as this is required for PHP which you will be installing later in the tutorial.
    5. Ensure that you have selected anything else that you require for IIS also. Once you have done, click install.



    Installing PHP
    1. Download the Web Platform Installer, then run it. It should take a few seconds to install.
    2. You should then be introduced to a screen, like this.
    3. Click products, and check the following items:
      Code:
      .NET Framework 4.0 (You should already have this for Phoenix or Butterfly)
      URL Rewrite 2.0
      PHP 5.3.x
      PHP Manager
      
      Note if you don't see PHP 5.3.x then just install PHP Manager. This should install PHP for you.
    4. Then hit install, then I accept. This should take a few minutes, or a slightly more if you're installing .NET, to complete.
    5. Once you have done this, head into the IIS manager and hit restart. You should have now installed PHP.


    Installing UberCMS
    1. Download UberCMS from the link above, then extract the contents into C:\inetpub\wwwroot
    2. Edit /includes/configuration/system_config.php - this is the file which contains your database information!
    3. Edit /includes/configuration/ubercms_config.php
    4. Run the SQLs in the SETUP_NOTES.txt file included.
    5. Add the `newcrypto` column to the `users` table, enum('1','0') not null default 1;
    6. Running the following file into your database:
      Code:
      http://pastebin.com/raw.php?i=8TUQ87z1
    7. Because IIS does not read from .htaccess we will need to import it to a web.config. To save the hassle I have done it for you:
      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
          <system.webServer>
              <rewrite>
                  <rules>
                      <rule name="Imported Rule 1">
                          <match url="^(.*)\.html" ignoreCase="false" />
                          <action type="Rewrite" url="{R:1}\.php" />
                      </rule>
                      <rule name="Imported Rule 2">
                          <match url="^out/([^/]+)(|/)$" ignoreCase="false" />
                          <conditions logicalGrouping="MatchAll">
                              <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                              <add input="{REQUEST_FILENAME}\.php" matchType="IsFile" ignoreCase="false" />
                          </conditions>
                          <action type="Rewrite" url="/out.php?out={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 3">
                          <match url="^crossdomain.xml$" ignoreCase="false" />
                          <action type="Rewrite" url="/crossdomain.php" />
                      </rule>
                      <rule name="Imported Rule 4">
                          <match url="^gamedata/external(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/externals.php" />
                      </rule>
                      <rule name="Imported Rule 5">
                          <match url="^vip/vouchers(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/redeem.php" />
                      </rule>
                      <rule name="Imported Rule 6">
                          <match url="^vote(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/api.php" />
                      </rule>
                      <rule name="Imported Rule 7">
                          <match url="^texts(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/externals.php?id=external_flash_texts" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 8">
                          <match url="^vars(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/externals.php?id=external_variables" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 9">
                          <match url="^productdata(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/gamedata/ACTIVE/productdata.txt" />
                      </rule>
                      <rule name="Imported Rule 10">
                          <match url="^furnidata(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/gamedata/ACTIVE/furnidata.txt" />
                      </rule>
                      <rule name="Imported Rule 11">
                          <match url="^access_denied(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/access_denied.php" />
                      </rule>
                      <rule name="Imported Rule 12">
                          <match url="^client_denied(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/access_denied.php?gateway=client?novote" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 13">
                          <match url="^order/vip(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/ordervip.php?pass=true" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 14">
                          <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 15">
                          <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 16">
                          <match url="^avatarimage(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/inc/imager.php?figure={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 17">
                          <match url="^quickmenu/friends_all(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/quick-friends.php" />
                      </rule>
                      <rule name="Imported Rule 18">
                          <match url="^quickmenu/groups(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/quick-groups.php" />
                      </rule>
                      <rule name="Imported Rule 19">
                          <match url="^quickmenu/rooms(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/quick-rooms.php" />
                      </rule>
                      <rule name="Imported Rule 20">
                          <match url="^security_check(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="security_check.php" />
                      </rule>
                      <rule name="Imported Rule 21">
                          <match url="^profile(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/profile.php" />
                      </rule>
                      <rule name="Imported Rule 22">
                          <match url="^values(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/values.php" />
                      </rule>
                      <rule name="Imported Rule 23">
                          <match url="^client(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/newclient.php" />
                      </rule>
                      <rule name="Imported Rule 24">
                          <match url="^flash_client_error(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/client_error.php" />
                      </rule>
                      <rule name="Imported Rule 25">
                          <match url="^client_error(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/client_error.php" />
                      </rule>
                      <rule name="Imported Rule 26">
                          <match url="^me(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/me.php" />
                      </rule>
                      <rule name="Imported Rule 27">
                          <match url="^login_popup(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/login-popup.php" />
                      </rule>
                      <rule name="Imported Rule 28">
                          <match url="^buyvip(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/vippage.php" />
                      </rule>
                      <rule name="Imported Rule 29">
                          <match url="^community(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/community.php" />
                      </rule>
                      <rule name="Imported Rule 30">
                          <match url="^community/staff(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/staff.php" />
                      </rule>
                      <rule name="Imported Rule 31">
                          <match url="^credits(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/credits.php" />
                      </rule>
                      <rule name="Imported Rule 32">
                          <match url="^credits/pixels(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/pixels.php" />
                      </rule>
                      <rule name="Imported Rule 33">
                          <match url="^credits/club(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/habboclub.php" />
                      </rule>
                      <rule name="Imported Rule 34">
                          <match url="^credits/habboclub(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/habboclub.php" />
                      </rule>
                      <rule name="Imported Rule 35">
                          <match url="^credits/uberclub(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/habboclub.php" />
                      </rule>
                      <rule name="Imported Rule 36">
                          <match url="^credits/uberclub/tryout(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/clubtryout.php" />
                      </rule>
                      <rule name="Imported Rule 37">
                          <match url="^credits/habboclub/tryout(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/clubtryout.php" />
                      </rule>
                      <rule name="Imported Rule 38">
                          <match url="^register(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/register.php" />
                      </rule>
                      <rule name="Imported Rule 39">
                          <match url="^register_submit(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/register.php?doSubmit" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 40">
                          <match url="^register_messages(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/register-messages.php" />
                      </rule>
                      <rule name="Imported Rule 41">
                          <match url="^register/cancel(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/register-cancel.php" />
                      </rule>
                      <rule name="Imported Rule 42">
                          <match url="^register/welcome(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/welcome.php" />
                      </rule>
                      <rule name="Imported Rule 43">
                          <match url="^register/undefined(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/index.php" />
                      </rule>
                      <rule name="Imported Rule 44">
                          <match url="^vip/shop(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/vipshop.php" />
                      </rule>
                      <rule name="Imported Rule 45">
                          <match url="^vip/getpoints(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/vippoints.php" />
                      </rule>
                      <rule name="Imported Rule 46">
                          <match url="^account/policy-verify(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/policyver.php" />
                      </rule>
                      <rule name="Imported Rule 47">
                          <match url="^account/password/forgot(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/forgot.php" />
                      </rule>
                      <rule name="Imported Rule 48">
                          <match url="^account/submit(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/index.php" />
                      </rule>
                      <rule name="Imported Rule 49">
                          <match url="^account/logout(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/logout.php" />
                      </rule>
                      <rule name="Imported Rule 50">
                          <match url="^account/logout_ok(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/logout-ok.php" />
                      </rule>
                      <rule name="Imported Rule 51">
                          <match url="^account/disconnected(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/disconnected.php" />
                      </rule>
                      <rule name="Imported Rule 52">
                          <match url="^articles(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/article.php?mostRecent" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 53">
                          <match url="^articles/archive(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/article.php?mostRecent&amp;archiveMode" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 54">
                          <match url="^articles/([^/]+)/in/archive(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/article.php?rel={R:1}&amp;archiveMode" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 55">
                          <match url="^articles/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/article.php?rel={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 56">
                          <match url="^articles/category/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/article.php?category={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 57">
                          <match url="^myhabbo/save(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/myhabbo/save.php" />
                      </rule>
                      <rule name="Imported Rule 58">
                          <match url="^home/(.*)/startSession/(.*)$" ignoreCase="false" />
                          <action type="Rewrite" url="/startSession.php?id={R:2}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 59">
                          <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 60">
                          <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 61">
                          <match url="^myhabbo/cancel/(.*)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/myhabbo/cancel.php?id={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 62">
                          <match url="^myhabbo/(.*)/(.*)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/myhabbo/{R:1}_{R:2}.php" />
                      </rule>
                      <rule name="Imported Rule 63">
                          <match url="^register/undefined/([^/]+)$" ignoreCase="false" />
                          <action type="Rewrite" url="/me.php" />
                      </rule>
                      <rule name="Imported Rule 64">
                          <match url="^habblet/cproxy(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/habbletProxy.php" />
                      </rule>
                      <rule name="Imported Rule 65">
                          <match url="^habblet/ajax/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/habbletAjax.php?cmd={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 66">
                          <match url="^habblet/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/habblet.php?cmd={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 67">
                          <match url="^myhabbo/([^.]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/myhabbo.php?cmd={R:1}" appendQueryString="false" />
                      </rule>
                      <rule name="Imported Rule 68">
                          <match url="^minimail/loadMessage(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/minimail-view.php" />
                      </rule>
                      <rule name="Imported Rule 69">
                          <match url="^minimail/([^/]+)(|/)$" ignoreCase="false" />
                          <action type="Rewrite" url="/minimail.php?cmd={R:1}" appendQueryString="false" />
                      </rule>
                  </rules>
              </rewrite>
          </system.webServer>
      </configuration>
    8. If you test the CMS now, it's probably still throwing you an IIS error or a blank page. To fix this, open the global.php file within the root folder and search for:
      Code:
      $headers = @apache_request_headers();
    9. Then replace it with:
      Code:
      // $headers = @apache_request_headers();
    10. If you ever switch to another web server, you may want to remove the // comments on that line to avoid any problems.
    11. If everything went as planned, you should see a page like this!
    12. Congratulations, you have successfully installed IIS, PHP and UberCMS 2.0.


    Have fun.
    Liam likes this.

  2. #2
    Member
    Rank
    Member
    Join Date
    Nov 2011
    Posts
    35
    Liked
    5

    Re: Setting up PHP, IIS and Uber 2

    Thanks for the tutorial! But when you click housekeeping it gives off IIS errors?

  3. #3
    Prepare the lulz
    Rank
    Moderator
    Join Date
    Mar 2009
    Location
    England
    Posts
    463
    Liked
    134

    Re: Setting up PHP, IIS and Uber 2

    Quote Originally Posted by vLukeH View Post
    Thanks for the tutorial! But when you click housekeeping it gives off IIS errors?
    Ah I think you need to do the global.php fix (shown in the tutorial) but for the /allseeingeye/adminglobal.php file ^^

  4. #4
    Member
    Rank
    Member
    Join Date
    Nov 2011
    Posts
    35
    Liked
    5

    Re: Setting up PHP, IIS and Uber 2

    Quote Originally Posted by iHarrison View Post
    Ah I think you need to do the global.php fix (shown in the tutorial) but for the /allseeingeye/adminglobal.php file ^^
    Yeah it worked thanks! But some of the things don't work in the housekeeping which give off IIS errors again like chatlogs and bans :/

  5. #5
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2007
    Location
    Norway
    Posts
    205
    Liked
    9

    Re: Setting up PHP, IIS and Uber 2

    I get "
    Server Error


    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    "
    when trying to check for an available name during registration.

    Last edited by pamoerk; 14-05-12 at 03:41 PM. Reason: Nvm.


    25k coins | 250+ online | Great community | Click the logo and join Habyard today!

  6. #6
    Prepare the lulz
    Rank
    Moderator
    Join Date
    Mar 2009
    Location
    England
    Posts
    463
    Liked
    134

    Re: Setting up PHP, IIS and Uber 2

    Quote Originally Posted by pamoerk View Post
    I get "
    Server Error


    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    "
    when trying to check for an available name during registration.

    Open up Notepad or whatever and save this as a web.config within C:\inetpub\wwwroot:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="Imported Rule 1">
                        <match url="^(.*)\.html" ignoreCase="false" />
                        <action type="Rewrite" url="{R:1}\.php" />
                    </rule>
                    <rule name="Imported Rule 2">
                        <match url="^out/([^/]+)(|/)$" ignoreCase="false" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                            <add input="{REQUEST_FILENAME}\.php" matchType="IsFile" ignoreCase="false" />
                        </conditions>
                        <action type="Rewrite" url="/out.php?out={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 3">
                        <match url="^crossdomain.xml$" ignoreCase="false" />
                        <action type="Rewrite" url="/crossdomain.php" />
                    </rule>
                    <rule name="Imported Rule 4">
                        <match url="^gamedata/external(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/externals.php" />
                    </rule>
                    <rule name="Imported Rule 5">
                        <match url="^vip/vouchers(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/redeem.php" />
                    </rule>
                    <rule name="Imported Rule 6">
                        <match url="^vote(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/api.php" />
                    </rule>
                    <rule name="Imported Rule 7">
                        <match url="^texts(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/externals.php?id=external_flash_texts" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 8">
                        <match url="^vars(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/externals.php?id=external_variables" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 9">
                        <match url="^productdata(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/gamedata/ACTIVE/productdata.txt" />
                    </rule>
                    <rule name="Imported Rule 10">
                        <match url="^furnidata(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/gamedata/ACTIVE/furnidata.txt" />
                    </rule>
                    <rule name="Imported Rule 11">
                        <match url="^access_denied(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/access_denied.php" />
                    </rule>
                    <rule name="Imported Rule 12">
                        <match url="^client_denied(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/access_denied.php?gateway=client?novote" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 13">
                        <match url="^order/vip(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/ordervip.php?pass=true" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 14">
                        <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 15">
                        <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 16">
                        <match url="^avatarimage(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/inc/imager.php?figure={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 17">
                        <match url="^quickmenu/friends_all(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/quick-friends.php" />
                    </rule>
                    <rule name="Imported Rule 18">
                        <match url="^quickmenu/groups(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/quick-groups.php" />
                    </rule>
                    <rule name="Imported Rule 19">
                        <match url="^quickmenu/rooms(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/quick-rooms.php" />
                    </rule>
                    <rule name="Imported Rule 20">
                        <match url="^security_check(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="security_check.php" />
                    </rule>
                    <rule name="Imported Rule 21">
                        <match url="^profile(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/profile.php" />
                    </rule>
                    <rule name="Imported Rule 22">
                        <match url="^values(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/values.php" />
                    </rule>
                    <rule name="Imported Rule 23">
                        <match url="^client(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/newclient.php" />
                    </rule>
                    <rule name="Imported Rule 24">
                        <match url="^flash_client_error(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/client_error.php" />
                    </rule>
                    <rule name="Imported Rule 25">
                        <match url="^client_error(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/client_error.php" />
                    </rule>
                    <rule name="Imported Rule 26">
                        <match url="^me(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/me.php" />
                    </rule>
                    <rule name="Imported Rule 27">
                        <match url="^login_popup(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/login-popup.php" />
                    </rule>
                    <rule name="Imported Rule 28">
                        <match url="^buyvip(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/vippage.php" />
                    </rule>
                    <rule name="Imported Rule 29">
                        <match url="^community(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/community.php" />
                    </rule>
                    <rule name="Imported Rule 30">
                        <match url="^community/staff(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/staff.php" />
                    </rule>
                    <rule name="Imported Rule 31">
                        <match url="^credits(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/credits.php" />
                    </rule>
                    <rule name="Imported Rule 32">
                        <match url="^credits/pixels(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/pixels.php" />
                    </rule>
                    <rule name="Imported Rule 33">
                        <match url="^credits/club(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/habboclub.php" />
                    </rule>
                    <rule name="Imported Rule 34">
                        <match url="^credits/habboclub(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/habboclub.php" />
                    </rule>
                    <rule name="Imported Rule 35">
                        <match url="^credits/uberclub(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/habboclub.php" />
                    </rule>
                    <rule name="Imported Rule 36">
                        <match url="^credits/uberclub/tryout(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/clubtryout.php" />
                    </rule>
                    <rule name="Imported Rule 37">
                        <match url="^credits/habboclub/tryout(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/clubtryout.php" />
                    </rule>
                    <rule name="Imported Rule 38">
                        <match url="^register(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/register.php" />
                    </rule>
                    <rule name="Imported Rule 39">
                        <match url="^register_submit(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/register.php?doSubmit" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 40">
                        <match url="^register_messages(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/register-messages.php" />
                    </rule>
                    <rule name="Imported Rule 41">
                        <match url="^register/cancel(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/register-cancel.php" />
                    </rule>
                    <rule name="Imported Rule 42">
                        <match url="^register/welcome(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/welcome.php" />
                    </rule>
                    <rule name="Imported Rule 43">
                        <match url="^register/undefined(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/index.php" />
                    </rule>
                    <rule name="Imported Rule 44">
                        <match url="^vip/shop(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/vipshop.php" />
                    </rule>
                    <rule name="Imported Rule 45">
                        <match url="^vip/getpoints(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/vippoints.php" />
                    </rule>
                    <rule name="Imported Rule 46">
                        <match url="^account/policy-verify(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/policyver.php" />
                    </rule>
                    <rule name="Imported Rule 47">
                        <match url="^account/password/forgot(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/forgot.php" />
                    </rule>
                    <rule name="Imported Rule 48">
                        <match url="^account/submit(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/index.php" />
                    </rule>
                    <rule name="Imported Rule 49">
                        <match url="^account/logout(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/logout.php" />
                    </rule>
                    <rule name="Imported Rule 50">
                        <match url="^account/logout_ok(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/logout-ok.php" />
                    </rule>
                    <rule name="Imported Rule 51">
                        <match url="^account/disconnected(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/disconnected.php" />
                    </rule>
                    <rule name="Imported Rule 52">
                        <match url="^articles(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/article.php?mostRecent" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 53">
                        <match url="^articles/archive(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/article.php?mostRecent&amp;archiveMode" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 54">
                        <match url="^articles/([^/]+)/in/archive(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/article.php?rel={R:1}&amp;archiveMode" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 55">
                        <match url="^articles/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/article.php?rel={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 56">
                        <match url="^articles/category/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/article.php?category={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 57">
                        <match url="^myhabbo/save(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/myhabbo/save.php" />
                    </rule>
                    <rule name="Imported Rule 58">
                        <match url="^home/(.*)/startSession/(.*)$" ignoreCase="false" />
                        <action type="Rewrite" url="/startSession.php?id={R:2}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 59">
                        <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/home.php?qryId={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 60">
                        <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/home.php?qryName={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 61">
                        <match url="^myhabbo/cancel/(.*)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/myhabbo/cancel.php?id={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 62">
                        <match url="^myhabbo/(.*)/(.*)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/myhabbo/{R:1}_{R:2}.php" />
                    </rule>
                    <rule name="Imported Rule 63">
                        <match url="^register/undefined/([^/]+)$" ignoreCase="false" />
                        <action type="Rewrite" url="/me.php" />
                    </rule>
                    <rule name="Imported Rule 64">
                        <match url="^habblet/cproxy(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/habbletProxy.php" />
                    </rule>
                    <rule name="Imported Rule 65">
                        <match url="^habblet/ajax/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/habbletAjax.php?cmd={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 66">
                        <match url="^habblet/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/habblet.php?cmd={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 67">
                        <match url="^myhabbo/([^.]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/myhabbo.php?cmd={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 68">
                        <match url="^minimail/loadMessage(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/minimail-view.php" />
                    </rule>
                    <rule name="Imported Rule 69">
                        <match url="^minimail/([^/]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="/minimail.php?cmd={R:1}" appendQueryString="false" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    Or install Helicon APE so it imports the .htaccess automatically, but this way is easier.

  7. #7
    Josh Webster | Now Back!
    Rank
    Member +
    Join Date
    Nov 2011
    Location
    Modesto, CA
    Posts
    947
    Liked
    107

    Re: Setting up PHP, IIS and Uber 2

    Very good, I used this for my localhost hotel simply the the lulz (:

  8. #8
    Brand spanking new!
    Rank
    Banned
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    2,492
    Liked
    481
    Gamertag: Nova Streak

    Re: Setting up PHP, IIS and Uber 2

    Nice tutorial! 8/10, could use some images (more), but it's overall a good tutorial!

  9. #9
    Hardcore Member
    Rank
    Member
    Join Date
    Jul 2010
    Posts
    114
    Liked
    7

    Re: Setting up PHP, IIS and Uber 2

    My Client not working :/


    Story Of Evil ♥

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •