Jump to content

CMS Habbo 2


ASIKOO

Recommended Posts

  • Administrateur

Bonjour à tous,

 

Je vous partage le CMS Habbo 2 pour la gestion de vos serveurs Habbo ! Il vous faut un serveur web avec Apache / NGinx avec PHP et MySQL d'installé pour pouvoir en profiter pleinement ! Le CMS est prévu initialement pour Apache, vous pouvez l'utiliser avec NGinx en utilisant la configuration ci-dessous.

 

Configuration NGinx :

 

# nginx configuration

error_page 404 /error.php;

autoindex off;

location /account {
  rewrite ^/account/password/resetIdentity/([^/]+) /account/resetIdentity.php?ukey=$1;
  rewrite ^/account/password/identityResetForm([^/]+) /account/identityResetForm.php;
}

location /identity {
  rewrite ^/identity/useOrCreateAvatar/([^/]+) /identity/useOrCreateAvatar.php?id=$1;
}

location /logout {
  rewrite ^/logout([^/]+) /account/logout.php;
}

location /community {
  rewrite ^/community/socialmedia([^/]+) /socialmedia.php;
  rewrite ^/community/fansites([^/]+) /fansites.php;
  rewrite ^/community/staffs([^/]+) /staffs.php;
}

location /safety {
  rewrite ^/safety/habbo_way([^/]+) /habbo_way.php;
  rewrite ^/safety/safety_tips([^/]+) /safety_tips.php;
}

location /profile {
  rewrite ^/profile/email([^/]+) /profile_config/email.php;
  rewrite ^/profile/friendsmanagement([^/]+) /profile_config/friendsmanagement.php;
  rewrite ^/profile/password([^/]+) /profile_config/password.php;
  rewrite ^/profile/profileupdate([^/]+) /profile.php?p=update;
}

location /articles {
  rewrite ^/articles/(.*)-(.*)$ /articles.php?id=$1&idpage=$2;
}

location /home {
  rewrite ^/home/([^/]+) /home.php?username=$1;
}

location /room {
  rewrite ^/room/([^/]+) /room.php?id=$1;
}

location /proceedWithPayment {
  rewrite ^/proceedWithPayment/StarPass/(.*)/(.*)$ /proceedWithPayment/StarPass.php?check=$1&checkcode=valide;
  rewrite ^/proceedWithPayment/StarPass/([^/]+) /proceedWithPayment/StarPass.php?check=$1;
  rewrite ^/proceedWithPayment/VIP/([^/]+) /proceedWithPayment/VIP.php?check=$1;
}

location /admin {
  rewrite ^/admin/site/boutique([^/]+) /admin/boutique.php;
  rewrite ^/admin/site/fansites([^/]+) /admin/fansites.php;
  rewrite ^/admin/staffs/([^/]+) /admin/staffs.php?id=$1;
  rewrite ^/admin/bans/([^/]+) /admin/bans.php?value=$1;
  rewrite ^/admin/delete_new/([^/]+) /admin/delete_new.php?id=$1;
  rewrite ^/admin/new/post([^/]+) /admin/new.php?post=true;
}

location / {
  if (!-e $request_filename){
    rewrite ^/(([A-Za-z0-9\-_]+/)*[A-Za-z0-9\-_]+)?$ /$1.php;
  }
}

location /.htaccess {
  deny all;
}

location ~ \.log$ {
  deny all;
}

 

Cordialement,

ASIKOO

---

Download

 

Download

 

Liste des téléchargements possible pour ce tutoriel / partage...

 

CMS Habbo 2 : Télécharger

 

 

  • Like 68

logo.pngmiaw-network.png
 

Link to post

Voici la configuration Nginx adapté au CMS ( je te laisse éditer ton topic Asikoo si tu le souhaites )

 

# nginx configuration

error_page 404 /error.php;

autoindex off;

location /account {
  rewrite ^/account/password/resetIdentity/([^/]+) /account/resetIdentity.php?ukey=$1;
  rewrite ^/account/password/identityResetForm([^/]+) /account/identityResetForm.php;
}

location /identity {
  rewrite ^/identity/useOrCreateAvatar/([^/]+) /identity/useOrCreateAvatar.php?id=$1;
}

location /logout {
  rewrite ^/logout([^/]+) /account/logout.php;
}

location /community {
  rewrite ^/community/socialmedia([^/]+) /socialmedia.php;
  rewrite ^/community/fansites([^/]+) /fansites.php;
  rewrite ^/community/staffs([^/]+) /staffs.php;
}

location /safety {
  rewrite ^/safety/habbo_way([^/]+) /habbo_way.php;
  rewrite ^/safety/safety_tips([^/]+) /safety_tips.php;
}

location /profile {
  rewrite ^/profile/email([^/]+) /profile_config/email.php;
  rewrite ^/profile/friendsmanagement([^/]+) /profile_config/friendsmanagement.php;
  rewrite ^/profile/password([^/]+) /profile_config/password.php;
  rewrite ^/profile/profileupdate([^/]+) /profile.php?p=update;
}

location /articles {
  rewrite ^/articles/(.*)-(.*)$ /articles.php?id=$1&idpage=$2;
}

location /home {
  rewrite ^/home/([^/]+) /home.php?username=$1;
}

location /room {
  rewrite ^/room/([^/]+) /room.php?id=$1;
}

location /proceedWithPayment {
  rewrite ^/proceedWithPayment/StarPass/(.*)/(.*)$ /proceedWithPayment/StarPass.php?check=$1&checkcode=valide;
  rewrite ^/proceedWithPayment/StarPass/([^/]+) /proceedWithPayment/StarPass.php?check=$1;
  rewrite ^/proceedWithPayment/VIP/([^/]+) /proceedWithPayment/VIP.php?check=$1;
}

location /admin {
  rewrite ^/admin/site/boutique([^/]+) /admin/boutique.php;
  rewrite ^/admin/site/fansites([^/]+) /admin/fansites.php;
  rewrite ^/admin/staffs/([^/]+) /admin/staffs.php?id=$1;
  rewrite ^/admin/bans/([^/]+) /admin/bans.php?value=$1;
  rewrite ^/admin/delete_new/([^/]+) /admin/delete_new.php?id=$1;
  rewrite ^/admin/new/post([^/]+) /admin/new.php?post=true;
}

location / {
  if (!-e $request_filename){
    rewrite ^/(([A-Za-z0-9\-_]+/)*[A-Za-z0-9\-_]+)?$ /$1.php;
  }
}

location /.htaccess {
  deny all;
}

location ~ \.log$ {
  deny all;
}

 

  • Like 4
Link to post
  • 1 month later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Flux d'Activité

    1. 18

      serveur Metin2

    2. 1

      Implantation MOB (invisible + error)

    3. 1

      Implantation MOB (invisible + error)

    4. 1

      Mondial2 Remastered - New School International Private Server Open 27/11/2020

    5. 18

      serveur Metin2

    6. 29

      Dump Proto 2014

    7. 18

      serveur Metin2

    8. 15

      Mustang SF - Full - 1.8

  • Recently Browsing

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.