Stephan Jennewein schrieb:
> Hi,
> 
> is there a possibility to run "schoolbell" without Zope and instead with
> Apache as the http daemon?

no. Zope is a web app server - it is the web server plus glue plus
database engine.

However, putting apache in front of Zope is pretty standard mode of
operation.

For Zope 2.8 ++ it goes something like this.

0) make sure, there is a virtual host monster at the zope root. this is
standard for recent zope 2.7+++ afair
1. edit zope.conf to use another port, e.g. 8080. look at the end of the
file, there's a whole section for the server ports and options
<http-server>
  # valid keys are "address" and "force-connection-close"
  address 31842
  # force-connection-close on
</http-server>

1a) if you're paranoid (good thing), restrict zope access to 127.0.0.1
it's somewhere in the middle of zope.conf
# Directive: ip-address
#
# Description:
#     The default IP address on which Zope's various server protocol
#     implementations will listen for requests. If this is unset, Zope
#     will listen on all IP addresses supported by the machine. This
#     directive can be overridden on a per-server basis in the servers
#     section.
#
# Default: unset
#
# Example:
#
#    ip-address 127.0.0.1



2) Use Apache and ModRewrite to redirect the requests to the local zope
server. something like this:

<VirtualHost w.x.y.z>
        ServerName www.school.tool
        ServerAlias www.school.tool
        ServerAdmin [EMAIL PROTECTED]
        RewriteEngine On
        RewriteRule ^(.*)
http://127.0.0.1:31842/VirtualHostBase/http/www.school.tool:80/Schooltoolfolder/VirtualHostRoot/$
1 [P,NE,L]
        ErrorLog /var/log/apache/shooltool_error.log
        CustomLog /var/log/apache/schooltool_access.log common
</VirtualHost>

Your mileage my vary, please do correct me on the schooltoolfolder guess
in the rewriterule!

cheerio

Thomas

_______________________________________________
Schooltool mailing list
[email protected]
http://lists.schooltool.org/mailman/listinfo/schooltool

Reply via email to