help setting iplanet server to parse all files in one directory
| From: | Brian Vaughan | Date: | Fri, 03 Oct 2003 18:49:04 +0000 |
| Subject: | help setting iplanet server to parse all files in one directory | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12002@lists.php.net to get a copy of this message | ||
I am trying to get one specific directory on an iPlanet 4.1/php 4.3.0 server set up so that all files in the directory are treated as php scripts and executed. Basiucally, I would like php to use the extension .html, but only in one directory.
Scripts in the directory execute fine if I use the php extension, but are not parsed if I use html.
As directed, my obj.conf has the following:
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"
</Object>
In the admin server, when I assign the x-httpd-php style to the directory I want, I am immediately taken to the "Edit Style" screen. What, if anything do I need to set there?
The install instructions on http://www.php.net/manual/en/install.netscape-enterprise.php do not say. It just say "assign the x-httpd-php style".
Do I need to set anything there like file type, defaut query handler, server parsed html, etc?
thanks!