You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Esmond Pitt <es...@bigpond.com> on 2012/06/04 03:23:11 UTC

Request for or as element inside

I have a large and growing number of requirements for aliases, and the
existing (new for Tomcat 7) aliases= attribute is unwieldy for me. The line
is already 289 characters long ;-(
 
It would be a lot more convenient if aliases could be specified individually
via a repeatable nested <Alias> entry, something like:
 
<Context>
<Alias aliasPath="/xyz" docBase="/real_path"/>
...
</Context>
 
Comments welcome.
 
EJP

RE: Request for or as element inside

Posted by Esmond Pitt <es...@bigpond.com>.
For information of the list, this was first opened as a feature request:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53359 but after
discussion the following was implemented instead and will be in 7.0.28:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53373. Basically
whitespace is now allowed around the comma and the '=' in the attribute, so
e.g. newlines and whitespace can be used. This meets my requirement
entirely.


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


Re: Request for or as element inside

Posted by Pid <pi...@pidster.com>.
On 04/06/2012 20:03, Christopher Schultz wrote:
> Esmond,
> 
> On 6/3/12 9:23 PM, Esmond Pitt wrote:
>> I have a large and growing number of requirements for aliases, and
>> the existing (new for Tomcat 7) aliases= attribute is unwieldy for
>> me. The line is already 289 characters long ;-(
> 
>> It would be a lot more convenient if aliases could be specified
>> individually via a repeatable nested <Alias> entry, something
>> like:
> 
>> <Context> <Alias aliasPath="/xyz" docBase="/real_path"/> ... 
>> </Context>
> 
> Please file an enhancement request in bugzilla:
> https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%207

Don't use docBase though, that'll confuse matters.


p



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

-- 

[key:62590808]


Re: Request for or as element inside

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Esmond,

On 6/3/12 9:23 PM, Esmond Pitt wrote:
> I have a large and growing number of requirements for aliases, and
> the existing (new for Tomcat 7) aliases= attribute is unwieldy for
> me. The line is already 289 characters long ;-(
> 
> It would be a lot more convenient if aliases could be specified
> individually via a repeatable nested <Alias> entry, something
> like:
> 
> <Context> <Alias aliasPath="/xyz" docBase="/real_path"/> ... 
> </Context>

Please file an enhancement request in bugzilla:
https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%207

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/NBo8ACgkQ9CaO5/Lv0PAzaACgu+faPREfy0wuVTMSN5yhqS6l
zpMAninHKlMUszrESeve/jMQ7FiztF9x
=JXP+
-----END PGP SIGNATURE-----

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