Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- serveradmin@cameraserver:~$ cat /etc/apache2/httpd.conf
- DocumentRoot "/mnt/disk2/cameras/"
- ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
- Action mxremotepreview /cgi-bin/MxRemotePreview.cgi
- <Directory "/mnt/disk2/cameras/">
- <FilesMatch [MEAPC][0-9]+\.jpg$>
- SetHandler mxremotepreview
- </FilesMatch>
- </Directory>
- * Add desired default MxRemotePreview settings
- (Note: These will usually be overridden by MXCC)
- # desired frame rate (default: 1 frame per second)
- SetEnv MXRECODER_FRAMERATE 1
- # image size, aspect ratio will be kept
- SetEnv MXRECODER_WIDTH 320
- SetEnv MXRECODER_HEIGHT 240
- #JPG quality [1..100]
- SetEnv MXRECODER_QUALITY 40
- # enable audio output, 0 to disable
- SetEnv MXRECODER_AUDIO 1
- serveradmin@cameraserver:~$ ^C
- serveradmin@cameraserver:~$ sudo /etc/init.d/apache2 restart
- Syntax error on line 4 of /etc/apache2/httpd.conf:
- Invalid command 'Action', perhaps misspelled or defined by a module not included in the server configuration
- Action 'configtest' failed.
- The Apache error log may have more information.
- ...fail!
- serveradmin@cameraserver:~$ cd /etc/apache2/
- serveradmin@cameraserver:/etc/apache2$ ls
- apache2.conf conf.d httpd.conf mods-available ports.conf sites-enabled
- cgi-bin envvars magic mods-enabled sites-available
- serveradmin@cameraserver:/etc/apache2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement