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
nirmaAsked:
Who is Participating?
 
cheekycjConnect With a Mentor Commented:
you can use apache redirects:
Redirect my_floder_1_1/file.class  my_floder/file.class

in the httpd.conf

CJ
0
 
cheekycjCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.