.htaccess not working?

Discussion in 'Apache' started by gcspublish, Jan 11, 2008.

  1. #1
    Hello I am trying to get .htaccess working on a suse server with apache

    i followed a tutorial and made a .htaccess file with the following in a temp directory:

    RewriteEngine on
    RewriteRule ^alice.html$ bob.html

    next i made the two html files and put different things in each of them to differentiate them.

    they are also in the temp directory.

    in the httpd.conf file i have and mod_rewrite is enabled:

    Options FollowSymLinks
    AllowOverride Options FileInfo


    Is there something that I am missing to get .htaccess working? Any help is much appreciated.
     
    gcspublish, Jan 11, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Check that in the httpd.conf file, there is no "AllowOverride None" anywhere in there. If it isn't try changing "AllowOverride Options FileInfo" to "AllowOverride All" just for now to get it working (hopefully).

    Jay
     
    jayshah, Jan 14, 2008 IP