1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

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

    #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. macrumors newbie

    #2
    Sorted.
     
  3. macrumors member

    #3
    Please indicate how you fixed it for future reference. Thanks.
     
  4. macrumors newbie

    #4
    Great! How??
     

Share This Page