Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache Rewrites Config

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Restricting directory listing  
Author Message
jeremycook123

External


Since: Dec 23, 2003
Posts: 1



(Msg. 1) Posted: Tue Dec 23, 2003 5:32 am
Post subject: Apache Rewrites Config
Archived from groups: alt>apache>configuration (more info?)

Hi,

I'm curious to know if the problem I'm currently faced would be
solvable using Apache Rewrites etc:

I have requests coming into my Apache server with the *.asp extension.
I need to take these requests and forward them onto my Servlet
container(possibly Tomcat) but with the *.jsp extension. This needs to
be done without sending back a HTTP 302 etc. i.e. the client does not
know that the request was responded to by a Servlet container.

As an example: a request via HTTP POST is made for
www.mysite.com/dir1/dosomething.asp, I have a Servlet container with a
Java Server Page dosomething.jsp - can I use Apache with Rewrites to
convert the .asp to .jsp, and then allow the Servlet container to
process and send back the results on the same HTTP connection?

I have also looked at using proxying to do this - I'm not sure what
the easiest solution would be?

Do you also know of any Apache documentation that explains the Request
lifecycle, documenting the order in which rewrites, handlers, and
filters get applied.

Thankyou for your time.

Regards
Jeremy Cook

 >> Stay informed about: Apache Rewrites Config 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Tue Dec 23, 2003 1:54 pm
Post subject: Re: Apache Rewrites Config [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jeremy Cook <jeremycook123.RemoveThis@hotmail.com> wrote:
 > I have requests coming into my Apache server with the *.asp extension.
 > I need to take these requests and forward them onto my Servlet
 > container(possibly Tomcat) but with the *.jsp extension.

Can't you just tell your servlet container to handle .asp as .jsp?
I mean, the Application Servlet doesn't care about the extension of
the file, if the file is correct. Just tell him to processo .asp
instead of .jsp.

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache Rewrites Config 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache config - Hi all I'm using apache 1.3.28 running on solaris 9 . I would like to redirect all traffic coming to port 80 ( standart http )to port 443( secure https ) . Is there a way to do it in http.conf ? Thanks Faouzi

Apache User Config - I hate to ask this question twice, but I'm STILL stumped on this one, and I've tried everything. I am running apache 2.0 under the username 'apache' and group 'apache'. I am trying to set up a NameVirtualHost under my home directory /home/john/web/www....

Apache User Config - I hate to ask this question twice, but I'm STILL stumped on this one, and I've tried everything. I am running apache 2.0 under the username 'apache' and group 'apache'. I am trying to set up a NameVirtualHost under my home directory /home/john/web/www....

Easy Config of Apache - Is there a "Free Program" that will help me config Apache? with having to do everything by hand? I am a ex IIS user and I am totally lost.... :) thanks

Apache 2.0.43 PHP 4.2.3 Windows 2000 My config .. - I got Apache 2.0.43 running on Windows 2000. I've intalled PHP 4.2.3 into c:\php-4.2.3-Win32 Both programs are binary. Im using a step by step guide from a new book i bought. The two programs were supplied with it. It says to configure apache to use..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]