I get the following error: 403 Forbidden by rule If I disable the proxy in Netscape and set it for direct Internet connection, the page loads with no problem. How can I fix this?
I sometimes find SmartCache alters the behavior of some pages; to be sure, I then disable the proxy setting in Netscape and get a different result. Could this be related to Java programs within the page?
Smart Cache do not alter received pages/data in any way; It changes just
HTTP headers (when sending to server or to client). If you see different
page, it means that remote server sent you a different page. Right question
is: ,,why server send me a different page?''
Why server sent me a different page when I am using Smart Cache?
Because Smart Cache modified HTTP request from your browser. The
biggest effect on sending different pages has User-Agent: header.
If you are using fake_user_agent disable it, if it do not helps,
set append_via 0 also.
Which configuration options affects modifing my requests?
fake_user_agent changes your web browser
identity. Some server sends slightly modified versions
of pages to some browsers.
[6]
append_via If fake user agent is NOT used, this controls
appending "via Smart Cache X.YY" to User-Agent: header.
remove_pragma_no_cache When set, 'Pragma' header will be
deleted in outgoing requests. (Increases sucessfull IMS hit rate)
referer_hack dynamicaly changes referer header.
fake_referer changes Referer header to specified String.
If fake_referer is used, referer_hack is ignored.
fake_cookie and cookies filter can replace/remove cookies.
Reloads in my browser don't work anymore!
Look at directive default_refresh_pattern. First number is for ignoring
reload requests. If there is bigger number than zero, reloads
of younger page than that are forbidden.
If you don't want to ignore reload requests, set it to
zero, but better is to use some small value, such as 1-3 minutes for avoiding
reloads forced by browser itself.
[7]
Automatic dialing does not work any more. How do I fix it?
Some browsers (such as MSIE-4) can be configured to dial your ISP automatically
when you click on a link, but this feature gets disabled if you specify a proxy
running on your own computer (with address localhost or 127.0.0.1) because these
addresses don't require dialing. Smart Cache knows nothing about dialing,
so it doesn't work. To make automatic dialing work, make up a
name such as smart.cache and use it in the
proxy settings instead of localhost, and then add 127.0.0.1 smart.cache
to file c:\windows\hosts (if there already is a line beginning with 127.0.0.1,
just add smart.cache at the end of it.)
This should also work with Netscape Communicator 4 on machines where IE-4 has
been installed.
add -ms1m (start JVM with 1MB memory pool) option, before
scache to command line for invoking java interpreter. If this
do not helps too much, try different Java runtime.
Java uses on my Linux much more memory than written in this document.
It is normal. Java tries to use free memory when it is available.
If this memory will be required by other applications kernel just swaps
it out and it will be never (rarely) loaded back. For forcing kernel to do
that (free memory is good for dynamic disk cache) use some
utility, such as my swapout, which allocates all available
physical memory, touches this memory and exits.