Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Using Apple's mod_rendezvous Apache module Internet

Mac OS X 10.2.4 includes a new Apache module called mod_rendezvous_apple. When you install the 10.2.4 update, it will replace your Apache configuration (in /etc/httpd/httpd.conf) with a new file which includes lines to load and enable the new module. Note: If you want to get at your previous configuration, it's saved in /etc/httpd/httpd.conf.applesaved.

One of the cool things about Apple's mod_rendezvous_apple is that it can register individual user's sites with Rendezvous. It's somewhat annoying, however, if you have a large number of users, as this results in a very long "Rendezvous" entry in your Safari bookmarks.

It's easy to turn this off, though. Edit the /etc/httpd/httpd.conf file (you'll need root permissions for this) and find the following lines: (they are near the end of the file)

<IfModule mod_rendezvous_apple.c>
RegisterUserSite all-users
RegisterDefaultSite
</IfModule>
Either replace "all-users" with the names of the users whose sites you want to be registered with Rendezvous, or just remove the line (or comment it out by putting # at the beginning of the line) if you don't want any user sites to be registered.

    •    
  • Currently 1.60 / 5
  You rated: 1 / 5 (5 votes cast)
 
[9,098 views]  

Using Apple's mod_rendezvous Apache module | 9 comments | Create New Account
Click here to return to the 'Using Apple's mod_rendezvous Apache module' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Using Apple's mod_rendezvous Apache module
Authored by: rwynne on Feb 18, '03 11:18:23AM

You can also register other Resources with the following

RegisterResource DisplayName Path

For instance my blosxom based blog is normally accessed with http://localhost/weblog. By using the following line.

RegisterResource MyBlog weblog

After restarting apache, MyBlog is in the list of Rendezvous sites. I believe this parameter can also be assigned a port number other that 80, but I'm not sure.



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: rkt on Feb 18, '03 01:19:43PM

the three options are:

RegisterDefaultSite ["main" | port]
RegisterUserSite ["all-users" | username] ["main" | port]
RegisterResource [name] ["main" | port]

(port defaults to 80 if not specified)



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: sfn on Feb 18, '03 10:22:32PM

It seems the order of the statements is important.

This works:
<IfModule mod_rendezvous_apple.c>
RegisterDefaultSite
RegisterUserSite short_name
</IfModule>

This does not!

<IfModule mod_rendezvous_apple.c>
RegisterUserSite short_name
RegisterDefaultSite
</IfModule>

Note: the default order in httpd.conf is the latter.



---
sincerely,
Steve Newlands



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: fooljay on Feb 18, '03 12:28:52PM

Actually, you just need to comment out the LoadModule and AddModule lines. The line handles the rest nicely.

Just like with every other Apache Module.



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: fooljay on Feb 18, '03 12:30:24PM

Sorry, that was meant for the other thread. I don't know how it got transported into here...



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: MtnBiker on Feb 18, '03 12:58:31PM

What does this mean: "register individual user's sites with Rendezvous"?

Isn't Rendezvous for local networks?

---
Hermosa Beach, CA USA



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: tychay on Feb 21, '03 06:07:30AM

They mean the "Sites" directory of various users. In this case, http://computer.local./~username
for every username in your computer gets registered automatically in 10.2.4.

That's because of the directive
RegisterUserSite all-users

You can change that to
RegisterUserSite username
to regiser only a particuler user's /Users/username/Sites/ directory with other computers via Rendezvous.

To see this in action (assuming you have a machine with 10.2.4 on your Rendezvous network and it is running Sharing->Web on), just open Safari and add the Rendezvous menu in preferences to your bookmarks bar. Click on it twice, the second time will show the sites "registered".

It's a pitty I can Registere the default site and user sites and user sites as resources, but the only way to register virtual hosts is to put them either in a /Users/username/Sites or in the path of the default site (/Library/Webserver/Documents) *sigh*

---
<a href="http://www.mycasanetwork.com/">MyCasa Network, Inc</a>
<a href="http://www.spinodal.com/">Spinodal Systems, LLC</a>



[ Reply to This | # ]
Virtual Hosts? Docs?
Authored by: joemaller on Feb 18, '03 10:02:02PM

Anyone have any luck bridging Virtual Host directives over to Rendezvous? I've got a half-dozen sites serving locally using virtual host names. These use root links, PHP and MySQL, so they need a server-ish path. Would be great if that info could be broadcast.

Also, I don't even know where to look for documentation on this. Nothing comes up on Apple's site for mod_rendezvous_apple and there's very little on Google so far.



[ Reply to This | # ]
Using Apple's mod_rendezvous Apache module
Authored by: mikeall on May 13, '03 09:59:16PM

I have been able to turn off some of my users who don't have active sites:

<IfModule mod_rendezvous_apple.c>
RegisterDefaultSite
RegisterUserSite me
RegisterUserSite someoneelse
RegisterUserSite anotheruser
</IfModule>

It is important that the user go after the DefaultSite.

---
--
Mike
http://allbutt.homeip.net/
(You will see a page with contact details if I am online)



[ Reply to This | # ]