• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Setting HTTP response headers and redirection

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
nirma
Asked:
nirma
  • 2
1 Solution
 
cheekycjCommented:
you can use apache redirects:
Redirect my_floder_1_1/file.class  my_floder/file.class

in the httpd.conf

CJ
0
 
cheekycjCommented:
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now