depending on the package, I've been sucessfully able to embed another package (specifically singapore) into my cms site, whilst disallowing access to the site directly with the following method.
a) create a user defined tag called "packagename"
which just does an "include()"
b) create a .htaccess file in the package directory with
SetEnvIfNoCase User-Agent "^$" locally_linked=1
SetEnvIfNoCase Referer "^" locally_linked=1
Order Deny,Allow
Deny from all
allow from env=locally_linked
Your Mileage May Vary, but this works relatively well for me.
embedding other packages (singapore)
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
embedding other packages (singapore)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.