Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re: Adding WebCatalog handler for single virtual host?

To: "itools lists.tenon.com" <itools@xxxxxxxxxxxxxxx>
Subject: Re: Adding WebCatalog handler for single virtual host?
From: "Nitai @ ComputerOil" <nitai@xxxxxxxxxxxxxxx>
Date: Wed, 30 Apr 2003 17:03:09 +0200
On 30.4.2003 16:48 Uhr, "Nick Morlan" <nick@xxxxxxxxxxxxxxx> wrote:

> Has anyone had success with setting WebCatalog to parse .html pages for
> a single host?
> I have added the line
> AddHandler webcatalog2-handler .html
> to the httpd.conf in the correct virtual host container.
> 
> The global set in the iTools Admin for .html is 'default-handler'.
> What do i need to do to have WebCatalog parse for one host? Do i need
> to set a .html action handler for each virtual host in httpd.conf or
> can i have the one just override the global?
> I'm using iTools 6.5, WebCatalog 4.0 and MacOS X Server 10.2.
> Any help appreciated.


Alain Russel replied to this very wuestion in another thread some time ago.
Here is his answer:

Why not just remove the webcatalog handler from the main httpd,conf file and
add to each virtual host as needed ..

We do this  .. Mean sone site can map- .html to webcatalog and the next can
be standard static Apache files ..

As follows:

<VirtualHost    210.55.24.6:80>
ServerName      www.blackpepper.co.nz
<Directory      /Library/WebServer/WebSites/www.blackpepper.co.nz>
Options -Indexes FollowSymLinks IncludesNoExec
</Directory>
DocumentRoot    /Library/WebServer/WebSites/www.blackpepper.co.nz
TransferLog     /var/log/httpd/www.blackpepper.co.nz_access-log
ErrorLog        /var/log/httpd/www.blackpepper.co.nz_error-log
ServerAlias     www 210.55.24.6 localhost 127.0.0.1 blackpepper.co.nz
AddHandler webcatalog2-handler  .html
NameVirtualHost 210.55.24.6
</VirtualHost>


Sincerely,
Nitai Aventaggiato
CEO

-- 
Tools to energize your business
Content Management & eBusiness Systems

ComputerOil? GmbH               http://computeroil.com/
Unionstrasse 4                  info@xxxxxxxxxxxxxxx
8032 Zürich/Switzerland
Tel: +41 (0)43 333 1 555

---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to
itools-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives
at:
http://itools.blackpepper.co.nz/

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists