Hi all. I'm using Postnuke, and it has an Htaccess in everything but the root folder. If you don't know how Postnuke works, it's a CMS in which people can add modules to the system for more features. I have a module that uses a Flash interface with AMFPHP. Here's the file tree
Code:
Root Folder --> Modules (htaccess) --> My Mod --> FlashApp.swf
--> Services --> Remoting.php
Root Folder --> Includes (htaccess) --> ApiFile.php
First Problem: "FlashApp.swf" uses AMFPHP to access the "Remoting.php," but is denied by the htaccess file
Second Problem: Even if that is taken care of, "Remoting.php" needs to access "ApiFile.php"
So yeah, I'm screwed. I don't want to have to mess with the htaccess files used by Postnuke because that would defeat it's efficiency. To make users that may not have the knowledge rewrite an htaccess file is impractical.
I was wondering, could I make an htaccess file to put in the "My Mod" folder that could only allow "FlashApp.swf" and "Remoting.php" to access these folders? If so, could anyone guide me on this?
I've looked at tutorials and it seems as though it may not be possible, but one of the Postnuke guys suggested it to me (with no help on the subject, so it may have just been guess suggestion). If it is impossible, does anyone know a way around in which I wouldn't have to modify the htaccess used by Postnuke?
Thanks in advanced, I know this is long-winded, but I'm desperate here, people.