+ Reply to Thread
Results 1 to 7 of 7

Thread: How to enable mod_rewrite?

  1. #1

    How to enable mod_rewrite?

    I just installed flynax and Apache rewrite module is enable.
    But I don't know how to enable mod_rewrite. I did some research and found solution by adding to my .htaccess, which I had to create one. It wasn't there

    RewriteEngine On
    RewriteBase /subdirectory/

    When Apache rewrite module is enable i get 404 error.
    Is there any solution for my case?

  2. #2
    I misunderstood the instruction. I installed flynax on root so in my .htaccess file, there is only 2 lines below

    RewriteEngine On
    RewriteBase /

    What do I need to get this to work?

  3. #3
    Hello Yung Yang,

    This line: RewriteBase /subdirectory/
    needs if you install your site in some folder not in root directory.

    If you want I can check your site but you should send me ftp access details for it in my PM.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Quote Originally Posted by Viktor View Post
    Hello Yung Yang,

    This line: RewriteBase /subdirectory/
    needs if you install your site in some folder not in root directory.

    If you want I can check your site but you should send me ftp access details for it in my PM.
    Hi Viktor,
    Yes, I realized that I installed it in root so I changed it back to

    RewriteEngine On
    RewriteBase /


    It's great to get your reply back. I've been struggling to get this work. Already exchanged multiple email with host provider and flynax support. I already PM you the info.

    Thank you so much

  5. #5
    Hello Yung Yang,

    I don't know why you deleted all rules from .htaccess file. All this rules necessary for the normal operation of the Flynax script.
    Please don't remove it again.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606
    Hello Yang,
    The software package already contains .htaccess with all necessary lines inside.
    Probably you missed this file or you just can't see it because it is hidden file.

    Try to browse downloaded Flynax archive for proper .htaccess file.

    John

  7. #7
    Quote Originally Posted by John View Post
    Hello Yang,
    The software package already contains .htaccess with all necessary lines inside.
    Probably you missed this file or you just can't see it because it is hidden file.

    Try to browse downloaded Flynax archive for proper .htaccess file.

    John
    This is the case. The file was hidden and i didn't see it.
    Problem solved
    Thank you

+ Reply to Thread