Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 1st, 2003, 09:16 PM
milkydoo milkydoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 7 milkydoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Htaccess and SSI questions

I've been digging around on Google for a few hours now and I'm not getting anywhere. All the 'guides' are basically copy and paste guides and don't give a lot of details, unfortunately.

I have read that Apache will not send the 'last modified' header for SSI pages, which may mean that browsers won't cache them.

According to various guides, I need to force the headers with a few different commands. The ones that seem relevant for me are:

ExpiresActive On
ExpiresDefault "access plus 1 month"

I've put this in an htaccess file in the appropriate sub directory that I want affected, along with the root htaccess info, i.e. hotlinking, ect.

I'm getting a 500 error with this new file. What am I doing wrong?

Also, I'd like to confirm a couple of things:

1) Htaccess works in top down fashion, i.e., an htaccess file in a sub directory will affect that directory and ALL of its' subdirectories, correct?

2) Subdirectory htaccess files completely replace ones that are higher up, iow, if I leave the subdirectory file blank, then that directory and all subdirectories would function as if there wasn't one, even if I have one in the root directory. Right?

3) The Expires directives affect subdirectories in addittion to the immediate directory?

I'd also appreciate any links to *really good* htaccess and SSI guides. Thanks.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Htaccess and SSI questions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway