Location, Location, Location: Tips for Storing Web Site Files
Subject:   Try this...
Date:   2003-05-19 16:43:46
From:   anonymous2
Response to: Try this...

Okay. One thing was different and that was the document root. Mine still said "/Library/WebServer/Douments" while yours was set to "/Users/patrick/Sites"

I changes this accordingly and followed the permission advice of the other poster. Now my error is a simple File Not Found.

I am attempting to set the document root for the Virtual hosts outside of the root. Do I need to set an alias somewhere or mess with NetInfo?

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Try this...
    2003-05-19 17:12:43  anonymous2 [View]

    Update - couldn't edit previous without joining ;)

    Typos in Virtualhost names. Only exception was directory with "-" was not accepted. When that was removed from hostname all three sites work! Yeah!

    Thanks for the help everyone.
  • Re: Try this...
    2003-05-19 17:06:34  icalshare [View]

    There's no problem with setting the document root for a VirtualHost outside of your default web root. (That's sort of the point of Option 3.)

    That said, if you're getting a 404 error, it's probably a different issue.