Article:
  Location, Location, Location: Tips for Storing Web Site Files
Subject:   Name-based virtualhosting made easy
Date:   2003-11-15 13:18:54
From:   anonymous2
Response to: Name-based virtualhosting made easy

i spent days messing with "httpd.conf" and "hosts" trying to get virtualhosts to work. i read this article, the apache manual and other tutorials. everyone recommended different stuff; nothing worked.


patrick's solution to use netinfo manager and save other directives in "/etc/httpd/virtualhosts/" is simple and elegant. using his shell script makes it even easier.


check out his site.


thanks, patrick.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Name-based virtualhosting made easy
    2004-02-17 21:27:14  rmcgonegal [View]

    Actually I found using BBEdit to be much easier. I've used it thousands of times whereas I've only used Netinfo Manager twice.

    In BBEdit you use the "open hidden files" command. That makes all of the files visible in the open dialogue box. Set it to columns view and it is easy to navigate to /etc/httpd. And when you go to save changes on a file such as httpd.conf, BBEdit is smart enough to temporaily elevate your rights to sudo level by asking for the password.

    In my documents folder, I made a backup copy of httpd.conf and hosts. Then I created aliases to the originals.