Axis Communications 2 Custom Web Pages, Customizing Procedures, Editing and Storing Your Web page

Models: 2

1 62
Download 62 pages 46.97 Kb
Page 46
Image 46
Custom Web Pages

46

Customizing The AXIS 230

AXIS 230

Custom Web Pages

The AXIS 230 contains a re-writable flash memory file system that allows some directories and files to be changed by the root user, using FTP. This strictly non-supported product functionality, makes it possible for advanced users and application developers to add their own Web pages, scripts, and other files to the Axis product.

Customizing Procedures

The existing web pages are stored in a compressed read-only area of the file system. If you intend to try changing them you must adhere strictly to the instructions provided here and ensure that you DO NOT inadvertently change any files other than those featured in this section. Failure to comply with this notice may render your product unusable.

All files stored in the /etc/httpd/html directory are available through the product Web server in the virtual directory /local/. The URL to pages in the /etc/httpd/html directory is http://IP/local/<filename>.htm.

Editing and Storing Your Web page

Follow the instructions below to save your own pages in the AXIS 230:

1.Using an html editor, create your html file and store it on your local PC hard drive.

2.Now use FTP to upload the file to the AXIS 230. Enter the following on the command line:

Example!

ftp 192.168.0.125

3.Log on as root. The default password for root is pass, but this may have been changed.

4.Change to the correct directory in the AXIS 230 by entering the following command:

cd /etc/httpd/html

5.For binary storage of files (not absolutely necessary, but good practice), type bin.

6.Upload your html file by entering:

put <filename.html>

7.Start your browser and view the page you uploaded, by entering the following URL in the location/Address field:

http://192.168.0.125/local/<filename.html>

Page 46
Image 46
Axis Communications 2 Custom Web Pages, Customizing Procedures, Editing and Storing Your Web page, Customizing The AXIS