You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Peter Normann <pe...@normann.com> on 2003/06/23 09:58:52 UTC

[users@httpd] Funny problem with caching and dynamic generated sites, need help

Hi there,

I have a problem with a site running apache 1.3.23 and php 4.12 under
linux. 

Basically what I have is a site that consists of fully dynamically
generated pages. The only URL used is
http://www.mycompany.com/index.html and from then on navigation and page
generation is handled by php behind the scenes.

The site has been developed in php and I have set the
session_cache_limiter to 'public'.

I have the following configuration directives for the specific site:

<VirtualHost my.ip.address>
ServerName www.mycompany.com
ServerAlias www
ErrorDocument 404 /php/redirect.php
ErrorLog /home/www/mycompany/logs/access_log
CustomLog /home/www/mycompany/logs/access_log common
DocumentRoot /home/www/mycompany/http
</VirtualHost>

DirectoryIndex is index.html globally.

Now, my problem is this:

If any user accesses the site with http://www.mycompany.com they get a
really old cached version of the first page, but when they use
http://www.mycompany.com/index.html they get the correct one.

FYI: The index.html file is really a symbolic link to index.php, but
that has hardly anything to do with it.

How can I go about this?

Best regards

Peter Normann

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18-06-2003
 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org