httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sharath reddy" <reddy....@gmail.com>
Subject Re: [users@httpd] Apache problem with MSIE
Date Mon, 19 Mar 2007 22:58:05 GMT
Hi All,

Thanks for responses, Still i could not able to solve the problem, even
though i enabled mod_expires.

Here the problem: As i found that IE fetching the entire webpage from
weblogic server intsead of from local cache when i hit the back button.So,
is there any directive or apache setting that might prevent the
client(browser) to fetch the web page from weblogic server when i hit
the back button. Instead, it can fetch it from local cache.

I introduced mod_expires( to cache the content), but still IE could not
cache the content.

I am not an expert in apache server, so please let me know for any
modifications..
The above mentioned problem arises, when i access the DirectoyApp (below)
application.Here i am giving my httpd.conf file:


ServerRoot "/opt/web/apache2"
<IfModule !mpm_netware.c>
PidFile log/httpd_port80.pid
</IfModule>

Timeout 300
KeepAlive Off
#MaxKeepAliveRequests 100
#KeepAliveTimeout 300

Listen 80

LoadModule weblogic_module /opt/web/apache2/modules/mod_wl_20.so
LoadModule  headers_module       /opt/web/apache2/modules/mod_headers.so
LoadModule  deflate_module       /opt/apache2/modules/mod_deflate.so
LoadFile    /usr/lib/libxml2.so
LoadModule  proxy_html_module    /opt/web/apache2/modules/mod_proxy_html.so
LoadModule expires_module /opt/web/apache2/modules/mod_expires.so

ProxyRequests Off

<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
User www
Group www
</IfModule>
</IfModule>

ServerName dev1.sds.com
UseCanonicalName Off
DocumentRoot "/opt/web/apache2/docroot"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory "/opt/web/apache2/docroot">
    Options Indexes FollowSymLinks Includes ExecCGI MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

<Directory */WEB-INF/*>
    Order Deny,Allow
    Deny from all
</Directory>

<Directory "/opt/web/checkme">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
</Directory>

<Directory "/opt/www">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order deny,allow
        Allow from all
</Directory>

DirectoryIndex index.html home.html

AccessFileName .htaccess
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
</FilesMatch>

TypesConfig /opt/web/apache2/conf/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile /opt/apache2/conf/magic
</IfModule>

<IfModule mod_expires.c>
       ExpiresActive On
       ExpiresByType image/gif A86400
       ExpiresByType image/png A86400
       ExpiresByType text/html A3600
</IfModule>

IndexOptions FancyIndexing VersionSort

AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType image/x-icon .ico

AddHandler type-map var

AddOutputFilter INCLUDES .htm
AddType text/css .css

<IfModule mod_ssl.c>
    Include conf/ssl.conf
</IfModule>

#########################################################################
#*** BEGIN Oblix NetPoint WebGate Specific ****

LoadFile "/opt/netpoint/dev/7.0.1/access/oblix/lib/libgcc_s.so.1"
LoadFile "/opt/netpoint/dev/7.0.1/access/oblix/lib/libstdc++.so.5"

<IfModule mod_ssl.c>
        LoadModule obWebgateModule
"/opt/netpoint/dev/7.0.1/access/oblix/apps/webgate/bin/webgatessl.so"
</IfModule>

<IfModule !mod_ssl.c>
        LoadModule obWebgateModule
"/opt/netpoint/dev/7.0.1/access/oblix/apps/webgate/bin/webgate.so"
</IfModule>

WebGateInstalldir "/opt/netpoint/dev/7.0.1/access"

WebGateMode PEER

<Location /access/oblix/apps/webgate/bin/webgate.cgi>
SetHandler obwebgateerr
</Location>

<Location "/oberr.cgi">
SetHandler obwebgateerr
</Location>

<LocationMatch "/*">
AuthType Oblix
require valid-user
</LocationMatch>

#*** END Oblix NetPoint WebGate Specific ****
#########################################################################

Alias /content "/opt/www/content"
Alias /contentApp "/opt/www/contentApp"

<Location ~ "/DirectoryApp">
    SetHandler weblogic-handler
    WebLogicCluster appdev1.sds.com:8330
    ConnectTimeoutSecs 60
</Location>
<Location ~ "/DirectoryListing">
    SetHandler weblogic-handler
    WebLogicCluster appdev1.sds.com:8330
    ConnectTimeoutSecs 60
</Location>

Thanks,
Sharath

Mime
View raw message