Hi,
I've been trying to install Bricolage 1.4.5 in a RedHat 7.0 box with apache
using mod_vhost_alias. This module allows the creation of dynamically
configured virtual hosts (http://httpd.apache.org/docs/mod/mod_vhost_alias.html)
So, I made the following simlink:
/var/www/<domain>/jornal/html -> /usr/local/bricolage/comp
Bricolage will run in http://jornal.<domain>/
Then, I've added a .htaccess file to /usr/local/bricolage/comp containing:
>PerlAccessHandler Bric::App::AccessHandler
>PerlHandler Bric::App::Handler
>RedirectMatch permanent .*\/favicon\.ico$ /media/images/favicon.ico
>PerlCleanupHandler Bric::App::CleanupHandler
>SetHandler perl-script
And the following lines to the end of httpd.conf:
# Bricolage Definition
<IfModule mod_perl.c>
PerlPassEnv BRICOLAGE_ROOT
PerlModule Bric::App::ApacheConfig
<Location http://jornal.<domain>/login>
PerlHandler Bric::App::Handler
PerlCleanupHandler Bric::App::CleanupHandler
PerlAccessHandler Bric::App::AccessHandler::okay
SetHandler perl-script
</Location>
<Location http://jornal.<domain>/logout>
PerlCleanupHandler Bric::App::CleanupHandler
PerlAccessHandler Bric::App::AccessHandler::logout_handler
</Location>
<Location http://jornal.<domain>/soap>
PerlHandler Bric::SOAP::Handler
PerlAccessHandler Apache::OK
SetHandler perl-script
</Location>
<Location http://jornal.<domain>/data>
SetHandler default-handler
</Location>
<Location http://jornal.<domain>/data/preview>
PerlFixupHandler "sub { $_[0]->no_cache(1); return
Apache::OK; }"
</Location>
<Location http://jornal.<domain>/dist>
PerlHandler Bric::Dist::Handler
SetHandler perl-script
</Location>
<Location http://jornal.<domain>/media>
PerlCleanupHandler Apache::OK
PerlAccessHandler Apache::OK
SetHandler default-handler
</Location>
PerlTransHandler Bric::App::PreviewHandler::uri_handler
</IfModule>
In bricolage.conf I've put:
APACHE_CONF = /etc/httpd/conf/httpd.conf
I commented the NAME_VHOST and VHOST_SERVER_NAME lines and
MANUAL_APACHE = On
After I've restarted apache using
/usr/local/bricolage/bin/bric_apachectl start
when I try to access to
http://jornal.<domain>/
the page loads forever without showing nothing, and I only see lines with
[error] access to /login failed for 213.22.140.22, reason: No cookie found.
in error_log.
Are there any other log files? To find whats really happening?
I would really apprecite some kind of help.
Best regards,
Sérgio Nunes
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
I've been trying to install Bricolage 1.4.5 in a RedHat 7.0 box with apache
using mod_vhost_alias. This module allows the creation of dynamically
configured virtual hosts (http://httpd.apache.org/docs/mod/mod_vhost_alias.html)
So, I made the following simlink:
/var/www/<domain>/jornal/html -> /usr/local/bricolage/comp
Bricolage will run in http://jornal.<domain>/
Then, I've added a .htaccess file to /usr/local/bricolage/comp containing:
>PerlAccessHandler Bric::App::AccessHandler
>PerlHandler Bric::App::Handler
>RedirectMatch permanent .*\/favicon\.ico$ /media/images/favicon.ico
>PerlCleanupHandler Bric::App::CleanupHandler
>SetHandler perl-script
And the following lines to the end of httpd.conf:
# Bricolage Definition
<IfModule mod_perl.c>
PerlPassEnv BRICOLAGE_ROOT
PerlModule Bric::App::ApacheConfig
<Location http://jornal.<domain>/login>
PerlHandler Bric::App::Handler
PerlCleanupHandler Bric::App::CleanupHandler
PerlAccessHandler Bric::App::AccessHandler::okay
SetHandler perl-script
</Location>
<Location http://jornal.<domain>/logout>
PerlCleanupHandler Bric::App::CleanupHandler
PerlAccessHandler Bric::App::AccessHandler::logout_handler
</Location>
<Location http://jornal.<domain>/soap>
PerlHandler Bric::SOAP::Handler
PerlAccessHandler Apache::OK
SetHandler perl-script
</Location>
<Location http://jornal.<domain>/data>
SetHandler default-handler
</Location>
<Location http://jornal.<domain>/data/preview>
PerlFixupHandler "sub { $_[0]->no_cache(1); return
Apache::OK; }"
</Location>
<Location http://jornal.<domain>/dist>
PerlHandler Bric::Dist::Handler
SetHandler perl-script
</Location>
<Location http://jornal.<domain>/media>
PerlCleanupHandler Apache::OK
PerlAccessHandler Apache::OK
SetHandler default-handler
</Location>
PerlTransHandler Bric::App::PreviewHandler::uri_handler
</IfModule>
In bricolage.conf I've put:
APACHE_CONF = /etc/httpd/conf/httpd.conf
I commented the NAME_VHOST and VHOST_SERVER_NAME lines and
MANUAL_APACHE = On
After I've restarted apache using
/usr/local/bricolage/bin/bric_apachectl start
when I try to access to
http://jornal.<domain>/
the page loads forever without showing nothing, and I only see lines with
[error] access to /login failed for 213.22.140.22, reason: No cookie found.
in error_log.
Are there any other log files? To find whats really happening?
I would really apprecite some kind of help.
Best regards,
Sérgio Nunes
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general