Re: Apache problem with MSIE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




sharath reddy wrote:
> 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 <http://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 <http://appdev1.sds.com:8330>
>     ConnectTimeoutSecs 60
> </Location>
> <Location ~ "/DirectoryListing">
>     SetHandler weblogic-handler
>     WebLogicCluster appdev1.sds.com:8330 <http://appdev1.sds.com:8330>
>     ConnectTimeoutSecs 60
> </Location>
>
> Thanks,
> Sharath

I hate to say it, but IE suffers from a number of bugs, I am assuming
here you are talking about MSIE 6.0 and so I for one think your best
option is simply to
a) tell users to upgrade if they are suffering problems as it likely a
bug with THEIR browser, not MSIE in general.
b) recode you app to ensure the functionality works when the code is
refreshed - after all this refresh can occur for a number of reasons not
just when someone hits back on the browser.

IMHO what you are describing is a browser that is not following your
suggestions, a fix of the client will stop this, however your app should
be rebust enough to cope with all kinds of non standard client behaviour
including malicious behaviour. It is after all the client that has
ultimate responsibility for following the headers or not, so you will
not be able to force a change on a particular user-agent.

My advice therefore is to forget the problem, unless it is a show
stopper for your clients, in which case they are responsible to some
extent for ensuring their software is up to date and compliant. If this
approach is not practical, then you will have to change the terms and
conditions to allow for this eventuality - which will crop up again.

-- 
Matthew Farey



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux