Closed Thread
Results 1 to 9 of 9

Thread: Is rewrite_mod working on free hosting

  1. #1
    jeromeolivry94 is offline x10Hosting Member jeromeolivry94 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    8

    Is rewrite_mod working on free hosting

    Hello everybody!

    I'm creating my website with x10 free hosting but it seems that rewrite_mod does'nt work (404 error).
    Does anyone know if it should work or not? And/Or how to make it work (if it's possible).

    Thank you very much!

    (ps: sorry for the english's faults!)

  2. #2
    calistoy's Avatar
    calistoy is offline Free Support Volunteer calistoy is just really nice
    Join Date
    Aug 2008
    Location
    USA
    Posts
    5,598

    Re: Is rewrite_mod working on free hosting

    Yes, mod_rewrite is already enabled. Make sure that you include RewriteBase / in your .htaccess file.

  3. #3
    jeromeolivry94 is offline x10Hosting Member jeromeolivry94 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    8

    Re: Is rewrite_mod working on free hosting

    Ok! Thanks!!
    I have only to write "RewriteBase /" ?
    Something else perhaps?

  4. #4
    calistoy's Avatar
    calistoy is offline Free Support Volunteer calistoy is just really nice
    Join Date
    Aug 2008
    Location
    USA
    Posts
    5,598

    Re: Is rewrite_mod working on free hosting

    It's not the only thing, I said to make sure that you include it.

  5. #5
    jeromeolivry94 is offline x10Hosting Member jeromeolivry94 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    8

    Re: Is rewrite_mod working on free hosting

    Of course there's something else (Rewrite Rule...) but on this line I don't have to write something else?

    Is there a problem with my code? I have already 404 errors:


    RewriteBase /
    Options +FollowSymlinks
    RewriteEngine On
    RewriteRule ^foo.html$ test.html [L]
    Last edited by jeromeolivry94; 09-05-2011 at 07:52 AM.

  6. #6
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Is rewrite_mod working on free hosting

    Do you actually have a file named test.html in public_html ?
    Nothing is always absolutely so.

  7. #7
    jeromeolivry94 is offline x10Hosting Member jeromeolivry94 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    8

    Re: Is rewrite_mod working on free hosting

    no, it's like that:
    public_html/jerom/test/test.html
    and the .htaccess file is in the same folder...
    Last edited by jeromeolivry94; 09-05-2011 at 09:58 AM.

  8. #8
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Is rewrite_mod working on free hosting

    Well, I try http://jerome.olivry.kadored.x10.mx/jerome/test/test.html and it gives a 404 so it either isn't there is something else going on.
    Last edited by descalzo; 09-05-2011 at 10:06 AM.
    Nothing is always absolutely so.

  9. #9
    jeromeolivry94 is offline x10Hosting Member jeromeolivry94 is an unknown quantity at this point
    Join Date
    May 2011
    Posts
    8

    Re: Is rewrite_mod working on free hosting

    it's jerom/test_rewrite/test.html and not jeromE/test/test.html

    ---------- Post added at 07:59 AM ---------- Previous post was at 06:54 AM ----------

    When i put the files "test.html" and .htaccess in the folder public_html it works... isn't it possible to do this in other folders?

    edit: It seems that I have to put my .htaccess file in public_html and write in it the rule with: ^jerom/test_rewrite/foo.html$ jerom/test_rewrite/test.html [L]
    Last edited by jeromeolivry94; 09-06-2011 at 03:53 AM.

Closed Thread

Similar Threads

  1. my free hosting account not working now.
    By jatin84661 in forum Free Hosting
    Replies: 1
    Last Post: 07-10-2011, 08:38 AM
  2. free hosting registration not working with me
    By spiky86 in forum Free Hosting
    Replies: 0
    Last Post: 01-27-2011, 03:48 AM
  3. button not working on free hosting signup
    By murrayss in forum Free Hosting
    Replies: 10
    Last Post: 08-29-2010, 11:55 AM
  4. Replies: 1
    Last Post: 05-22-2010, 02:05 PM
  5. Free hosting Cpanel not working (lotus)
    By vap0r in forum Free Hosting
    Replies: 5
    Last Post: 03-31-2010, 01:50 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