NAME
Win32::IIS::Admin - Administer Internet Information Service on Windows
SYNOPSIS
use Win32::IIS::Admin;
my $oWIA = new Win32::IIS::Admin;
$oWIA->create_virtual_dir(-dir_name => 'cgi-bin',
-path => 'C:\wwwroot\cgi-bin',
-executable => 1);
DESCRIPTION
Enables you to do a few administration tasks on a IIS webserver. Currently only works for IIS 5 (i.e. Windows 2000 Server). Currently there are very few tasks it can do. On non-Windows systems, the module can be loaded, but new() always returns undef.
METHODS
- new
-
Returns a new Win32::IIS::Admin object, or undef if there is any problem (such as, IIS is not installed on the local machine!).
- create_virtual_dir
-
Given the following named arguments, create a virtual directory on the default #1 server on the local machine's IIS instance.
- -dir_name => 'virtual'
-
This is the virtual directory name as it will appear to your browsers.
- -path => 'C:/local/path'
-
This is the full path the the actual location of the data files.
- -executable => 1
-
Give this argument if your virtual directory holds executable programs. Default is 0 (NOT executable).
- errors
-
Method not implemented. In the current version, error messages are printed to STDERR as they occur.
BUGS
To report a bug, please use http://rt.cpan.org.
AUTHOR
Martin Thurn mthurn@cpan.org
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.