MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [include file... ]



******    message to minivend-users from Larry Leszczynski <larryl@furph.com>     ******

Hi Brian -

> Is is possible to use the [include file="/home/httpd/whatever.html"] as
> a virtual path, not an absolute path?  I want to include a file relative
> to the web sites document root, not based on location on the hard drive
> or the catalog root. 

We usually set a catalog.cfg variable to point to the document root like
so:
  Variable DOCROOT /usr/local/wwwsites/__SERVER_NAME__/htdocs

If you did the same, you could do:
  [include file="__DOCROOT__/whatever.html"]


Larry Leszczynski
larryl@furph.com
--
  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
info@furph.com	   http://www.furph.com		734-513-7759 (FAX)

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: