Re: [Zope] webalizer, zope, apache and virtual hosts
On Tue, 2002-08-20 at 11:17, Jan Ulrich Hasecke wrote:
Jack Coates <jack@monkeynoodle.org> schrieb:
I use an iframe in a dtml document -- see http://www.monkeynoodle.org/webalizer/
How did you configure your apache to serve this static content?
Ciao! juh
-- Damit erhebt Heidegger das Sein zum alleinigen Autor aller wesentlichen Briefe und setzt sich selbst als dessen aktuellen Schriftführer ein. Wer in solcher Position redet, darf auch Stammeln aufzeichnen und Schweigen publizieren. Sloterdijk
<IfModule mod_rewrite.c> RewriteEngine on RewriteLog "vhost_rewrite_log" RewriteLogLevel 1 # Let Apache handle requests for non-Zope content RewriteRule ^/static/(.*) /path/to/htdocs/$1 [L] RewriteRule ^/icons/(.*) - [L] RewriteRule ^/cgi-bin/(.*) - [L] RewriteRule ^/server-status/(.*) - [L] RewriteRule ^/manual/(.*) - [L] RewriteRule ^/webalizer/(.*) - [L] # Send the worms back home RewriteRule ^.*\.(exe|ida|dll).* http://127.0.0.1 </IfModule> -- Jack Coates Monkeynoodle: A Scientific Venture...
Jack Coates <jack@monkeynoodle.org> writes:
<IfModule mod_rewrite.c> RewriteEngine on RewriteLog "vhost_rewrite_log" RewriteLogLevel 1 # Let Apache handle requests for non-Zope content RewriteRule ^/static/(.*) /path/to/htdocs/$1 [L] RewriteRule ^/icons/(.*) - [L] RewriteRule ^/cgi-bin/(.*) - [L] RewriteRule ^/server-status/(.*) - [L] RewriteRule ^/manual/(.*) - [L] RewriteRule ^/webalizer/(.*) - [L] # Send the worms back home RewriteRule ^.*\.(exe|ida|dll).* http://127.0.0.1 </IfModule>
Thanks. Maybe it was too hot yesterday. But with copy+pasting your webalizer-line it now works. With one drawback. I have to type in the IP. It does not work with the ServerName I have this in httpd.conf <VirtualHost ip_of_my_server> Think I'll buy a book on Apache. Any suggestions in german? Ciao! juh -- Wadde Hadde Dudde Da gewählt? http://www.sudelbuch.de/2000/20000514.html
On Wed, 2002-08-21 at 00:48, Jan Ulrich Hasecke wrote:
Jack Coates <jack@monkeynoodle.org> writes:
<IfModule mod_rewrite.c> RewriteEngine on RewriteLog "vhost_rewrite_log" RewriteLogLevel 1 # Let Apache handle requests for non-Zope content RewriteRule ^/static/(.*) /path/to/htdocs/$1 [L] RewriteRule ^/icons/(.*) - [L] RewriteRule ^/cgi-bin/(.*) - [L] RewriteRule ^/server-status/(.*) - [L] RewriteRule ^/manual/(.*) - [L] RewriteRule ^/webalizer/(.*) - [L] # Send the worms back home RewriteRule ^.*\.(exe|ida|dll).* http://127.0.0.1 </IfModule>
Thanks. Maybe it was too hot yesterday. But with copy+pasting your webalizer-line it now works. With one drawback. I have to type in the IP. It does not work with the ServerName
I have this in httpd.conf <VirtualHost ip_of_my_server>
Try <VirtualHost *>
Think I'll buy a book on Apache. Any suggestions in german?
I don't know about German, but I found the _Apache Server Administrator's Handbook_ from IDG to be pretty helpful.
Ciao! juh
-- Wadde Hadde Dudde Da gewählt? http://www.sudelbuch.de/2000/20000514.html
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Jack Coates Monkeynoodle: A Scientific Venture...
participants (2)
-
Jack Coates -
Jan Ulrich Hasecke