Solved

Setting HTTP response headers and redirection

Posted on 2001-08-30
2
179 Views
Last Modified: 2010-03-04
Hi ,
How it is possible to insert an Expires header in the HTTP response when ever there is an HTTP request for file with type *.jar and *.class
Is it possible to do so by modifying httpd.conf and access.conf and how?

in apache  ,How it is possible to redirect one directory to another
E.g. whenever fthe file from my_floder_1_1/file.class the flie.class will be taken from my_floder

Thanks
Nir
0
Comment
Question by:nirma
  • 2
2 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 300 total points
ID: 6762646
you can use apache redirects:
Redirect my_floder_1_1/file.class  my_floder/file.class

in the httpd.conf

CJ
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 6762651
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question