Women in Technology

Hear us Roar



Article:
  Location, Location, Location: Tips for Storing Web Site Files
Subject:   Try this...
Date:   2003-05-19 14:00:48
From:   icalshare
Response to: Same problem with me!

Hmmm... not sure what's causing that.


It may help to look at the complete Apache config file I used for this article. (This conf comes straight from my main dev machine -- and it's working fine.)


http://iCalShare.com/sample.conf


Best,
Patrick

Full Threads Newest First

Showing messages 1 through 3 of 3.

  • Try this...
    2003-05-19 16:43:46  anonymous2 [View]

    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?
    • 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.

      Best,
      Patrick
    • 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.