.HTACCESS problem or VARIABLES?

Central

Imagination is more important than knowledge.
Feb 22, 2015
709
107
Add this to your web.config:
Code:
<rule name="Habbo Imaging Badges">
               <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
               <action type="Rewrite" url="/swf/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
               </rule>

Add or replace this to your variables:
Code:
group_logo_url_template=https://hotelurl/swf/habbo-imaging/badge/%imagerdata%.gif
group.badge.url=https://hotelurl/swf/habbo-imaging/badge/%imagerdata%.gif
 

Berk

berkibap#4233
Developer
Oct 17, 2015
863
190
Add this to your web.config:
Code:
<rule name="Habbo Imaging Badges">
               <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
               <action type="Rewrite" url="/swf/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
               </rule>

Add or replace this to your variables:
Code:
group_logo_url_template=https://hotelurl/swf/habbo-imaging/badge/%imagerdata%.gif
group.badge.url=https://hotelurl/swf/habbo-imaging/badge/%imagerdata%.gif
If you use IIS,obviously.
 

Silenos

Obsessed.
Aug 7, 2017
104
65
I'm still not using IIS, lol.
 
Oh! I almost got it, it was a .htaccess problem.
Changed it to
RewriteRule ^habbo-imaging/badge/(.*).gif$ ./habbo-imaging/badge.php?badge=$1
But my badges look like this now, lol:
KqMJX6U.png


on the homepage the badges are fine because its getting them from the direct link swf/habbo-imaging/badges.php?badge= and not like the client from swf/habbo-imaging/badge/
why are they fucked up like this?
 

Users who are viewing this thread

Top