mjprox, deny access to cgi-bin?
I'm using motion and mjprox to serve the streams over port 80. It works well. I've password protected the directory, which is fine, except, they could still go to /cgi-bin/nph-mjprox etc and see the stream.
How can I limit access to the script only via the specified folder?
Paste in your error messages, config settings, terminal window output etc in this text field.
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
|| Ubuntu 9.04
- 12 Oct 2009
You have to protect your cgi-bin directory , i.ex using .htaccess .
AuthName "Password Required"
Note : you have to allow .htaccess in your cgi-bin directory , take a look to apache config and change AllowOverride to ALL
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
- 15 Nov 2009