Code Search for Developers
 
 
  

README from AlphaMail at Krugle


Show README syntax highlighted

WARNING: This sample is tuned for use with mod_perl 1.xx, NOT mod_perl2. Use
Apache2::SiteControl for mod_perl2 installations.

This is a complete sample. To set it up:

1) mkdir /tmp/sessions /tmp/session/locks and make sure apache will have
   read/write access to them.
2) Edit apache_modperlinit.pl and apache_sitecontrol.conf file and update the
   relevant paths and fields (location mappings). Use the Directory and Alias
   lines in this file to create a mapping for apache to this directory as
   /sample.
3) Restart apache and check logs.
4) Try to access /sample/page.html. 
   - You should be sent to the login page. 
     The valid logins are: admin/test and user/test.
   - You should see the page. If you are logged in as "admin", then you
     should have editable fields. If not, you should just see data.
5) Go to /sample/logout.html
   - You should see a logout message
6) Try to access /sample/page.html again.
   - You should see the login screen again.

Debugging is turned on in the default configuration, so check error_log in 
apache if you have problems.




See more files for this project here

AlphaMail

AlphaMail is an accelerated web mail interface with a C++ middleware layer that is more effective than an IMAP proxy which is a highly scalable (10k+ users). The interface includes modern features, Section 508 compliance, and universal browser support.

Project homepage: http://sourceforge.net/projects/alphamail
Programming language(s): C++,Java,JavaScript,Perl
License: other

  site/
    index.html
    logout.html
  site2/
    EditControlRule.pm
    MyPermissionFactory.pm
    README
    StringUserFactory.pm
    apache2.conf
    apache_sitecontrol.conf
    logout.html
    modperl_init.pl
    page.html
    samplelogin.pl
  EditControlRule.pm
  MyPermissionFactory.pm
  README
  SimpleAuth.pm
  apache_modperlinit.pl
  apache_sitecontrol.conf
  index.html
  samplelogin.pl
  schema.psql