SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 736 | Next

David A. Karp

"Windows Vista Annoyances: Tips, Secrets, and Hacks"


The first step is to set up your web server software to execute WSH scripts.
There??™s a variety of different web server software packages (such as Apache,
freely available at http://www.apache.org, and IIS, which comes with Windows),
and naturally the configuration varies with each package. The following
procedure shows how to set up IIS and configure it to execute WSH
scripts as CGI programs:
1. If IIS is not currently installed, open Control Panel ??? Programs and
Features, click Turn Windows features on or off, and then turn on the
Internet Information Services option.
2. Start the IIS Snap-In (\Windows\system32\inetsrv\iis.msc), and then
expand the branches to Internet Information Services\My Computer\Web
Sites\Default Web Site. The files and folders that make up your web site
are shown here (note that your setup may be different).
3. Scripts to be executed cannot be placed in ordinary folders; otherwise,
the web server will simply display their contents instead of running
them. So, they must be placed in a virtual directory with executable permissions;
if you??™ve already set up such a folder, skip to the next step.
538 | Chapter 9: Scripting and Automation
Otherwise, right-click on Default Web in the left pane, select Add Virtual
Directory, and follow the prompts. The Alias option is the folder
name that appears in the URL when the script is referenced from a
browser (described subsequently), and the Directory option is the full
path of the physical folder on your hard disk containing your script.


Pages:
724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6