Recent Changes - Search:

GNU/Buanzo Community

edit SideBar


Once compiled, you need to add this block to your Apache configuration:

 <IfDefine OPENPGP>
    <IfModule !mod_openpgp.c>
        LoadModule openpgp_module    modules/

I generally put those lines inside a file in /etc/apache2/modules.d, namely "99_mod_openpgp.conf", because all *.conf files get included from httpd.conf via an Include statement. In any case, you can always put the above block in the bottom of the main httpd.conf file.

Once that block has been added, a simple /etc/init.d/apache2 reload (or equivalent for your OS) should suffice.

To verify the module has been loaded, you can use try a command similar to this one (adapt to suit your needs, but you can use the output of " ps ax | grep -E 'apache|httpd' " to get an idea):

 /usr/sbin/apache2 -D DEFAULT_VHOST -D PHP5 -D CBAND -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf -t -D DUMP_MODULES 2>&1 | grep openpgp

You should get something like: "openpgp_module (shared)".

Once there, you might wish to add/modify a VirtualHost block. This is the Apache VirtualHost configuration block for

 <VirtualHost *:80>
    DocumentRoot /var/www/
    CustomLog /var/www/ combined
    ErrorLog /var/www/
    Options ExecCGI Includes MultiViews Indexes FollowSymlinks SymLinksIfOwnerMatch

    <IfModule mod_openpgp.c>
       # Turn on the OpenPGP Engine for this VirtualHost
       OpenPGPEngine on

       # Set the GnuPG Home Directory
       OpenPGPHomeDir /var/www/.gnupg

       # Enable support for Enigform's mod_openpgp support discovery
          SetHandler mao_Discovery

       # Enable support for Enigform's Secure Session Initiation
          SetHandler mao_BeginSession
          SetHandler mao_EndSession

Again, you will need to issue a /etc/init.d/apache2 reload.

Edit - History - Print - Recent Changes - Search
Page last modified on June 26, 2008, at 10:27 PM