Forum Moderators: phranque
I've looked around for info on this and it seems like .htaccess should be able to do this... but I am not smart enough to figure it out. Anything I try sends me back error 500.
I can't put the files outside the web directory because the .ram file has to include the link:
rtsp://domain/path/filename.rm
So I'm guess I can't make that relative. Or maybe I can... I'm just getting started with all this server stuff. Any help would be appreciated.
If you still want to go for the apache way, then check out the mod_rewrite documentation [httpd.apache.org]. You need only a single RewriteRule command, which sends back a http 403 status code if the extension of the requested filename is rm or ram.
Will all/any of those all the webpage to access the folder, but not a user through the browser?
If the streaming server is independent of the apache (and I beleive that it does), then you can move the files out of the scope of the webserver, to a directory available by the streaming server only.
How do I do that? How can I make a directory that is available by the streaming server only?