Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   changing document root
Date:   2002-01-28 08:57:15
From:   louabill
I thought I'd try to follow the instructions, but change the document root to my Site folder. I went through the httpd.conf file, changing both occurrances of /Library/WebServer/Documents to /Volumes/etc. etc. After doing this, Apache wouldn't start.


Is this a really poor idea, or should I take some effort to figure out the solution.


Bill

Full Threads Newest First

Showing messages 1 through 2 of 2.

  • Morbus Iff photo changing document root
    2002-01-28 08:59:59  Morbus Iff | O'Reilly Author [View]

    Your Site folder is in /Volumes? To find out what error message Apache is giving you, go to your Terminal, and type:

    httpd -t

    This will test your configuration file for any problems that could stop Apache from stopping. If there are any, it should spit out why. If you don't understand what it spits out, copy it into here, and I'll help you out.
    • changing document root
      2004-10-12 20:01:31  diad [View]

      great yes I did that .. but don't understand it.

      '{\rtf1\mac\ansicpg10000\cocoartf102', perhaps mis-spelled or defined by a module not included in the server configuration

      (I have a question above from today about moving my httpd.config file to desktop and then back again and have apache not working now)

      thanks