Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

[Bricolage-General] Re:freebsd

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


jamesdu70 at hotmail

Feb 25, 2002, 5:33 AM

Post #1 of 4 (2039 views)
Permalink
[Bricolage-General] Re:freebsd

Hello;

This is a dumb question but say I goto 127.0.0.1 and login to bricolage, I
can
create template, stories, links, etc I can then publish and goto the addr
127.0.0.1/mycontent? i've read all documentation and just want to make sure
that
i can still serve off the "localhost".

And also dynamic content it's possible in bricolage to script ie.;(php)and
use sql to publish along with the static inside the static?

for a search engine(form mail) it would be fairly easy to include the form
data in a page?

Thank you

>From: bricolage-general-request [at] lists
>Reply-To: bricolage-general [at] lists
>To: bricolage-general [at] lists
>Subject: Bricolage-General digest, Vol 1 #27 - 2 msgs
>Date: Fri, 22 Feb 2002 12:30:06 -0800
>
>Send Bricolage-General mailing list submissions to
> bricolage-general [at] lists
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/bricolage-general
>or, via email, send a message with subject or body 'help' to
> bricolage-general-request [at] lists
>
>You can reach the person managing the list at
> bricolage-general-admin [at] lists
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Bricolage-General digest..."
>
>
>Today's Topics:
>
> 1. freebsd (james dunkley)
> 2. Re: freebsd (David Wheeler)
>
>--__--__--
>
>Message: 1
>From: "james dunkley" <jamesdu70 [at] hotmail>
>To: bricolage-general [at] lists
>Date: Fri, 22 Feb 2002 03:00:39 -0500
>Subject: [Bricolage-General] freebsd
>
>
>
>Hello,
>
>I am using freebsd and would like to also use bricolage.
>I was wondering if anyone has built bricolage on fbsd
>
>I have been trying 1.2.0, and I get stumped when ./bric_apachectl start
>:will say modules not loaded.(RedirectMatch being the first, when the
>apache
>modules are there.(mod_alias)
>
>I tried 1.3.0 ./configure and it will tell me that mod_perl is not
>installed when it is
>
>So basically I am just having problems locating modules
>
>also I seen something saying about using a handler.pl for include in
>httpd.conf
>I would like to use that way.
>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>
>
>--__--__--
>
>Message: 2
>Subject: Re: [Bricolage-General] freebsd
>From: David Wheeler <david [at] kineticode>
>To: james dunkley <jamesdu70 [at] hotmail>
>Cc: Bricolage General <bricolage-general [at] lists>
>Date: 22 Feb 2002 08:57:02 -0800
>
>On Fri, 2002-02-22 at 00:00, james dunkley wrote:
>
> > Hello,
>
>Hi James.
>
> > I am using freebsd and would like to also use bricolage.
> > I was wondering if anyone has built bricolage on fbsd
>
>Not that I know of, but I would be shocked if it didn't run on Free BSD.
>
> > I have been trying 1.2.0, and I get stumped when ./bric_apachectl start
> > :will say modules not loaded.(RedirectMatch being the first, when the
>apache
> > modules are there.(mod_alias)
>
>It sounds like your Apache might have been compiled without those
>modules. Try recompiling Apache according to the instructions in INSTALL
>(aka Bric::Admin).
>
> > I tried 1.3.0 ./configure and it will tell me that mod_perl is not
> > installed when it is
>
>Mark should probably respond to this. However, if you're loading
>mod_perl as a DSO, it definitely won't work. There are serious problems
>with the mod_perl DSO.
>
> > So basically I am just having problems locating modules
> >
> > also I seen something saying about using a handler.pl for include in
> > httpd.conf
> > I would like to use that way.
>
>Well, Bric::App::ApacheConf (in 1.3.x and the soon-to-be released 1.2.1)
>handles this for you. Bricolage's equivalent to the Mason handler.pl is
>Bric::App::Handler. However, if you wanted to script the install, you
>could just invoke a script with the singe line 'use
>Bric::App::ApacheConf;'.
>
>HTH,
>
>David
>
>--
>David Wheeler AIM: dwTheory
>david [at] kineticode ICQ: 15726394
> Yahoo!: dew7e
> Jabber: Theory [at] jabber
>Kineticode. Setting knowledge in motion.(sm)
>
>
>
>
>--__--__--
>
>_______________________________________________
>Bricolage-General mailing list
>Bricolage-General [at] lists
>https://lists.sourceforge.net/lists/listinfo/bricolage-general
>
>
>End of Bricolage-General Digest




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________
Bricolage-General mailing list
Bricolage-General [at] lists
https://lists.sourceforge.net/lists/listinfo/bricolage-general


david at kineticode

Feb 25, 2002, 10:37 AM

Post #2 of 4 (1605 views)
Permalink
Re: [Bricolage-General] Re:freebsd [In reply to]

On Mon, 2002-02-25 at 05:33, james dunkley wrote:
> Hello;
>
> This is a dumb question

I had an archaeology professor in college who always said there's no
such thing as a dumb question. OTOH, he would then tell us that he once
got the question, "how many stones are there in a monolith?"

> but say I goto 127.0.0.1 and login to bricolage, I
> can
> create template, stories, links, etc I can then publish and goto the addr
> 127.0.0.1/mycontent? i've read all documentation and just want to make sure
> that
> i can still serve off the "localhost".

I'm not sure I understand your question. If you have Bricolage doing
previews for you (rather than an independent preview server), then this
is essentially what you get when you preview. If what you mean is can
Bricolage publish your content to /mycontent and then server it from
there, the answer is no.

However, you can achieve a similar result by running Bricolage on a
virtual host, and when you publish, Bricolage can simply distribute the
files to the document root for another virtual host (or even the default
host) on the same server. If what you want, however, is for Bricolage to
publish your stuff and then redirect you, this it cannot do -- and won't
do, since some publishes may be scheduled to occur later and therefore
there would be nothing yet to redirect to.

> And also dynamic content it's possible in bricolage to script ie.;(php)and
> use sql to publish along with the static inside the static?

Absolutely. The HTML::Mason and HTML::Template templating architectures
are flexible enough that anything you can output from a Perl script you
can output from a template. So if you wanted to use Bricolage's Mason
templating to create PHP files, you could easily do that. See the Mason
and HTML::Template documentation for more details.

http://www.masonhq.com/

> for a search engine(form mail) it would be fairly easy to include the form
> data in a page?

Yes. Just output the form data in the Bricolage template exactly as you
would output it elsewhere:

<html>
<head>
<title><% $story->title %></title>
</head>

<body>
<h1><% $story->title %></h1>
<p><% $story->description %></p>
<h2>Email this story to a friend!</h2>

<form method="post" action="uri/path/to/email.pl">
<p>Email Address: <input type="text"></p>
<p><input type="submit" value="Submit">
</form>

</body>
</html>

This is untested, but should give you an idea of how Bricolage's
Mason-based templates work.

HTH,

David

--
David Wheeler AIM: dwTheory
david [at] kineticode ICQ: 15726394
Yahoo!: dew7e
Jabber: Theory [at] jabber
Kineticode. Setting knowledge in motion.(sm)


_______________________________________________
Bricolage-General mailing list
Bricolage-General [at] lists
https://lists.sourceforge.net/lists/listinfo/bricolage-general


jamesdu70 at hotmail

Feb 25, 2002, 11:24 AM

Post #3 of 4 (1607 views)
Permalink
Re: [Bricolage-General] Re:freebsd [In reply to]

yes I just want work off of localhost no network and wanted to amke sure I
can serve as well

vhost sounds good

just want understand this system
it's nice and tight, fast

basically bricolage can do anything

sorry for spamming first time dealing on a maillist


>From: David Wheeler <david [at] kineticode>
>To: james dunkley <jamesdu70 [at] hotmail>
>CC: Bricolage General <bricolage-general [at] lists>
>Subject: Re: [Bricolage-General] Re:freebsd
>Date: 25 Feb 2002 10:37:57 -0800
>
>On Mon, 2002-02-25 at 05:33, james dunkley wrote:
> > Hello;
> >
> > This is a dumb question
>
>I had an archaeology professor in college who always said there's no
>such thing as a dumb question. OTOH, he would then tell us that he once
>got the question, "how many stones are there in a monolith?"
>
> > but say I goto 127.0.0.1 and login to bricolage, I
> > can
> > create template, stories, links, etc I can then publish and goto the
>addr
> > 127.0.0.1/mycontent? i've read all documentation and just want to make
>sure
> > that
> > i can still serve off the "localhost".
>
>I'm not sure I understand your question. If you have Bricolage doing
>previews for you (rather than an independent preview server), then this
>is essentially what you get when you preview. If what you mean is can
>Bricolage publish your content to /mycontent and then server it from
>there, the answer is no.
>
>However, you can achieve a similar result by running Bricolage on a
>virtual host, and when you publish, Bricolage can simply distribute the
>files to the document root for another virtual host (or even the default
>host) on the same server. If what you want, however, is for Bricolage to
>publish your stuff and then redirect you, this it cannot do -- and won't
>do, since some publishes may be scheduled to occur later and therefore
>there would be nothing yet to redirect to.
>
> > And also dynamic content it's possible in bricolage to script
>ie.;(php)and
> > use sql to publish along with the static inside the static?
>
>Absolutely. The HTML::Mason and HTML::Template templating architectures
>are flexible enough that anything you can output from a Perl script you
>can output from a template. So if you wanted to use Bricolage's Mason
>templating to create PHP files, you could easily do that. See the Mason
>and HTML::Template documentation for more details.
>
> http://www.masonhq.com/
>
> > for a search engine(form mail) it would be fairly easy to include the
>form
> > data in a page?
>
>Yes. Just output the form data in the Bricolage template exactly as you
>would output it elsewhere:
>
><html>
><head>
><title><% $story->title %></title>
></head>
>
><body>
><h1><% $story->title %></h1>
><p><% $story->description %></p>
><h2>Email this story to a friend!</h2>
>
><form method="post" action="uri/path/to/email.pl">
><p>Email Address: <input type="text"></p>
><p><input type="submit" value="Submit">
></form>
>
></body>
></html>
>
>This is untested, but should give you an idea of how Bricolage's
>Mason-based templates work.
>
>HTH,
>
>David
>
>--
>David Wheeler AIM: dwTheory
>david [at] kineticode ICQ: 15726394
> Yahoo!: dew7e
> Jabber: Theory [at] jabber
>Kineticode. Setting knowledge in motion.(sm)
>






_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com


_______________________________________________
Bricolage-General mailing list
Bricolage-General [at] lists
https://lists.sourceforge.net/lists/listinfo/bricolage-general


david at kineticode

Feb 25, 2002, 11:30 AM

Post #4 of 4 (1606 views)
Permalink
Re: [Bricolage-General] Re:freebsd [In reply to]

On Mon, 2002-02-25 at 11:24, james dunkley wrote:
> yes I just want work off of localhost no network and wanted to amke sure I
> can serve as well
>
> vhost sounds good

Absolutely. Be sure to use the Release_1_2 branch from CVS -- or wait
for the 1.2.1 release in the next 24 hours. It makes vhost configuration
much simpler.

> just want understand this system
> it's nice and tight, fast

Glad you like it!

> basically bricolage can do anything

Not quite, but we're working on it!

> sorry for spamming first time dealing on a maillist

What spam?

David

--
David Wheeler AIM: dwTheory
david [at] kineticode ICQ: 15726394
Yahoo!: dew7e
Jabber: Theory [at] jabber
Kineticode. Setting knowledge in motion.(sm)


_______________________________________________
Bricolage-General mailing list
Bricolage-General [at] lists
https://lists.sourceforge.net/lists/listinfo/bricolage-general

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.