[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Setting HTTP response headers and redirection

Posted on 2001-08-30
2
Medium Priority
?
196 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 900 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Integration Management Part 2
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month19 days, left to enroll

834 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