Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   /etc/httpd/httpd.conf "dosn't relate to your example - please help!"
Date:   2001-12-20 10:12:27
From:   morbus
Response to: /etc/httpd/httpd.conf "dosn't relate to your example - please help!"

Hey Bob, how ya doing?


That's the *only* thing you see in your /etc/httpd/httpd.conf file? That's really odd. I've never run across that anywhere.


Could you do this for me? Open up a Terminal, type "cd /etc/httpd" and hit enter. Then type "ls -l" and tell me (or paste) what you see? Thanks.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • /etc/httpd/httpd.conf "dosn't relate to your example - please help!"
    2001-12-20 10:24:42  bob30 [View]

    Here's the output... many thanks...


    httpd.conf
    httpd.conf.bak
    httpd.conf.default
    magic
    magic.default
    mime.types
    mime.types.default
    users


    I hope this helps?

    bob
    • Morbus Iff photo /etc/httpd/httpd.conf "dosn't relate to your example - please help!"
      2001-12-20 14:05:00  Morbus Iff | O'Reilly Author [View]

      Ah. I'm going out on a limb here, but you should see that the httpd.conf.default file is much larger in size than your current httpd.conf. If this is the case, take a look around for some of the lines that I describe in my article.

      If you see then, then you may want to replace your current httpd.conf file with the default one. Only you can make that decision, of course.

      To do so, make a backup of your current httpd.conf file:

      cd /etc/httpd/
      cp httpd.conf httpd.2001-12-20

      And then replace it with the default:

      cp httpd.conf.default httpd.conf

      From there, try restarting the Apache webserver, and see what happens.
      • /etc/httpd/httpd.conf "dosn't relate to your example - please help!"
        2001-12-21 01:34:11  bob30 [View]

        Thanks for the suggestion... the file, sadly, is rather similar to the original config file. Here it is...

        #
        #<VirtualHost *>
        # ServerAdmin webmaster@dummy-host.example.com
        # DocumentRoot /www/docs/dummy-host.example.com
        # ServerName dummy-host.example.com
        # ErrorLog logs/dummy-host.example.com-error_log
        # CustomLog logs/dummy-host.example.com-access_log common
        #</VirtualHost>

        Include /private/etc/httpd/users


        What do you think? I'm off to check a friends machine who is running OS X to see what the file should like like.

        Many thanks,

        bob