Switch layouts home | FAQ | | P1 | P2 | P3 | P4 | P5 |  | A1 | A2 | A3  | | B1

Handling PB based web sites by Apache web servers

1. Make sure Appache web server configuration file httpd.conf has the following two lines:
AddHandler pb-file-type .pb
Action pb-file-type /cgi-bin/pb.pl

2. Rename any existing configuration file, create a new one or create a link to any pm-file, so that it has the extention ".pb". In this sample it's going to be links to configuration files of all existing samples:
ln -sf ./p1.cgi.pm ./p1.pb
ln -sf ./p2.cgi.pm ./p2.pb
ln -sf ./p3.cgi.pm ./p3.pb
ln -sf ./p4.cgi.pm ./p4.pb
ln -sf ./p5.cgi.pm ./p5.pb
ln -sf ./a1.cgi.pm ./a1.pb
ln -sf ./a2.cgi.pm ./a2.pb
ln -sf ./a3.cgi.pm ./a3.pb

3. To see how it works click the links below:
p1.pb
p2.pb
p3.pb
p4.pb
p5.pb
a1.pb
a2.pb
a3.pb


2002-03