Nope, there is no way you can prevent the client from sending you an IMS
request. That is a browser prerogative, I suppose the best that you can
do is bump up the Age and Expires headers that are returned along with
the documents that your server delivers and hope that client browsers
use that
2008/9/12 Manik Taneja <[EMAIL PROTECTED]>:
> Nope, there is no way you can prevent the client from sending you an IMS
> request. That is a browser prerogative, I suppose the best that you can do
> is bump up the Age and Expires headers that are returned along with the
> documents that your server
Manik Taneja wrote:
Nope, there is no way you can prevent the client from sending you an IMS
request.
The above is correct, but if I understand the OP question correctly, the
basic issue is to make sure that the client does not re-use a cached
page, but always retrieves the latest page from
André Warnier wrote:
Manik Taneja wrote:
Nope, there is no way you can prevent the client from sending you an
IMS request.
The above is correct, but if I understand the OP question correctly, the
basic issue is to make sure that the client does not re-use a cached
page, but always retrieves
2008/9/12 André Warnier <[EMAIL PROTECTED]>:
> Manik Taneja wrote:
>>
>> Nope, there is no way you can prevent the client from sending you an IMS
>> request.
>
> The above is correct, but if I understand the OP question correctly, the
> basic issue is to make sure that the client does not re-use a
dave selby wrote:
2008/9/12 André Warnier <[EMAIL PROTECTED]>:
Manik Taneja wrote:
Nope, there is no way you can prevent the client from sending you an IMS
request.
The above is correct, but if I understand the OP question correctly, the
basic issue is to make sure that the client does not re-
Hi All,
I am using Apache 2.2 MPM=worker and Red-Hat model is 3.0.Under heavy load
when I do netstat -a, I see lots of socket in TIME_WAIT state.I reduced the
value of
net.ipv4.tcp_max_tw_buckets=100 and I saw the TIME_WAIT came down and the
server was behaving correctly.But when I do dmesg I see t
2008/9/12 André Warnier <[EMAIL PROTECTED]>:
> dave selby wrote:
>>
>> 2008/9/12 André Warnier <[EMAIL PROTECTED]>:
>>>
>>> Manik Taneja wrote:
Nope, there is no way you can prevent the client from sending you an IMS
request.
>>>
>>> The above is correct, but if I understand the OP q
dave selby wrote:
2008/9/12 André Warnier <[EMAIL PROTECTED]>:
Manik Taneja wrote:
Nope, there is no way you can prevent the client from sending you an IMS
request.
The above is correct, but if I understand the OP question correctly, the
basic issue is to make sure that the clie
André Warnier wrote:
2d try :
RewriteEngine on
RewriteLog /var/log/apache2/mysite/rewrite.log
RewriteLogLevel 9 (so we see what's happening)
# 1) check if there is a trigger header and set a var if so
SetEnvIf If-modified-since (.*) wants_cache=1
# but unset the var if it's *not* an image req
Hi,
I'm struggling a bit with mod_alias, wondering if someone can help.
I have the following configuration, running against httpd 2.2.6
SetHandler balancer-manager
Order Deny,Allow
Deny from all
Allow from all
ServerName example.com
ServerAlias *.example.com
Docu
Eric Covener ha scritto:
http://www.my_site.com/folder/1_language/90_Products/126_Product.html
you get this error:
HTTP Status 404 - /folder/1_language/90_Products/126_Product.html
RewriteRule ^/folder/([^/]+)_language/([^/]+)_([^/]+)/([^/]+)_([^/]+)\.html
/folder/my_page.jsp?sez=$2&pag=$4 [L]
Hi you all,
I am trying to configure a pmapper based web site but can get it working.
If I try to access the document root firefox open the save file dialog box
instead of execute the phtml script file.
I have everything (at least I believe.. hope so..) configured as it should
be:
- php5 mod is l
The issue is that you are redirecting / to /a/
You can accomplish what you need with mod_rewrite, though I am not sure the
processing order for redirects done with Redirect and those done with
mod_rewrite so this might involve changing the Redirect permanent directives
to mod_rewrite redirect d
Which is the default value of AllowOverride?
http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
claims that the default is
AllowOverride All
However, /etc/apache2/sites-available/default contains
AllowOverride None
Does this mean that the default is "none"?
-
Andreas,
No, the documentation is accurate. The purpose of this
block, as included in the stock config files and most packages prepared
by linux distribution maintainers, is to ensure that the root of your
filesystem, /, is not accessible from malicious scripts trying to
exploit your web ser
Andreas Prilop wrote:
> Which is the default value of AllowOverride?
>
> http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
> claims that the default is
> AllowOverride All
>
> However, /etc/apache2/sites-available/default contains
>
> AllowOverride None
>
>
> Does this mean
Andreas Prilop wrote:
Which is the default value of AllowOverride?
http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
claims that the default is
AllowOverride All
However, /etc/apache2/sites-available/default contains
AllowOverride None
Does this mean that the default is "n
Ben Spencer wrote:
> The issue is that you are redirecting / to /a/
>
> You can accomplish what you need with mod_rewrite, though I am not sure the
> processing order for redirects done with Redirect and those done with
> mod_rewrite so this might involve changing the Redirect permanent directive
You might want to look at
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule
the "'redirect|R [=code]' (force redirect)" section?
benji
Benji Spencer
System Administrator
Moody Bible Institute
Phone: 312-329-2288
Fax: 312-329-8961
> -Original Message-
> From: Eric Bow
Ben Spencer wrote:
> You might want to look at
>
> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule
>
> the "'redirect|R [=code]' (force redirect)" section?
>
>
That's the ticket -- thanks!
--
Eric Bowman
Boboco Ltd
[EMAIL PROTECTED]
http://www.boboco.ie/ebowman/pubkey.pgp
+
I am setting up a new server. My pages come up blank.
I checked the httpd error log and found this error:
PHP Notice: Undefined variable: DOCUMENT_ROOT in
/var/www/html/studentjobs/index.php on line 6, referer:
Phpinfo on the old (working) server and the new server both report:
DOCUMENT_ROOT
André Warnier wrote:
André Warnier wrote:
3d try :
supposes mod_setenvif, mod_rewrite, mod_header
RewriteEngine on
RewriteLog /var/log/apache2/mysite/rewrite.log
RewriteLogLevel 9 (so we see what's happening)
# 1) check if there is a trigger header and set a var if so
SetEnvIf If
Marc Fromm wrote:
I am setting up a new server. My pages come up blank.
I checked the httpd error log and found this error:
PHP Notice: Undefined variable: DOCUMENT_ROOT in
/var/www/html/studentjobs/index.php on line 6, referer:
Phpinfo on the old (working) server and the new server both repo
php.net is your friend
Just type "http://php.net/"; followed by something like a function name
or env var.
http://php.net/error_reporting
Turn on error_reporting in php.ini and your page will not be blank.
You might be using an old script with php5 or newer that use global
variables.
I
Cassiel wrote:
Hi you all,
I am trying to configure a pmapper based web site but can get it working.
If I try to access the document root firefox open the save file dialog
box instead of execute the phtml script file.
I have everything (at least I believe.. hope so..) configured as it
should
Hi,
Use this script to find out where php is getting these values. Open a
new file and call it php.ini and then put the following contents:
then put this information in your DOCUMENT_ROOT and then call this
script from your browser and it will show you all of your information
php on your sy
"dave selby" <[EMAIL PROTECTED]> writes:
> Is there a way for me to turn off if-modified-since so the client
> browser will ALWAYS use its locally cached document
Dave,
Usually sending an Expires header will tell browsers to mostly use a
cached version. I use something like this to set my expir
Hey guys,
I am wondering which FastCGI Module is the recommended one to use.
As far as I see it, there are two:
mod_fastcgi and mod_fcgid
I am planning on spawning my php fastcgi backends with php-fpm.
Which module is the way to go right now to connect Apache to those backends?
Regards,
Samy
-
Hi,
I want to use fastcgi or fcgid with Apache 2.2.9 under Windows XP but I
don't know which of them can do what I want.
I would like to be able to use my app as an external application. Do both
fastcgi and fcgid offer this possibility?
Is it possible to run applications as external apps unde
30 matches
Mail list logo