Results 1 to 2 of 2

Thread: Apache2 working on localhost forbidden or impossible to use .htaccess

  1. #1

    Default Apache2 working on localhost forbidden or impossible to use .htaccess

    Hello,

    I have specified an Alias in the default-server.conf that points to the site located in the user folder Web/Site while Apache is in the root

    If I set the directive
    Code:
    AllowOverride None
    I can see the localhost but I can't use the .htaccess which needs
    Code:
    AllowOverride All
    that gives me forbidden error 403 on the page.

    How do I set permission?

    Opensuse12.2 , Apache 2.2

    Thanks for help

  2. #2

    Default Re: Apache2 working on localhost forbidden or impossible to use .htaccess

    Quote Originally Posted by GabrieleMartino View Post
    Hello,

    I have specified an Alias in the default-server.conf that points to the site located in the user folder Web/Site while Apache is in the root

    If I set the directive
    Code:
    AllowOverride None
    I can see the localhost but I can't use the .htaccess which needs
    Code:
    AllowOverride All
    that gives me forbidden error 403 on the page.

    How do I set permission?

    Opensuse12.2 , Apache 2.2

    Thanks for help
    Ok I get it work just adding the line
    Code:
    Options +Indexes +FollowSymLinks +ExecCGI
    in the directory of the Alias

Posting Permissions

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