Results 1 to 7 of 7

Thread: .htaccess?

  1. #1
    Join Date
    Jul 2006
    Posts
    73

    Default .htaccess?

    Hello all,

    I am having a problem with the .htaccess file. When I had 5.1.1, I kept getting internal server errors, so I just deleted the .htaccess file, and all was well. I have now updated to 5.2.0, and am having the same problem with the .htaccess file, only now I don't want to delete it, so I can take advantage of the SEO url rewrite function that it provides. I have changed the permissions to 777, and enabled Mod-Rewrite via the Control Panel. Via the Control Panel, it seems to be successful, but the Enable/Disable buttons are blank when the page reloads, even though I clicked Enable.

    Any ideas?

    Thanks,

    Greg
    Version 5.4.0
    Paid Single Domain
    Auto Directory
    Airline Forum, Pictures and Videos

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Mod-rewrite is enable by default. The control panel will read .htaccess to find out whatever it's enable or disable.

    However, the webhost may have no mod-rewrite enable. Try to check using phpinfo(). Create a file named phpinfo.php, upload and run with your browser.
    PHP Code:
    <? phpinfo(); ?>
    The the result page.

    Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_cgi mod_dav mod_dav_fs mod_dir mod_env mod_include mod_info mod_isapi util_ldap mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_status mod_ssl mod_autoindex_color sapi_apache2

  3. #3
    Join Date
    Jul 2006
    Posts
    73

    Default

    Quote Originally Posted by dody
    Mod-rewrite is enable by default. The control panel will read .htaccess to find out whatever it's enable or disable.

    However, the webhost may have no mod-rewrite enable. Try to check using phpinfo(). Create a file named phpinfo.php, upload and run with your browser.
    PHP Code:
    <? phpinfo(); ?>
    The the result page.
    Done, but I don't have any loaded modules according to that. I would post the info, but there is some private info there. I have created a Support Ticket for this, but I figured the public might benefit from what I learn.

    Thanks,

    Greg
    Version 5.4.0
    Paid Single Domain
    Auto Directory
    Airline Forum, Pictures and Videos

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Done, but I don't have any loaded modules according to that
    Then it could be server issue. If mod-rewrite is not available in your server, you should ask your webhost or move to other one.

  5. #5
    Join Date
    Sep 2005
    Posts
    82

    Default

    mod_rewrite is availabe on our server, however whenever i enable mod_rewrite from the control panel, i get a page not found error. So I think I need to add a .htaccess file to the INDEXU directoy? If so, what should go into this file?

    Thank you.
    Last edited by mycolumbus; 09-07-2006 at 08:33 AM.
    ** English Teacher and Student Site **
    Teach English in Japan, Korea, Taiwan or China

    Teaching Community at Teacher Forums
    New ESL Teacher and Student Directory!

  6. #6
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    the .htacess is in the download file, you will get errors unless you uplaod it to your root / indexU directory (i think it should be the same directory you have your application.php file)

    If you have installed on the root, then copy the .htaccess file and add the lines to yoru existing one. /
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  7. #7
    Join Date
    Sep 2005
    Posts
    82

    Default

    Thanks inspireme. I did FTP again .htaccess that's found in the INDEXU folder and all works fine now.

    Thanks for your attention!

    Cheers.
    ** English Teacher and Student Site **
    Teach English in Japan, Korea, Taiwan or China

    Teaching Community at Teacher Forums
    New ESL Teacher and Student Directory!

Similar Threads

  1. Problem with .htaccess?
    By andmunn in forum v5.x
    Replies: 3
    Last Post: 06-05-2006, 10:47 PM
  2. Install error with .htaccess
    By player77 in forum v5.x
    Replies: 7
    Last Post: 03-09-2006, 07:04 PM
  3. 5.0.1 htaccess file
    By persut in forum v5.x
    Replies: 1
    Last Post: 01-10-2006, 07:24 AM
  4. .htaccess question
    By aladdin1 in forum v5.x
    Replies: 7
    Last Post: 03-21-2005, 02:02 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
  •