SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation htaccess not working on apache 2.2.21

    I have uploaded a website to a hostgator hosting server. It has instaled apache 2.2.21. I tested htaccess there by creating a simple htaccess code. But It's not working Please help
    This is my testing folder on the server

    http://50.116.99.27/~kmalith/testkm/

    And here my simple basic htaccess code

    Options +FollowSymLinks
    RewriteEngine On
    RewriteRule ^dark-xy$ 345345333335.html

    Any ideas?
    Thanks

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,679
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    kason,

    If you've looked in my signature's tutorial Article, you'll find the changes required to the httpd.conf (Apache2.conf on 'nix boxes) to enable mod_rewrite.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •