mod_rewrite problems

mustagenicholas82

New Member
Messages
1
Reaction score
0
Points
0
I'm running a game called Habbo (PHPRetro to be exact). When I go to install this game it tells me that mod_rewrite must be enabled. I have changed the .htaccess on my main WWW page as well as one located inside the game itself. I have tried everything.

I even tried using creating a new .htaccess on a test directory that would supposedly error if mod_rewrite was having issues. The code:

PHP:
Options +FollowSymLinksRewriteEngine On

There were no errors, implying it should work.

This is the start of the .htaccess from the game file:

PHP:
ErrorDocument 404 /error.phpOptions +FollowSymlinksOptions -Indexes<Files .htaccess>allow from all</Files><Files ~ "\.log$">	Order allow,deny	allow from all</Files><ifModule mod_php5.c>	php_value zlib.output_compression 16386	php_value register_globals off	php_value session.use_trans_sid 0</ifModule><ifModule mod_rewrite.c>RewriteBase /RewriteEngine OnRewriteBase


This is the start of the .htaccess on my WWW directory:

PHP:
RewriteEngine On RewriteRule ^(.*)\.html $1\.php
Im new to this all, so a simplified explanation/fix would be nice. Thanks in advance to anyone with help.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
My research tells me running a Habbo retro breaks international copyright law (though possessing the code itself doesn't), which is why the PHPRetro project is no longer available on Google Code. If you had successfully installed PHPRetro, your account would have been suspended under the zero tolerance policy, as per the terms of service.

Use the
Code:
 tag, not [php] for non-PHP code.

Are your actual .htaccess files missing newlines? If so, that's a problem. If not, your [url=http://sscce.org/]samples][/url] need to faithfully reproduce the issue in the originals.
 
Last edited:
Top