RE: Rewrite Rules for JSP Site
> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: Rewrite Rules for JSP Site > > Create a new Host (called 'www.lmenaria.com'), define a new > appBase path and place your app, renamed ROOT.war into the > directory you define as appBase. It's not necessary to create a new or appBase. Simply delete the existing webapps/ROOT directory and rename lmenaria.war to ROOT.war (case sensitive). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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: Rewrite Rules for JSP Site
Ok.. Thanks, I have tried to copy all files in root folder and its works On 11/26/07, Pid <[EMAIL PROTECTED]> wrote: > Laxmilal Menaria wrote: > > Hello Everyone, > > > > I have created a web site using jsp pages and struts framework, and > > configured it on https using Tomcat WebServer. After compilation of > > my java files, it creates war file. And now I have copied files to > > "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps" > > folder with all jsp pages. > > > > so now my site folder structure (C:\Program Files\Apache Software > > Foundation\Tomcat 6.0\webapps): > > > > .../webapps/lmenaria.war > > .../webapps/lmenaria > > .../webapps/lmenaria/images > > .../webapps/lmenaria/login.jsp > > .../webapps/lmenaria/logout.jsp > > .../webapps/lmenaria/. > > .../webapps/lmenaria/all jsp pages > > > > now My web url is : https://www.lmenaria.com/lmenaria/login.jsp > > > > but I want my url https://www.lmenaria.com/login.jsp instead of above. > > I have copied all jsp pages to webapps folder but its shows "page not > > found" error, so what should I do ? > > Create a new Host (called 'www.lmenaria.com'), define a new appBase path > and place your app, renamed ROOT.war into the directory you define as > appBase. > > C:\Path\to\menaria\webapps\ROOT.war > > p > > > > > Can I configure Rewrite Rules or any other idea? > > > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks, Laxmilal menaria http://www.chambal.com/ http://www.minalyzer.com/ http://www.bucketexplorer.com/ - 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: Rewrite Rules for JSP Site
Laxmilal Menaria wrote: > Hello Everyone, > > I have created a web site using jsp pages and struts framework, and > configured it on https using Tomcat WebServer. After compilation of > my java files, it creates war file. And now I have copied files to > "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps" > folder with all jsp pages. > > so now my site folder structure (C:\Program Files\Apache Software > Foundation\Tomcat 6.0\webapps): > > .../webapps/lmenaria.war > .../webapps/lmenaria > .../webapps/lmenaria/images > .../webapps/lmenaria/login.jsp > .../webapps/lmenaria/logout.jsp > .../webapps/lmenaria/. > .../webapps/lmenaria/all jsp pages > > now My web url is : https://www.lmenaria.com/lmenaria/login.jsp > > but I want my url https://www.lmenaria.com/login.jsp instead of above. > I have copied all jsp pages to webapps folder but its shows "page not > found" error, so what should I do ? Create a new Host (called 'www.lmenaria.com'), define a new appBase path and place your app, renamed ROOT.war into the directory you define as appBase. C:\Path\to\menaria\webapps\ROOT.war p > Can I configure Rewrite Rules or any other idea? > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]