[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [include file... ]
****** message to minivend-users from "Brian T. Allen" <brian@purenetfx.com> ******
Normally that would work out really well, but what I need in this instance
is actually relative to nothing on the hard drive, just / after the domain
name.
What I have is 2 domain names that share a database. I want the flypage to
include a sidebar, /sidebar.html for instance. That way, both domains look
like they have their own database, even though the flypage is identical,
just including different files.
>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