Enabling .htaccess for localhost

Discussion in 'OS X Mountain Lion (10.8)' started by octane, Sep 22, 2012.

  1. octane, Sep 22, 2012
    Last edited: Sep 22, 2012

    macrumors newbie

    Joined:
    Sep 20, 2012
    Location:
    England
    #1
    Hi guys, I'm trying to enable .htaccess for localhost.

    I've made edits to several .conf files (restarting Apache each time), even creating one for my username in /private/etc/apache2/users, which reads:

    DocumentRoot "/Library/WebServer/Documents"

    <Directory "/Library/WebServer/Documents/">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    But nothing works.

    Any ideas where else I might need to make the edit?

    I don't want to work through the Sites folder, if possible.
     
  2. thread starter macrumors newbie

    Joined:
    Sep 20, 2012
    Location:
    England
    #2
    Sorted.
     
  3. macrumors member

    Joined:
    Jul 17, 2003
    #3
    Please indicate how you fixed it for future reference. Thanks.
     
  4. macrumors newbie

    Joined:
    Jan 2, 2013
    Location:
    Europe
    #4
    Great! How??
     

Share This Page