Hi
I have afdapted a bit of htaccess code very slightly and have come up with the following:-
What I am doing is redirecting images to a php script. Can anybody adapt this so that it will work regardless of what directory it is so that it does not have to hard coded.
Cheers in advance
I have afdapted a bit of htaccess code very slightly and have come up with the following:-
Code:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} \playing.(gif|jpe?g|png)$ [NC]
RewriteRule (.*) mp3/playing.php [NC,L]
What I am doing is redirecting images to a php script. Can anybody adapt this so that it will work regardless of what directory it is so that it does not have to hard coded.
Cheers in advance
Last edited:



