Create a Perl CGI script called
xdo.pl. It can go anywhere in you
web document tree, but let's assume you put it in the document root (
The entire contents of the script should be as follows:
#!/usr/bin/perl -wT use strict; use Web::XDO; # variables my ($xdo); # get XDO object $xdo = Web::XDO->new(); # configure $xdo here # output XDO page $xdo->output();Adjust the path
/usr/bin/perlas needed to reference your perl program. That "configure $xdo here" part is explained in the configuration section.
Be sure to include that capital
xdo.pl. In the advanced configuration section we'll look at how you can modify that file to set and|or add features. For now that simple script is all we need.
http://www.example.com/xdo.pl. If the CGI is working, you'll get a web page stating there's a "400 Bad request" message (which isn't important right now) and also a statement that
xdo.pl showing that the Perl CGI is working.