Dear all,
I have successfully installed the current Bricolage version. I need to integrate it with an existing
Apache 2 instllation, which uses vhosts. I have added a new vhost (below), which has enabled me to
log in to Bricolage. The vhost definition came from setting manual apache config in the bricolage
config file, and copying the vhost created by Bricolage.
I am left a little confused as to how I am expecting content to be served. I know the burner will
write the HTML files and put them on the filesystem, which would imply static serving. But the vhost
specifies a bricolage directory full of code as the document root, which would imply dynamic serving.
Q: What directory should I be using as the Document Root of the Server in the Destination in Bricolage?
Q: How am I expecting Apache to know where to find it?
I have a bunch of other questions, but hopefully knowing the answer to these two should help me work
out the others. Thanks for the help!
vhost definition:
1 PerlModule Bric::App::ApacheConfig
2 <VirtualHost 80.68.91.57:80>
3 DocumentRoot /usr/local/bricolage/comp
4 ServerName www.gibbs-family.org.uk
5 DefaultType "text/html; charset=utf-8"
6 AddDefaultCharset utf-8
7 SetHandler modperl
8 PerlResponseHandler Bric::App::Handler
9 PerlAccessHandler Bric::App::AccessHandler
10 PerlCleanupHandler Bric::App::CleanupHandler
11 PerlOptions +GlobalRequest
12 RedirectMatch permanent .*\/favicon\.ico$
http://www.gibbs-family.org.uk/media/images/bricicon.ico
13 TraceEnable off
14 PerlTransHandler Bric::App::PreviewHandler::uri_handler
15 <Location /logout>
16 PerlAccessHandler Bric::App::AccessHandler::logout_handler
17 PerlCleanupHandler Bric::App::CleanupHandler
18 </Location>
19 <Location /login>
20 SetHandler modperl
21 PerlAccessHandler Bric::App::AccessHandler::okay
22 PerlResponseHandler Bric::App::Handler
23 PerlCleanupHandler Bric::App::CleanupHandler
24 </Location>
25 <Location /media>
26 SetHandler default-handler
27 PerlAccessHandler Apache2::Const::OK
28 PerlCleanupHandler Apache2::Const::OK
29 </Location>
30 <Location /media/js>
31 ForceType "text/javascript; charset=utf-8"
32 </Location>
33 <Location /media/css>
34 ForceType "text/css"
35 </Location>
36 <Location /data>
37 SetHandler default-handler
38 </Location>
39 <Location /soap>
40 SetHandler modperl
41 PerlResponseHandler Bric::SOAP::Handler
42 PerlAccessHandler Apache2::Const::OK
43 </Location>
44 <Location /dist>
45 SetHandler modperl
46 PerlResponseHandler Bric::Dist::Handler
47 </Location>
48 <Location /data/preview>
49 ExpiresActive On
50 ExpiresDefault "now plus 0 seconds"
51 PerlFixupHandler Apache2::Const::OK
52 </Location>
53 ErrorLog /var/log/apache2/gforguk-error.log
54
55 # Possible values include: debug, info, notice, warn, error, crit,
56 # alert, emerg.
57 LogLevel warn
58
59 CustomLog /var/log/apache2/gforguk-access.log combined
60 ServerSignature On
61 </VirtualHost>
--
Regards,
--
Ian Gibbs
ian@flash.org.uk
Mon - Wed: +31 (0) 629 202752
Thu - Sun: +44 (0) 7815 142001
I have successfully installed the current Bricolage version. I need to integrate it with an existing
Apache 2 instllation, which uses vhosts. I have added a new vhost (below), which has enabled me to
log in to Bricolage. The vhost definition came from setting manual apache config in the bricolage
config file, and copying the vhost created by Bricolage.
I am left a little confused as to how I am expecting content to be served. I know the burner will
write the HTML files and put them on the filesystem, which would imply static serving. But the vhost
specifies a bricolage directory full of code as the document root, which would imply dynamic serving.
Q: What directory should I be using as the Document Root of the Server in the Destination in Bricolage?
Q: How am I expecting Apache to know where to find it?
I have a bunch of other questions, but hopefully knowing the answer to these two should help me work
out the others. Thanks for the help!
vhost definition:
1 PerlModule Bric::App::ApacheConfig
2 <VirtualHost 80.68.91.57:80>
3 DocumentRoot /usr/local/bricolage/comp
4 ServerName www.gibbs-family.org.uk
5 DefaultType "text/html; charset=utf-8"
6 AddDefaultCharset utf-8
7 SetHandler modperl
8 PerlResponseHandler Bric::App::Handler
9 PerlAccessHandler Bric::App::AccessHandler
10 PerlCleanupHandler Bric::App::CleanupHandler
11 PerlOptions +GlobalRequest
12 RedirectMatch permanent .*\/favicon\.ico$
http://www.gibbs-family.org.uk/media/images/bricicon.ico
13 TraceEnable off
14 PerlTransHandler Bric::App::PreviewHandler::uri_handler
15 <Location /logout>
16 PerlAccessHandler Bric::App::AccessHandler::logout_handler
17 PerlCleanupHandler Bric::App::CleanupHandler
18 </Location>
19 <Location /login>
20 SetHandler modperl
21 PerlAccessHandler Bric::App::AccessHandler::okay
22 PerlResponseHandler Bric::App::Handler
23 PerlCleanupHandler Bric::App::CleanupHandler
24 </Location>
25 <Location /media>
26 SetHandler default-handler
27 PerlAccessHandler Apache2::Const::OK
28 PerlCleanupHandler Apache2::Const::OK
29 </Location>
30 <Location /media/js>
31 ForceType "text/javascript; charset=utf-8"
32 </Location>
33 <Location /media/css>
34 ForceType "text/css"
35 </Location>
36 <Location /data>
37 SetHandler default-handler
38 </Location>
39 <Location /soap>
40 SetHandler modperl
41 PerlResponseHandler Bric::SOAP::Handler
42 PerlAccessHandler Apache2::Const::OK
43 </Location>
44 <Location /dist>
45 SetHandler modperl
46 PerlResponseHandler Bric::Dist::Handler
47 </Location>
48 <Location /data/preview>
49 ExpiresActive On
50 ExpiresDefault "now plus 0 seconds"
51 PerlFixupHandler Apache2::Const::OK
52 </Location>
53 ErrorLog /var/log/apache2/gforguk-error.log
54
55 # Possible values include: debug, info, notice, warn, error, crit,
56 # alert, emerg.
57 LogLevel warn
58
59 CustomLog /var/log/apache2/gforguk-access.log combined
60 ServerSignature On
61 </VirtualHost>
--
Regards,
--
Ian Gibbs
ian@flash.org.uk
Mon - Wed: +31 (0) 629 202752
Thu - Sun: +44 (0) 7815 142001