tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: TC doco about overlapping Apache DocumentRoot with TC appBase?
Date Thu, 15 Jan 2009 15:39:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

david@davidwbrown.name wrote:
> Does the following example constitute overlapping directories
> in terms of the TC doco? (see link above).
> 
> DocumentRoot="/home/someuser/www"
> 
> appBase="/home/someuser/www/web"

Yes.

Here is my configuration. This keeps the rifraf out:

        <Directory "/path/to/webapp/WEB-INF">
            ## other options

            Options -Indexes

            <FilesMatch "\.vm">    ## We use Velocity templates
                Order deny,allow
                Deny from all
            </FilesMatch>
        </Directory>
        <Directory "/path/to/webapp/WEB-INF">
                Order deny,allow
                Deny from all
        </Directory>
        <Directory "/path/to/webapp/META-INF">
                Order deny,allow
                Deny from all
        </Directory>
        ## Repeat as necessary for all other protected directories

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklvWJkACgkQ9CaO5/Lv0PDF4gCbBBPwbXGeYfDSylzZgAJgjbT6
uX4AoLxQKn9xuTyp4ekqPttorREq8hvX
=cAxA
-----END PGP SIGNATURE-----

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


Mime
View raw message