Re: Use cases question

"Cyb.org" <cyb.org-/U2jX/5RlBxWk0Htik3J/[email protected]> Fri, 9 Jan 2004 00:38:40 +0100
Newsgroups gmane.comp.lang.moto.user
Organization HORISONE
Message-ID <[email protected]>
On Thu, 8 Jan 2004 16:50:01 -0600
"Dan Muey" <dmuey-Gv/[email protected]> wrote:
> > >  If I want to compile one or more .moto files I can folow the 
> > > instructions at http://projectmoto.org/usecases.moto
> > > My questions are:
> > > On number 1 it says:
> > > Take the compiled website (mod_sitename.so) and install it in the 
> > > libexec directory of your apache installation. Restart apache...
> > > 2) So if I move the .so file to the proper directory it will just 
> > > work, withotu modifying httpd.conf ??
> > You have to enable Moto in httpd.con of course. :)
> So if apache is enabled to interpret .moto files like in question one.
> All I have to do Is use mmc to create the .so file, put it in the same
> directory as the main mod_moto.so file and viola it's done, with out
> adding that .so to httpd.conf? That'd be cool if it were the case.

If you have compiled your own moto.so you don't need mod_moto.so for
using your site. But of course you have to enable your module in
httpd.conf for working. Just like any other mod.

> So then how do you get it to show up in your browser?
> How does http://www.im_a_moto_dot_so_file_site.com/
> Endup using the .so file?
> Is there atutorial on projectmotot.org, I looked and didn't see any.

You have to touch index.moto in directory where you have
your_own_moto.so enabled (for example /home/dmuey/www.dmuey.com/) and
add index.moto to DirectoryIndex in httpd.conf. Should be enough.

-- 
Regards,
Cyb.org