Pid wrote:
On 08/11/2011 15:54, André Warnier wrote:
But obviously it isn't, so there's something wrong with this JkMount.

Jumping ahead, that bit comes next when the OP's sorted their layout
out... ;)


Jumping back, the misdirected DocumentRoot issue should not be an immediate 
security
problem if the
JkMount /* loadbalancer
worked.
No ?
:-)

@Alexander :
change the VirtualHost's DocumentRoot to point anywhere else that is not part 
of the
Tomcat directories.
Then put a simple "index.html" document there, saying "wrong place".
(and make all of that readable by the user under which Apache httpd runs (like 
www-data
probably)).
Reload the Apache config.

After that, apart from the top-level "/" URL, everything else should return a 404 
"not
found", until the JkMount works.

Then, in this :
<VirtualHost 192.168.100.40:80>
    ServerAdmin xxx@yyy
    DocumentRoot "D:/www/apps/app1/ROOT"
<Directory " D:/www/apps/app1/ROOT ">
                Options Indexes FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
    </Directory>
...
</VirtualHost>

I don't see a JkMount.  Where is it ?




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to