Skip to content

Commit

Permalink
Use the same directive as the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Dec 12, 2024
1 parent beb29a3 commit 755088d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions docs/userguide/src/main/docbook/modules/faq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ GET /
<listitem>
<para>"client denied by server configuration":</para>
<para>
The directory in the VirtualHost is not allowed for the client.
The location in the VirtualHost is not allowed for the client.
If you have something like:
</para>
<programlisting>Mon Jun 28 18:08:47 2010] [error] [client 10.33.144.3] client denied by server configuration: /</programlisting>
<para>
You need to have something like:
</para>
<programlisting><![CDATA[<Directory />
<programlisting><![CDATA[<Location />
Order deny,allow
Deny from all
Allow from 10.33.144.3
</Directory>]]></programlisting>
</Location>]]></programlisting>
</listitem>
</orderedlist>
</section>
Expand All @@ -191,11 +191,11 @@ GET /
</para>
<programlisting><![CDATA[
<VirtualHost localhost:6666>
<Directory />
<Location />
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
</Location>
ServerAdvertise on http://localhost:6666
EnableMCPMReceive
</VirtualHost>
Expand Down
8 changes: 4 additions & 4 deletions docs/userguide/src/main/docbook/modules/quick-start.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ LoadModule advertise_module /opt/jboss/httpd/lib/httpd/modules/mod_advertise.so
Listen 10.33.144.3:6666
<VirtualHost 10.33.144.3:6666>
<Directory />
<Location />
Order deny,allow
Deny from all
Allow from 10.33.144.
</Directory>
</Location>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
Expand All @@ -149,11 +149,11 @@ LoadModule advertise_module modules/mod_advertise.so
Listen 10.33.144.3:6666
<VirtualHost 10.33.144.3:6666>
<Directory />
<Location />
Order deny,allow
Deny from all
Allow from 10.33.144.
</Directory>
</Location>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
Expand Down
4 changes: 2 additions & 2 deletions test/java/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ NOTE the httpd should have something like the following in httpd.conf
<IfModule manager_module>
Listen jfcpc:6666
<VirtualHost jfcpc:6666>
<Directory />
<Location />
Order deny,allow
Deny from all
Allow from 10.33.144
</Directory>
</Location>

KeepAliveTimeout 300
MaxKeepAliveRequests 0
Expand Down
8 changes: 4 additions & 4 deletions test/java/installhttpd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,11 @@ then
Listen @IP@:6666
ManagerBalancerName mycluster
<VirtualHost @IP@:6666>
<Directory />
<Location />
Order deny,allow
Deny from all
Allow from @SUBIP@
</Directory>
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
Expand All @@ -343,9 +343,9 @@ EOF
Listen @IP@:6666
ManagerBalancerName mycluster
<VirtualHost @IP@:6666>
<Directory />
<Location />
Require ip @SUBIP@
</Directory>
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
Expand Down

0 comments on commit 755088d

Please sign in to comment.