Forum Moderators: phranque
i am trying to write a directory called audio to a single file called audio.php which will handle.
my server is structured like this:
root/mysite/audio and my htaccess file i have put in the mysite directory.
the audio.php file is located in root/mysite/audio/audio.php .
basically when someone requests for example:
mysite/audio/name-of-audio-request that they actually get served the mysite/audio/audio.php page.
I hope that makes sense...
could anyone look at the code i have tried and tell me what I am doing wrong as it doesn't work at the mo?
htaccess:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/audio/*
RewriteRule ^audio/*$ /audio/audio\.php [L]