|
|
How can I enable mod_rendezvous_apple for Bonjour?
|
|
|
|
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status:
Offline
|
|
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.)
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jul 2004
Status:
Offline
|
|
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...
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: May 2004
Status:
Offline
|
|
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>
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jul 2004
Status:
Offline
|
|
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...
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
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'."
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
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...
|
|
|
|
|
|
|
|
Senior User
Join Date: Jul 2004
Status:
Offline
|
|
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...
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status:
Offline
|
|
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?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
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...
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status:
Offline
|
|
Yes, dropping in a blank index.html and restarting the web server worked.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Nov 2004
Location: Stockholm, Sweden
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jul 2004
Status:
Offline
|
|
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|