Changeset 18814

Show
Ignore:
Timestamp:
26.03.2009 20:30:08 (10 years ago)
Author:
ak19
Message:

Making the apache webserver relocatable for the release-kit. 1. Modified httpd.conf.in (GSDLHOME/apache-httpd/GSDLOS placeholder now APACHE_HOME_OS); 2. Modified the install-bindist.sh script for installing the relocatable apache webserver so that it is customised and doesn't do more than we need; 3. Added in apxs.in from the webserver's Support folder (inside httpd-2.2.11 folder). Do we get it from there dynamically or keep a static copy here?

Location:
gsdl/trunk/runtime-src/packages/apache-httpd
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/packages/apache-httpd/httpd.conf.in

    r18763 r18814  
    1515# server will use that explicit path.  If the filenames do *not* begin 
    1616# with "/", the value of ServerRoot is prepended -- so "logs/foo_log" 
    17 # with ServerRoot set to "**GSDLHOME**/apache-httpd/**GSDLOS**" will be interpreted by the 
    18 # server as "**GSDLHOME**/apache-httpd/**GSDLOS**/logs/foo_log". 
     17# with ServerRoot set to "**APACHE_HOME_OS**" will be interpreted by the 
     18# server as "**APACHE_HOME_OS**/logs/foo_log". 
    1919 
    2020# 
     
    2727# httpd daemons, you will need to change at least LockFile and PidFile. 
    2828# 
    29 ServerRoot "**GSDLHOME**/apache-httpd/**GSDLOS**" 
     29ServerRoot "**APACHE_HOME_OS**" 
    3030 
    3131# 
     
    102102# symbolic links and aliases may be used to point to other locations. 
    103103# 
    104 DocumentRoot "**GSDLHOME**/apache-httpd/**GSDLOS**/htdocs" 
     104DocumentRoot "**APACHE_HOME_OS**/htdocs" 
    105105 
    106106# 
     
    129129# This should be changed to whatever you set DocumentRoot to. 
    130130# 
    131 <Directory "**GSDLHOME**/apache-httpd/**GSDLOS**/htdocs"> 
     131<Directory "**APACHE_HOME_OS**/htdocs"> 
    132132    # 
    133133    # Possible values for the Options directive are "None", "All", 
     
    249249    # directives as to Alias. 
    250250    # 
    251     ScriptAlias /cgi-bin/ "**GSDLHOME**/apache-httpd/**GSDLOS**/cgi-bin/" 
     251    ScriptAlias /cgi-bin/ "**APACHE_HOME_OS**/cgi-bin/" 
    252252 
    253253</IfModule> 
     
    262262 
    263263# 
    264 # "**GSDLHOME**/apache-httpd/**GSDLOS**/cgi-bin" should be changed to whatever your ScriptAliased 
     264# "**APACHE_HOME_OS**/cgi-bin" should be changed to whatever your ScriptAliased 
    265265# CGI directory exists, if you have that configured. 
    266266# 
    267 <Directory "**GSDLHOME**/apache-httpd/**GSDLOS**/cgi-bin"> 
     267<Directory "**APACHE_HOME_OS**/cgi-bin"> 
    268268    AllowOverride None 
    269269    Options None 
     
    408408SSLRandomSeed connect builtin 
    409409</IfModule> 
    410  
    411410 
    412411  ScriptAlias /greenstone/cgi-bin "**GSDLHOME**/cgi-bin" 
     
    423422     Allow from all 
    424423  </Directory> 
    425