Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How can I enable mod_rendezvous_apple for Bonjour?

How can I enable mod_rendezvous_apple for Bonjour?
Thread Tools
CaptainHaddock
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status: Offline
Reply With Quote
Sep 17, 2005, 01:34 PM
 
I've turned on my Mac's web sharing, and I've heard that it includes mod_rendezvous_apple for sharing websites via Bonjour. Does anyone know how to turn that on so that my local web pages will show up in the Rendezvous bookmark bar?
( Last edited by CaptainHaddock; Sep 17, 2005 at 01:40 PM. Reason: Fixed a typo.)
     
jay3ld
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Sep 17, 2005, 05:49 PM
 
you will need to edit your httpd.conf

that is located in ~/etc/http/

here is a link to it if you dont got hidden files showing.
file://~/etc/httpd
right click (contorl+click) and open it in new tab or window to make that work


then you can search for
LoadModule rendezvous_apple_module
and
AddModule mod_rendezvous_apple.c

looking in mine there on by default...
     
leira
Junior Member
Join Date: May 2004
Status: Offline
Reply With Quote
Sep 17, 2005, 06:55 PM
 
httpd.conf is actually in /etc/httpd not ~/etc/httpd

also check out this section in the httpd.conf
Code:
<IfModule mod_rendezvous_apple.c> # Only the pages of users who have edited their # default home pages will be advertised on Rendezvous. RegisterUserSite customized-users #RegisterUserSite all-users # Rendezvous advertising for the primary site is off by default. #RegisterDefaultSite </IfModule>
     
jay3ld
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Sep 17, 2005, 07:14 PM
 
Originally Posted by leira
httpd.conf is actually in /etc/httpd not ~/etc/httpd
yes it is. but ~ stands for your hard drive name... and when it is used that way in a link it will work correctly...
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 17, 2005, 08:09 PM
 
Originally Posted by jay3ld
yes it is. but ~ stands for your hard drive name... and when it is used that way in a link it will work correctly...
What? In what system? Unix convention is that ~ stands for your home folder, while / is the root of your boot drive.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Simon Mundy
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Sep 17, 2005, 08:54 PM
 
Originally Posted by jay3ld
yes it is. but ~ stands for your hard drive name... and when it is used that way in a link it will work correctly...
Where in the hell did you read that?
Computer thez nohhh...
     
jay3ld
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Sep 17, 2005, 10:03 PM
 
well its working right on mine...
~/ has always took me to my hard drive root instead of user root doing /User/~/ would take me to my user root....

maybe my computers messed up i dont know...
     
CaptainHaddock  (op)
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status: Offline
Reply With Quote
Sep 17, 2005, 11:41 PM
 
Thanks. A few more questions:

1. httpd.conf seems to belong to the user "system". How do I edit it without screwing up the permissions?

2. If I edit my default home page, should Bonjour be activated automatically? Do I just drop an index.html into my Sites folder?
     
Simon Mundy
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Sep 18, 2005, 12:17 AM
 
Originally Posted by CaptainHaddock
Thanks. A few more questions:

1. httpd.conf seems to belong to the user "system". How do I edit it without screwing up the permissions?

2. If I edit my default home page, should Bonjour be activated automatically? Do I just drop an index.html into my Sites folder?
What are you using as your text editor? BBEdit (and most probably it's free brother TextWrangler) allow you to open 'hidden' or system files and then authenticate yourself as an administrative user to allow you to modify them. Then all you need do is save and you're done.

It's done just as easily through the terminal:-

% sudo pico /etc/httpd/httpd.conf

(you'll be asked for your administrative password)

Make your changes, then press Control-X to exit and type 'y' to save your changes.

The answer to 2 is... yes! That simple.
Computer thez nohhh...
     
CaptainHaddock  (op)
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status: Offline
Reply With Quote
Sep 18, 2005, 12:56 AM
 
Yes, dropping in a blank index.html and restarting the web server worked.
     
Phil Sherry
Dedicated MacNNer
Join Date: Nov 2004
Location: Stockholm, Sweden
Status: Offline
Reply With Quote
Sep 18, 2005, 04:12 AM
 
Originally Posted by jay3ld
well its working right on mine...
~/ has always took me to my hard drive root instead of user root doing /User/~/ would take me to my user root....

maybe my computers messed up i dont know...
~/ = /User/username

Something ain't quite right on your system, son.
     
jay3ld
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Sep 18, 2005, 02:06 PM
 
yea... i cant even do /Users/~/ anymore...
maybe its because i disabled sites thing on here. so that way i cant go XX.XXX.XXX.XX/~Username
???
oh well...
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:33 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,