+ Reply to Thread
Results 1 to 2 of 2

Thread: mod_rewrite problems

  1. #1
    mustagenicholas82 is offline x10Hosting Member mustagenicholas82 is an unknown quantity at this point
    Join Date
    Nov 2011
    Posts
    1

    mod_rewrite problems

    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 Code:
    Options +FollowSymLinksRewriteEngine On 
    There were no errors, implying it should work.

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

    PHP Code:
    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 Code:
    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.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: mod_rewrite problems

    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 samples] need to faithfully reproduce the issue in the originals.
    Last edited by misson; 11-25-2011 at 03:04 AM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. mod_rewrite
    By a.gavrilescu66 in forum Free Hosting
    Replies: 1
    Last Post: 04-02-2011, 09:01 AM
  2. mod_rewrite
    By zh00mradio58 in forum Free Hosting
    Replies: 2
    Last Post: 03-29-2011, 01:59 PM
  3. mod_rewrite
    By icywind335 in forum Free Hosting
    Replies: 8
    Last Post: 02-21-2011, 10:15 AM
  4. Mod_rewrite
    By cl58tools in forum Free Hosting
    Replies: 1
    Last Post: 12-27-2009, 11:36 PM
  5. mod_rewrite
    By sampuu in forum Free Hosting
    Replies: 3
    Last Post: 09-06-2008, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers