consiglieri_swe

Q: Problems understanding apache config on Mountain lion

Hi

 

I have installed a site on

/Library/WebServer/Mysite/myfolder

 

I have configured a virtual host for that in /etc/apache2/extra/httpd-vhost.conf

 

and have uncommented the vhost directive in /etc/apache2/httpd.conf

 

However I am unable to get any further than a "Directory index forbidden by Options directive" error in my logs.

As far as I can tell my options directives are correct. They are

 

Order allow,deny

Allow from all

 

I have also tried with Options Indexes Multiviews

 

The permissions on the relevant directory is owner=user and group=_www

 

I have the server.app installed. and am running 10.8.3 (on a macmini server).

This machine is not accessible from the internet, it is only used locally.

 

I'm at a loss as to what is causing this? As an info it's a django application thats installed by a professional. But he has not been able to understand why the macmini will not allow me to access the site.

 

Any and all help would be appreciated.

Mac mini, OS X Server

Posted on May 2, 2013 6:53 AM

Close

Q: Problems understanding apache config on Mountain lion

  • All replies
  • Helpful answers

  • by consiglieri_swe,Solvedanswer

    consiglieri_swe consiglieri_swe May 2, 2013 8:04 AM in response to consiglieri_swe
    Level 1 (10 points)
    May 2, 2013 8:04 AM in response to consiglieri_swe

    Hi

    I solved it. The issue was that I have server.app installed and did not realize that I must use

     

    /Library/Server/Web/Config/apache2/httpd_server_app.conf

     

    instead of

     

    /etc/apache2/httpd.conf

     

    once I made those changes everything worked as it should.