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
Chocolatey Habbo Setup
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="Antisj" data-source="post: 422072" data-attributes="member: 45759"><p>There already is a web.config i saw just now</p><p><strong>This is web.config:</strong></p><p><span style="font-size: 10px"><?xml version="1.0" encoding="UTF-8"?></span></p><p><span style="font-size: 10px"><configuration></span></p><p><span style="font-size: 10px"> <system.webServer></span></p><p><span style="font-size: 10px"> <rewrite></span></p><p><span style="font-size: 10px"> <rules></span></p><p><span style="font-size: 10px"> <rule name="Imported Rule 1" stopProcessing="true"></span></p><p><span style="font-size: 10px"> <match url="^habbo-web/(.*)$" ignoreCase="false" /></span></p><p><span style="font-size: 10px"> <action type="Rewrite" url="public/habbo-web/{R:1}" /></span></p><p><span style="font-size: 10px"> </rule></span></p><p><span style="font-size: 10px"> <rule name="Imported Rule 2" stopProcessing="true"></span></p><p><span style="font-size: 10px"> <match url="^.*$" ignoreCase="false" /></span></p><p><span style="font-size: 10px"> <conditions logicalGrouping="MatchAll"></span></p><p><span style="font-size: 10px"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /></span></p><p><span style="font-size: 10px"> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /></span></p><p><span style="font-size: 10px"> </conditions></span></p><p><span style="font-size: 10px"> <action type="Rewrite" url="index.php" /></span></p><p><span style="font-size: 10px"> </rule></span></p><p><span style="font-size: 10px"> </rules></span></p><p><span style="font-size: 10px"> </rewrite></span></p><p><span style="font-size: 10px"> <defaultDocument></span></p><p><span style="font-size: 10px"> <files></span></p><p><span style="font-size: 10px"> <clear /></span></p><p><span style="font-size: 10px"> <add value="index.php" /></span></p><p><span style="font-size: 10px"> </files></span></p><p><span style="font-size: 10px"> </defaultDocument></span></p><p><span style="font-size: 10px"> </system.webServer></span></p><p><span style="font-size: 10px"></configuration></span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px"></span></p><p><strong>This is htacess</strong></p><p></p><p><span style="font-size: 12px"><IfModule mod_rewrite.c></span></p><p><span style="font-size: 12px"> Options +FollowSymLinks</span></p><p><span style="font-size: 12px"> Options -Indexes</span></p><p><span style="font-size: 12px"> Options -MultiViews</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"> RewriteEngine On</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"> # Security Modules</span></p><p><span style="font-size: 12px"> RewriteRule ^(app/|resources/|bootstrap/|config/|database/|routes/|storage/|docs/|vendor/) - [F,L,NC]</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"> # Habbo Web Assets</span></p><p><span style="font-size: 12px"> RewriteRule ^habbo-web/(.*)$ public/habbo-web/$1 [L]</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"> # Handle Front Controller...</span></p><p><span style="font-size: 12px"> RewriteCond %{REQUEST_FILENAME} !-f</span></p><p><span style="font-size: 12px"> RewriteCond %{REQUEST_FILENAME} !-d</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"> RewriteRule ^.*$ index.php [L]</span></p><p><span style="font-size: 12px"></IfModule></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"><IfModule mod_deflate.c></span></p><p><span style="font-size: 12px"> SetOutputFilter DEFLATE</span></p><p><span style="font-size: 12px"> SetEnvIfNoCase Request_URI \</span></p><p><span style="font-size: 12px"> \.(?:gif|jpe?g|png)$ no-gzip dont-vary</span></p><p><span style="font-size: 12px"></IfModule></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"><IfModule mod_expires.c></span></p><p><span style="font-size: 12px"> ExpiresActive on</span></p><p><span style="font-size: 12px"> ExpiresByType image/jpg "access 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType image/gif "access 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType image/jpeg "access 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType image/png "access 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType text/css "access 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType application/x-javascript "access plus 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType text/javascript "access plus 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType application/javascript "access plus 2 month"</span></p><p><span style="font-size: 12px"> ExpiresByType image/x-icon "access plus 12 month"</span></p><p><span style="font-size: 12px"> ExpiresByType image/icon "access plus 12 month"</span></p><p><span style="font-size: 12px"> ExpiresByType application/x-ico "access plus 12 month"</span></p><p><span style="font-size: 12px"> ExpiresByType application/ico "access plus 12 month"</span></p><p><span style="font-size: 12px"></IfModule></span></p></blockquote><p></p>
[QUOTE="Antisj, post: 422072, member: 45759"] There already is a web.config i saw just now [B]This is web.config:[/B] [SIZE=2]<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule 1" stopProcessing="true"> <match url="^habbo-web/(.*)$" ignoreCase="false" /> <action type="Rewrite" url="public/habbo-web/{R:1}" /> </rule> <rule name="Imported Rule 2" stopProcessing="true"> <match url="^.*$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> <defaultDocument> <files> <clear /> <add value="index.php" /> </files> </defaultDocument> </system.webServer> </configuration> [/SIZE] [B]This is htacess[/B] [SIZE=3]<IfModule mod_rewrite.c> Options +FollowSymLinks Options -Indexes Options -MultiViews RewriteEngine On # Security Modules RewriteRule ^(app/|resources/|bootstrap/|config/|database/|routes/|storage/|docs/|vendor/) - [F,L,NC] # Habbo Web Assets RewriteRule ^habbo-web/(.*)$ public/habbo-web/$1 [L] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ index.php [L] </IfModule> <IfModule mod_deflate.c> SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png)$ no-gzip dont-vary </IfModule> <IfModule mod_expires.c> ExpiresActive on ExpiresByType image/jpg "access 2 month" ExpiresByType image/gif "access 2 month" ExpiresByType image/jpeg "access 2 month" ExpiresByType image/png "access 2 month" ExpiresByType text/css "access 2 month" ExpiresByType application/x-javascript "access plus 2 month" ExpiresByType text/javascript "access plus 2 month" ExpiresByType application/javascript "access plus 2 month" ExpiresByType image/x-icon "access plus 12 month" ExpiresByType image/icon "access plus 12 month" ExpiresByType application/x-ico "access plus 12 month" ExpiresByType application/ico "access plus 12 month" </IfModule>[/SIZE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Chocolatey Habbo Setup
Top