Bug 809249

Summary: Section 6.2 - Creating VirtualHost code block misprint
Product: [JBoss] JBoss Enterprise Web Server 1 Reporter: Eric Sauer <esauer>
Component: doc-HTTP-Connectors-GuideAssignee: Kartikeya Dwivedi <kdwivedi>
Status: CLOSED EOL QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: lfuka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 847557 (view as bug list) Environment:
Last Closed: 2019-06-13 12:09:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 847557    

Description Eric Sauer 2012-04-02 20:54:51 UTC
Description of problem:

In the following text:

# Create Virtual Host
Add the following to the file JBOSS_EWS_DIST/httpd/conf.d/JBoss_HTTP.conf:

<VirtualHost IP_ADDRESS:PORT_NUMBER>

   <Directory>
      Order deny,allow
      Deny from all
      Allow from 10.33.144.
   </Directory>

   KeepAliveTimeout 60
   MaxKeepAliveRequests 0

   ManagerBalancerName mycluster
   AdvertiseFrequency 5

</VirtualHost>

Where IP_ADDRESS and PORT_NUMBER are the values from the Listen directive. 

The <Directory> tag is missing a path (i.e. <Directory />, <Directory /var/www>). As is, code snippet will not work, causes start errors for Apache.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 gsheldon 2012-07-09 03:23:52 UTC
Hi Eric,

Could you please provide some more info on what the tag should look like/ what is required for the snippet to work as expected?

Thanks.

Comment 2 Misha H. Ali 2012-07-16 06:33:10 UTC
Eric,

Please confirm if the following amended code snippet contains the change you required:


# Create Virtual Host
Add the following to the file JBOSS_EWS_DIST/httpd/conf.d/JBoss_HTTP.conf:

<VirtualHost IP_ADDRESS:PORT_NUMBER>

   <Directory /var/www>
      Order deny,allow
      Deny from all
      Allow from 10.33.144.
   </Directory>

   KeepAliveTimeout 60
   MaxKeepAliveRequests 0

   ManagerBalancerName mycluster
   AdvertiseFrequency 5

</VirtualHost>

Comment 3 Misha H. Ali 2012-08-12 21:52:23 UTC
Requested Jean-Frederic to provide input on whether the fix in c#2 addresses the problem accurately.

Comment 5 Libor Fuka 2013-08-28 06:45:56 UTC
VERIFIED

Comment 9 Red Hat Bugzilla 2023-09-14 01:28:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days