Description of problem: There is not changed paths in conf.d/manual.conf and conf.d/welcome.conf after successful run of .postinstall. Version-Release number of selected component (if applicable): JWS 3.0.0-DR0.1 Steps to Reproduce: 1. start httpd 2. access localhost:80
Fix for manual.conf: [weli@dhcp-66-78-87 jws-compose]$ git diff diff --git a/postinstall b/postinstall index e8d0453..d0abdc2 100644 --- a/postinstall +++ b/postinstall @@ -50,5 +50,6 @@ sed -i -e "s:LoadModule proxy_balancer_module modules/mod_proxy_balancer.so:#Loa echo "DefaultRuntimeDir ${currentDir}/run" >> conf.modules.d/00-base.conf -sed -i -e "s:/usr/libexec/:${currentDir}/sbin/:" -e "s:/var/www:$currentDir/www:g" -e "s:/run/httpd/:${currentDir}/run/ +sed -i -e "s:/usr/libexec/:${currentDir}/sbin/:" -e "s:/var/www:${currentDir}/www:g" -e "s:/run/httpd/:${currentDir}/ru +sed -i -e "s:/usr/share/httpd/manual:${currentDir}/../doc/httpd:g" conf.d/manual.conf --- [weli@dhcp-66-78-87 jbossas-fordev]$ unzip -l jws-docs-3.0.0.zip | head Archive: jws-docs-3.0.0.zip Length Date Time Name --------- ---------- ----- ---- 0 12-22-2014 22:02 jws-3.0/ 0 12-22-2014 22:02 jws-3.0/doc/ 0 12-22-2014 22:03 jws-3.0/doc/mod_cluster/ 7639 11-18-2014 22:05 jws-3.0/doc/mod_cluster/lgpl.txt 910 11-18-2014 22:05 jws-3.0/doc/mod_cluster/release.txt 8178 11-18-2014 22:05 jws-3.0/doc/mod_cluster/JBossORG-EULA.txt 0 12-22-2014 22:03 jws-3.0/doc/httpd/ --- Verified locally with lynx: <<< Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server (p1 of 4) Modules | Directives | FAQ | Glossary | Sitemap Apache HTTP Server Version 2.4 <- Apache > HTTP Server > Documentation Apache HTTP Server Version 2.4 Documentation ____________________ Google Search Release Notes * New features with Apache 2.3/2.4 * New features with Apache 2.1/2.2 * New features with Apache 2.0 * Upgrading to 2.4 from 2.2 * Apache License Reference Manual * Compiling and Installing * Starting * Stopping or Restarting * Run-time Configuration Directives (NORMAL LINK) Use right-arrow or <return> to activate. Arrow keys: Up and Down to move. Right to follow a link; Left to go back. H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list
Fix for welcome.conf: [weli@dhcp-66-78-87 jws-compose]$ git diff diff --git a/postinstall b/postinstall index d0abdc2..eb78eec 100644 --- a/postinstall +++ b/postinstall @@ -53,3 +53,6 @@ echo "DefaultRuntimeDir ${currentDir}/run" >> conf.modules.d/00-base.conf sed -i -e "s:/usr/libexec/:${currentDir}/sbin/:" -e "s:/var/www:${currentDir}/www:g" -e "s:/run/httpd/ sed -i -e "s:/usr/share/httpd/manual:${currentDir}/../doc/httpd:g" conf.d/manual.conf + +sed -i -e "s:/usr/share/httpd/noindex/index.html:${currentDir}/www/error/noindex.html:g" -e "s:/usr/sh + --- Local verification with lynx: Test Page for the Apache HTTP Server on Red Hat Enterprise Linux Red Hat Enterprise Linux Test Page This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. _________________________________________________________________________________________ If you are a member of the general public: The fact that you are seeing this page indicates that the website you just visited is either experiencing problems, or is undergoing routine maintenance. If you would like to let the administrators of this website know that you've seen this page instead of the page you expected, you should send them e-mail. In general, mail sent to the name "webmaster" and directed to the website's domain should reach the appropriate person. For example, if you experienced problems while visiting www.example.com, you should send e-mail to "webmaster". For information on Red Hat Enterprise Linux, please visit the Red Hat, Inc. website. The documentation for Red Hat Enterprise Linux is available on the Red Hat, Inc. website. _________________________________________________________________________________________ If you are the website administrator: You may now add content to the directory /httpd/www/html/. Note that until you do so, people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file /httpd/conf.d/welcome.conf. You are free to use the image below on web sites powered by the Apache HTTP Server: [ Powered by Apache ]
Verified with DR1