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-Guide | Assignee: | Kartikeya Dwivedi <kdwivedi> | |
| Status: | CLOSED EOL | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | unspecified | CC: | 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 | |||
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. 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>
Requested Jean-Frederic to provide input on whether the fix in c#2 addresses the problem accurately. ACKed as correct solution, can be viewed here: http://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Enterprise_Web_Server/2/html/HTTP_Connectors_Load_Balancing_Guide/ch06s02.html VERIFIED The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
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: