Probably crossing a line here... I'm working on a system which runs Coldfusion8.
There are also some PHP Scripts running in the system and I'm having trouble setting this up on my localhost (newbie...)
I have Apache 2.2 with Coldfusion8 and MySQL 5.5 working. PHP 5.2 is installed, but... dead...
Right now I'm tinkering with custom tags from here, which I managed to run inline (great helper file here) but this will only get me half way to the finish line = it only works on the page.
I'm looking for a way to run a php-file which sits in my Apache-htdocs-folder. I can call the script from .htaccess, but nothing really happens. Here is the call:
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# Block
RewriteCond %{REQUEST_URI} !assets
RewriteCond %{REQUEST_URI} !ai-cache
# Redirect to PHP
RewriteRule \.(?:jpe?g|gif|png)$ script.php
</IfModule>
Question:
Can anyone tell me if that is possible and how I would go about it? A solution that would not force me to uninstall and reinstall everything would be much appreciated.