Hi,
I am writing to the Developer List because I did not get any response on the Users List and thought that the topic might be relevant to the dev list.
If a request comes for a directory w/o trailing slash, it gets cached and the subsequent requests see:
Moved Permanently The document has moved here
for try to access the URL: http://www.beach-clothing.com/where-to-buy
The configuration has two apache 2.0.53. The one running on port 80 has mod_disk_cache which sends requests to 8080 via ProxyPassReverse.
Here is my Virtual Host Config:
Apache on Port 80:
<VirtualHost 66.235.181.69>
ServerAlias beach-clothing.com www.beach-clothing.com
ServerName www.beach-clothing.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/public_html/beach-clothing
ServerPath /beach-clothing
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.beach-clothing\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://www.beach-clothing.com/$1 [L,R=301]
#Enable Caching
CacheDisable /index.html
CacheEnable disk /
RewriteCond %{SERVER_PORT} ^25$
RewriteRule /* - [F]
RewriteRule ^(.*)\/$ $1/index.html [P]
RewriteRule \.(gif|jpg|png|txt|css|js|ico|swf)$ - [last]
RewriteRule ^/(.*)$ http://www.beach-clothing.com:8080/$1 [proxy]
ProxyPassReverse / http://www.beach-clothing.com:8080/
</VirtualHost>Apache on port 8080:
<VirtualHost 66.235.181.69>
ServerAlias beach-clothing.com www.beach-clothing.com
ServerName www.beach-clothing.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/public_html/beach-clothing
#Enable Caching for 48 Hours
<Location /cgi>
ExpiresActive off
</Location>
<FilesMatch "\.(mp|pl|cgi)$">
ExpiresActive off
</FilesMatch>
<Location />
ExpiresActive on
ExpiresByType text/html A432000
</Location>
</VirtualHost>UseCanonicalName is off into the Server Config Section of both the Apache.
How do I solve this problem? If anyone has any clue / pointer?
Thanks.
Devendra Singh
______________________________________________________
Devendra Singh
IndiaMART InterMESH Limited
(Global Gateway to Indian Market Place)
B-1, Sector 8, Noida, UP - 201301, India
EPABX : +91-120-2424945, +91-120-3094634, +91-9810646342
Fax: +91-120-2424943
http://www.indiamart.com
http://www.indiangiftsportal.com
http://www.indiantravelportal.com
______________________________________________________
