Line 21: | Line 21: | ||
###Use a "Typical" installation. | ###Use a "Typical" installation. | ||
###Let installation complete. | ###Let installation complete. | ||
- | ###Navigate to the Apache installation directory ( | + | ###Navigate to the Apache installation directory ('''C:\Program Files\Apache Software Foundation\Apache2.2''' by default). Go into the '''conf''' directory. Make a backup copy of httpd.conf. |
###Edit httpd.conf as follows: | ###Edit httpd.conf as follows: | ||
####The DocumentRoot value is based off wherever you extracted gpm-software.zip. Do a search and replace on everything between the quotes and substitute '''"<base_path>/thegpm"''', where '''<base_path>''' stands for the path in which you extracted gpm-software.zip. E.g., if you installed to '''E:\''', write '''"E:/thegpm"'''; if you installed to '''"D:/websites/"''', write '''"D:/webistes/thegpm"'''. | ####The DocumentRoot value is based off wherever you extracted gpm-software.zip. Do a search and replace on everything between the quotes and substitute '''"<base_path>/thegpm"''', where '''<base_path>''' stands for the path in which you extracted gpm-software.zip. E.g., if you installed to '''E:\''', write '''"E:/thegpm"'''; if you installed to '''"D:/websites/"''', write '''"D:/webistes/thegpm"'''. | ||
####A few lines below the DocumentRoot entry is a line that begins '''<Directory "<drive_letter>:/path">''' There is a note above it regarding changing that value to match the DocumentRoot path. Do so. | ####A few lines below the DocumentRoot entry is a line that begins '''<Directory "<drive_letter>:/path">''' There is a note above it regarding changing that value to match the DocumentRoot path. Do so. | ||
- | #### | + | ####In the section marked "<IfModule alias_module>", modify the ScriptAlias value, based off wherever you extracted gpm-software.zip. Make the line read: <tt>ScriptAlias /thegpm-cgi/ "<base_path>/thegpm/thegpm-cgi/"</tt>, where '''<base_path>''' stands for the path in which you extracted gpm-software.zip. E.g., if you installed to ''''E:\''', write '''"E:/thegpm/thegpm-cgi/"'''; if you installed to '''"D:/websites/"''', write '''"D:/webistes/thegpm/thegpm-cgi/"'''. |
###Save the changes and restart the Apache server. If it fails to start, use the command-line Apache tool: "<tt>apachectl configtest</tt>" in the '''/bin/''' folder of the Apache install directory. | ###Save the changes and restart the Apache server. If it fails to start, use the command-line Apache tool: "<tt>apachectl configtest</tt>" in the '''/bin/''' folder of the Apache install directory. | ||
##Perl (called '''ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi'''): install using the recommended settings. Remember the drive letter in which Perl was installed; it will be needed later (the default perl installation directory is '''C:\perl'''). | ##Perl (called '''ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi'''): install using the recommended settings. Remember the drive letter in which Perl was installed; it will be needed later (the default perl installation directory is '''C:\perl'''). |