Freevo

- Index
- Webserver

# Webserver

Site Index:

1. Introduction
2. Setup
3. Start manually
4. Start as plugin
5. Start with initscript
   1. Gentoo
   2. Other distributions
6. Start from inittab
7. Usage

## Introduction

The webserver enables you to schedule recordings with a webbrowser, have a list of your image, movie and audio directories and more ... To schedule recordings you have to configure and start the Recordserver.

## Setup

edit WWW_USERS in local_conf.py

provide yourself with a username and password.

edit WWW_PORT

if you would like not to have to remember to put the port number in the URL you can change the number to 80 here, if you have NO other webserver on this machine on that port and you run the process starting the server as root (inittab and init script are root, plugin may not be).

to check for another webserver:

    # netstat -ln

look in the fourth column if any entry has 0.0.0.0:80 than there is already a webserver running there.

## Start manually

To start the webserver manually:

    freevo webserver start

To stop the webserver manually:

    freevo webserver stop

## Start as plugin

To start is like other plugins, add the following to your local_conf.py :

    plugin.activate('www')

DXR3 users must use the webserver in either inittab or boot scripts. it will not work for them in plugin mode.

## Start with initscript

### Gentoo

If you emerged freevo from portage :

- Edit the config script : /etc/conf.d/freevo

- Add Freevo script to the default runlevel :

    rc-update add freevo default

### Other distributions

PleaseUpdate

## Start from inittab

PleaseUpdate

## Usage

After you started the webserver you can point your browser to http://name:port Where name is the name of the computer where the webserver is started and port is the port you have configured with 'WWW_PORT'

Username and password will be asked. If you want to access this workstation from the internet, don't forget to open / forward the port if you have a firewall or router.

If you have a dhcp internet ip adres I suggest using something like http://www.dyndns.org/.

The webserver also has some wap pages. Point your webbroswer to http://name:port/wap_login.rpy , after loging in there will be a basic wap record page.

last edited 2005-01-10 09:29:12 by BHeremans
current version: http://freevo.sourceforge.net/cgi-bin/doc/Webserver