< < E-NEF > >
Perl Programming | Roman Art | Travel! | Maps ()
                  dragon                     e-nef                 Plan du Site
Contact
my.e-nef v0.1
  • Stable Linux Kernel: 2.6
  • Perl: 5.8
  • Apache: 2.0
  • mod_perl: 2.0
  • postgres: 8.0


Featuring


Search the Site





Bookmarks


Recommandation de Lecture


Questions ?
Tell us what you
thought of this page

 Excellent
 Worth reading
 Not worth reading

 Not technical enough
 Just right
 Too technical



Menu


Distributed Home Pages List
Version française

Introduction

The basic packages don't propose a Web Interface to automatically list the personal pages from the system's user.

This little program scan the user's directory searching for a directory called public_html containing the personnal pages.

This version permits to link the pages from different sites into one, do some buffering, and by-day automatic update ... and without specialised server, just by a transparent HTTP call for the user.

The Update can be forced by a button. If a remote server cannot be joigned, an error message is displayed.



Prerequisite:

Apache 1.1 and newer, older versions are not to be used due to security issue .

Perl 5.002 at least ( I have not tested it with older versions )

The LWP library : libwww-perl >= 5.32



Installation

  1. Edit the fic-path.pl to match your own directories, server names, mailer

  2. Add in the client ARRAY the servers and scripts path you want to join (please respect the argument "?action=liste" at the end of the script call).

  3. You must allow "Option ExecCGI" within the file access.conf for the directory containing the script !

  4. Also add "AddHandler cgi-script .cgi" within the file srm.conf

  5. Put within the script header the location of the perl interpreter for your site.

Download

You can download the tar.gz file WebPages.tgz (28k)

Use

1. Each user must create a public_html directory, in which his home page will be called index.html (take care of the access rights: chmod a+x ~ and chmod a+rx ~/public_html ).

2. A picture called photo.gif (or photo.jpg) is also searched in this directory. Its size must be 70x70 or will be resized to it ( you can change this parameter). By default, default.gif is taken. I also provide default2.gif and default3.gif.

3. If you have specified in the file srm.conf "DirectoryIndex index.html index.cgi", then putting index.cgi will make it executed by default as an HTML page. Else, call it from a page.

Comments

If you have any comments, or further improvements, I would be glad to hear it !


Perl Ring
[ PerlRing ] [ PerlRing Next ]
This PerlRing site is owned by epierre@e-nef.com.
[ Next Page | Skip Next | List Next 5 | Random Link ]
Want to join the ring? Click here for info

Camel & Llama images are trademarks of O'Reilly & Associates, Inc. Used with permission.



Publicité

© Copyright 1998-2018 Emmanuel PIERRE. Free reproduction under LLDDv1 License.
Send all comments to webmaster@e-nef.com
Last Update 31/01/2018

Valid XHTML 1.0!

No Patents/