Re: mime type problem and aliasing as well
Hi all: mime problem solved had to change more deeper in the config, down to opencms. So now alias question is what's missing. cheers and TIA, arian Arian Abrahantes wrote: Hi All: I am new to the list and to web administration as well. I used tomcat 4.1 connected via proxy to apache 2.2. I deployed opencms into tomcat. Everything works fine but I am having a problem with special mime types in my site I have some extensions quite peculiar, for instance whatever.par it should be treated as binary (I declared this type into opencms workplace) I also make the change in tomcat as follows: mime-mapping extensionpar/extension mime-typeapplication/octet-stream/mime-type /mime-mapping I added the mime type to apache as well Addtype application/octet-stream .par Yet the browser or wget display the binary not asking for anything else. I think I also tried to cheat apache declaring this extension as tar or gz: useless. Regarding alias in Tomcat, I want that a folder be accessed either mydomain.com/Folder or mydomain.com/folder. So just like the alias in apache but I couldn't make it work there since the folder reside within tomcat. So can I manage folder alias in tomcat? any help is welcome - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mime type problem and aliasing as well
Best suggestion I can offer is to have a configurable filter in the ROOT webapp that looks at the request and does a client side redirect to the proper target. The client side redirect will correct the url in the browser for all future reference. --David Arian Abrahantes wrote: Hi all: mime problem solved had to change more deeper in the config, down to opencms. So now alias question is what's missing. cheers and TIA, arian Arian Abrahantes wrote: Hi All: I am new to the list and to web administration as well. I used tomcat 4.1 connected via proxy to apache 2.2. I deployed opencms into tomcat. Everything works fine but I am having a problem with special mime types in my site I have some extensions quite peculiar, for instance whatever.par it should be treated as binary (I declared this type into opencms workplace) I also make the change in tomcat as follows: mime-mapping extensionpar/extension mime-typeapplication/octet-stream/mime-type /mime-mapping I added the mime type to apache as well Addtype application/octet-stream .par Yet the browser or wget display the binary not asking for anything else. I think I also tried to cheat apache declaring this extension as tar or gz: useless. Regarding alias in Tomcat, I want that a folder be accessed either mydomain.com/Folder or mydomain.com/folder. So just like the alias in apache but I couldn't make it work there since the folder reside within tomcat. So can I manage folder alias in tomcat? any help is welcome - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mime type problem and aliasing as well
Hi David thanks very much. I googled for a while and I think I am going to use URLrewrite. antry I think it fits my needs, cheers, arian From: David Smith [mailto:[EMAIL PROTECTED] Sent: Fri 6/8/2007 1:05 PM To: Tomcat Users List Subject: Re: mime type problem and aliasing as well Best suggestion I can offer is to have a configurable filter in the ROOT webapp that looks at the request and does a client side redirect to the proper target. The client side redirect will correct the url in the browser for all future reference. --David Arian Abrahantes wrote: Hi all: mime problem solved had to change more deeper in the config, down to opencms. So now alias question is what's missing. cheers and TIA, arian Arian Abrahantes wrote: Hi All: I am new to the list and to web administration as well. I used tomcat 4.1 connected via proxy to apache 2.2. I deployed opencms into tomcat. Everything works fine but I am having a problem with special mime types in my site I have some extensions quite peculiar, for instance whatever.par it should be treated as binary (I declared this type into opencms workplace) I also make the change in tomcat as follows: mime-mapping extensionpar/extension mime-typeapplication/octet-stream/mime-type /mime-mapping I added the mime type to apache as well Addtype application/octet-stream .par Yet the browser or wget display the binary not asking for anything else. I think I also tried to cheat apache declaring this extension as tar or gz: useless. Regarding alias in Tomcat, I want that a folder be accessed either mydomain.com/Folder or mydomain.com/folder. So just like the alias in apache but I couldn't make it work there since the folder reside within tomcat. So can I manage folder alias in tomcat? any help is welcome - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]