Article:
  Location, Location, Location: Tips for Storing Web Site Files
Subject:   add rendezvous names
Date:   2003-05-20 17:18:56
From:   maarky
Response to: add rendezvous names

This isn't working for me. I get the link in my Safari rendezvous menu, but I then get a not found error that says:


The requested URL /path/to/virtualdomain's/DocumentRoot was not found on this server.


I made sure that the path in RegisterResource matches the virtualhost's DocumentRoot. It basically ads that path to the rendezvous url so I get:


http://my-computer.local./path/to/DocumentRoot


I tried adding a "/" at the end but that did nothing.


What it looks like it's doing is looking for /Library/WebServer/Documents/path/to/document/root which does not work since the path to document root is located at /path/to/document/root, not inside your /Library/WebServer/Documents directory. But if you actually got this to work I would love some additional info.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • add rendezvous names
    2003-05-22 19:12:11  maarky [View]

    I got a workaround. Look at this article:

    http://www.macdevcenter.com/pub/a/mac/2003/04/08/mod_rendezvous.html

    and read my comment:

    http://www.oreillynet.com/cs/user/view/cs_msg/19109

    I do something slightly different on my computer than what is in my comment above. Since I am never connected to a rendezvous network I can skip a lot of the steps in that article. I just want my sites to show up in the rendezvous list in my browser because I think it's neat. So if you're like me you can follow the steps in this "Location, Location, Location..." article (without having to do everything in the above article). If you follow the link above to read my comment simply make these changes to what I say there:

    I use this in my httpd.conf rendezvous directive:

    RegisterResource "PHP Docs" "/virtualRedirect.php?domain=php.mac"
    (adapt this for your own virtual domains)

    And I create a file in the specified location with this php code:

    <?php
    header('Location: http://'.$_GET['domain']);
    ?>

    Give it a try. It works for me.