[Osgeo4w-trac] Re: [osgeo4w] #1: Create custom apache port page
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Aug 3 15:52:14 EDT 2010
#1: Create custom apache port page
---------------------+------------------------------------------------------
Reporter: jmckenna | Owner: jmckenna
Type: task | Status: assigned
Priority: major | Component: Installer
Version: Alpha | Keywords:
---------------------+------------------------------------------------------
Comment(by jmckenna):
For the record, to test the new setup.exe, the following changes need to
be made to the Apache package:
{{{
"Apache port change logic need to modify apache configuration file
"httpd.conf".
1)Change Port Number to Keyword.
In "http://download.osgeo.org/osgeo4w/release/apache/",
Need to edit the httpd.conf file.
At Line 46, Modify "Listen 80" to "Listen @apache_port_number@"
2)Add textreplace line command to Apache.bat
In /etc/postinstall/apache.bat
Add command line as below.
textreplace -sf apache/conf/httpd.conf -df apache/conf/httpd.conf -map
@apache_port_number@ %APACHE_PORT%
}}}
An Apache package with this change is available:
http://download.osgeo.org/osgeo4w/release/apache/apache-2.2.14-4.tar.bz2
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/1#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list