Hello, I'm in the process of porting plain HTML pages to Zope. The bad thing is that the creators of the pages had the bad habit to spell their URLs with capital letters. Example: http://www.our-ugly-site.de/THIS/IS/AN/EXAMPLE.HTM I want to get rid of this and will replace it by: http://www.our-nice-site.de/this/is/an/example.htm But if users have bookmarks or something else they can not reach our new nice pages and so I wonder, if I could render a more informative page than Site Error An error was encountered while publishing this resource. Resource not found Sorry, the requested resource does not exist. Check the URL and try again. Resource: http://www.our-nice-site.de/THIS/IS/AN/EXAMPLE.HTM At first I could place a hint to the new convention. At second I wonder if I would implement a little script which converts the URL into lower case letters and suggest to try this one. Any idea how to do this? Kind regards Andreas.
If you're using apache, look into mod_speling. It will do this for you transparently. seb On Wed, 2001-12-12 at 11:09, Tille, Andreas wrote:
Hello,
I'm in the process of porting plain HTML pages to Zope. The bad thing is that the creators of the pages had the bad habit to spell their URLs with capital letters. Example:
http://www.our-ugly-site.de/THIS/IS/AN/EXAMPLE.HTM
I want to get rid of this and will replace it by:
http://www.our-nice-site.de/this/is/an/example.htm
But if users have bookmarks or something else they can not reach our new nice pages and so I wonder, if I could render a more informative page than
Site Error
An error was encountered while publishing this resource.
Resource not found Sorry, the requested resource does not exist.
Check the URL and try again.
Resource: http://www.our-nice-site.de/THIS/IS/AN/EXAMPLE.HTM
At first I could place a hint to the new convention. At second I wonder if I would implement a little script which converts the URL into lower case letters and suggest to try this one.
Any idea how to do this?
Kind regards
Andreas.
_______________________________________________ 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 )
Hi, I'd like to find a nice and easy way of extracting the useful information about people logging in to our site from the log file (/var/Z2.log). It would be very nice to port the IP addresses automatically through dig (or nslookup or host) to find the addresses and print a neat table with the address, referrrer and date. I'm not a gifted programmer, so I would spend ages on this, is there somebody out there who made a jiffy for such a thing? Thanks Flip
The Z2.log is compatible with nearly all weblog analyzer tools like Analog or Webalizer. There has been a thread about such tools a week or so ago. Please check the list archives. Andreas --------------------------------------------------------------------- - Andreas Jung Zope Corporation - - EMail: andreas@zope.com http://www.zope.com - - "Python Powered" http://www.python.org - - "Makers of Zope" http://www.zope.org - - "Life is a fulltime occupation" - --------------------------------------------------------------------- ----- Original Message ----- From: "Flip Hoedemaeker" <flip@keydp.com> To: "'Zope user list'" <zope@zope.org> Sent: Wednesday, December 12, 2001 06:44 Subject: [Zope] Extracting the Z2.log file
Hi,
I'd like to find a nice and easy way of extracting the useful information about people logging in to our site from the log file (/var/Z2.log). It would be very nice to port the IP addresses automatically through dig (or nslookup or host) to find the addresses and print a neat table with the address, referrrer and date. I'm not a gifted programmer, so I would spend ages on this, is there somebody out there who made a jiffy for such a thing?
Thanks
Flip
_______________________________________________ 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 )
I use webalizer with Zope just like with Apache. U just need to change the "LogFile" value in webalizer.conf. --Gilles ----- Original Message ----- From: "Flip Hoedemaeker" <flip@keydp.com> To: "'Zope user list'" <zope@zope.org> Sent: Wednesday, December 12, 2001 12:44 PM Subject: [Zope] Extracting the Z2.log file
Hi,
I'd like to find a nice and easy way of extracting the useful information about people logging in to our site from the log file (/var/Z2.log). It would be very nice to port the IP addresses automatically through dig (or nslookup or host) to find the addresses and print a neat table with the address, referrrer and date. I'm not a gifted programmer, so I would spend ages on this, is there somebody out there who made a jiffy for such a thing?
Thanks
Flip
_______________________________________________ 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 )
On 12 Dec 2001, seb bacon wrote:
If you're using apache, look into mod_speling.
It will do this for you transparently. Seems interesting. I just changed /etc/apache/httpd.conf
LoadModule speling_module /usr/lib/apache/1.3/mod_speling.so but I'm not sure how to configure it right (documentation said spell checking is by default of) and I have no deep experiences in configuring Apache. Any configuration examples? By the way: I'm just asking because this could even help our previous setup but I would like to avoid such stuff regarding to performance reasons. Quote: This directive enables or disables the spelling module. When enabled, keep in mind that * the directory scan which is necessary for the spelling correction will have an impact on the server's performance when many spelling corrections have to be performed at the same time. So I just come back to my original question if there is a way to handle the exception? Kind regards and thanks for your hint Andreas.
participants (5)
-
Andreas Jung -
Flip Hoedemaeker -
Gilles Lenfant -
seb bacon -
Tille, Andreas