3 Replies Latest reply: Apr 18, 2011 12:51 PM by dannyjm
martyllian Level 1 Level 1 (0 points)
I cannot find this directory, nor the files that are supposed to be in this directory, it is missing under apache2. I need to be able to edit/create httpd-vhosts.conf

It is not hidden. I am at my wits end here. Do I need to install or copy this from another server? Both Mac Mini servers I have access to are missing this directory.

Thank you in advance

Mac mini 2010, Mac OS X (10.6.3), Mac Mini server
  • 1. Re: private/etc/apache2/extra directory is missing
    dannyjm Level 1 Level 1 (0 points)

    I am experiencing on brand new Mac Mini OS X Server (10.6.7),  I reinstalled Mac OS X Snow Leopard Server from include DVDs and went through the Software Update process.

     

    I have Apache2 up and running, but there is no /private/etc/apache2/extra folder.

     

    I need to configure Apache2 for SSL and following all web instructions are halted with this. 

     

    I am using

     

    apachectl -version

    Server version: Apache/2.2.17 (Unix)

    Server built:   Dec  1 2010 09:58:15

     

    Here are my directory contents:

     

    eis:apache2 admin$ ls -l

    total 208

    -r--r--r--  1 root  wheel  10594 Dec 17  2009 ReadMe.txt

    -rwx------  1 root  admin  71696 Dec  1 13:05 getsslpassphrase

    -rw-r--r--  1 root  wheel  55183 Apr 18 11:46 httpd.conf

    -r--r--r--  1 root  wheel  60422 Dec 17  2009 httpd.conf.default

    -rw-r--r--  1 root  wheel    505 Mar 14  2010 httpd_directory.conf

    -rw-r--r--  1 root  wheel   2052 Dec  2  2009 httpd_emailrules_required.conf

    -rw-r--r--  1 root  wheel   1250 Mar 14  2010 httpd_groups.conf

    -rw-r--r--  1 root  wheel    486 Dec 17  2009 httpd_mailman.conf

    -r--r--r--  1 root  wheel    486 Dec 17  2009 httpd_mailman.conf.default

    -rw-r--r--  1 root  wheel    386 Mar 10  2010 httpd_podcastproducer_availability.conf

    -rw-r--r--  1 root  wheel   2003 Jun 25  2010 httpd_pwdchange_required.conf

    -rw-r--r--  1 root  wheel    576 Jan 26  2010 httpd_squirrelmail.conf

    -rw-r--r--  1 root  wheel    576 Jan 26  2010 httpd_squirrelmail_default.conf

    -rw-r--r--  1 root  wheel   4923 Mar 14  2010 httpd_teams_required.conf

    -rw-r--r--  1 root  wheel   1170 Mar 14  2010 httpd_users.conf

    -rw-r--r--  1 root  wheel    660 Mar 14  2010 httpd_webcalendar.conf

    -rw-r--r--  1 root  wheel  12958 Dec  9  2009 magic

    drwxr-xr-x  3 root  wheel    102 Dec  1 13:00 original

    drwxr-xr-x  2 root  wheel     68 Apr 13 16:50 proxy_sites

    drwxr-xr-x  2 root  wheel     68 Apr 13 16:50 proxy_sites_disabled

    -rw-------  1 root  wheel   1183 Apr 14 12:56 servermgr_web_apache2_config.plist

    -r--------  1 root  wheel    673 Dec 17  2009 servermgr_web_apache2_config.plist.default

    drwxr-xr-x  6 root  wheel    204 Apr 14 12:56 sites

    drwxr-xr-x  4 root  wheel    136 Apr 14 12:56 sites_disabled

    drwx------  2 root  wheel     68 Dec 17  2009 ssl.crt

    drwx------  2 root  wheel     68 Dec 17  2009 ssl.key

    drwxr-xr-x  2 root  wheel     68 Dec  9  2009 users

    -rw-r--r--  1 root  wheel   1639 Dec 17  2009 workers.properties

    -rw-r--r--  1 root  wheel   1639 Dec 17  2009 workers.properties.default

     

    Any help would be appreciated.  I will update if I figure this out

  • 2. Re: private/etc/apache2/extra directory is missing
    UptimeJeff Level 4 Level 4 (3,390 points)

    This directory doesn't exist in OS X Server 10.6.x

    It does exist on OS X (non-server), perhaps you are reading instructions for non-server version of OS X.

     

    Hope that helps.

  • 3. Re: private/etc/apache2/extra directory is missing
    dannyjm Level 1 Level 1 (0 points)

    Yeah.  I have an installation for 10.6.2 (non-server) and the "extra" directory is there.... you are right, just not on the 10.6 Server "edition".

     

    I was just about to re-install from DVD again.  Thanks for saving me. 

     

    From other posts I see now.. I read I should be using Server Admin to setup SSL for web services.  Hopefully I will figure it out and able to update all my documentation to reflect the procedures.