Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2013
    Posts
    141

    .htaccess File Not working

    Hi All,

    Quick question.. On a basic httpd web server the .htaccess files are not working.

    in httpd.conf i have the following:

    AccessFileName .htaccess

    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    #
    # First, we configure the "default" to be a very restrictive set of
    # features.
    #
    <Directory />
    Options FollowSymLinks
    AllowOverride None <<<<
    </Directory>

    and..

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    There are various other AllowOverride directives but for cgi-bin / icons etc..

    I have server httpd restart after each change i made..

    The site also runs on SSL and is configured in ssl.conf with:

    <Directory /var/www/vhosts/www.domain.com/public_html>
    AllowOverride All
    </Directory>

    What have i missed?

    Thanks

  2. #2
    Join Date
    Jun 2013
    Posts
    141
    Ah never mind was the first directive:

    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    #
    # First, we configure the "default" to be a very restrictive set of
    # features.
    #
    <Directory />
    Options FollowSymLinks
    AllowOverride All <<<<
    </Directory>

Similar Threads

  1. Replies: 9
    Last Post: 11-22-2011, 01:25 PM
  2. PHP 4 and PHP 5.2 not working together - .htaccess file
    By acctman in forum Programming Discussion
    Replies: 5
    Last Post: 07-24-2011, 10:48 PM
  3. htaccess file not working
    By badhat in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-11-2006, 12:27 AM
  4. Why php.ini not working and htaccess is working for php globals?
    By 19leo19 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 01-08-2006, 08:46 AM
  5. PHP stops working after creating .htaccess file
    By Maqueo in forum Hosting Security and Technology
    Replies: 1
    Last Post: 08-14-2004, 09:44 PM

Tags for this Thread

Posting Permissions

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