Re: [EMAIL PROTECTED] Logs

2008-09-12 Thread Alexandru David Constantinescu
Grant Peel wrote: Hi Justin, Thanks for the reply. FYI I am using UNIX (freebsd). Up tp this point, I have been using an sh script to rotate logs. The logs in question are the access_log and error_log in each one of my (Apache) virtual hosts. logrotate looks like the cats meow! I have

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread Manik Taneja
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread dave selby
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread André Warnier
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread André Warnier
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread dave selby
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 cached

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread André Warnier
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

[EMAIL PROTECTED] question on TIME_WAIT

2008-09-12 Thread Arnab Ganguly
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread dave selby
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 question correctly, the basic

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread Manik Taneja
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread André Warnier
André Warnier wrote: 2d try : RewriteEngine on RewriteLog /var/log/apache2/mysite/rewrite.log RewriteLogLevel 9 (so we see what's happening) Location /thelocation # 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

[EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Eric Bowman
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 Location /balancer-manager SetHandler balancer-manager Order Deny,Allow Deny from all Allow from all /Location VirtualHost *:80 ServerName

[EMAIL PROTECTED] PHP5 .phtml files problem

2008-09-12 Thread Cassiel
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

RE: [EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Ben Spencer
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

[EMAIL PROTECTED] Default value of AllowOverride

2008-09-12 Thread Andreas Prilop
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 Directory / AllowOverride None /Directory Does this mean that the default is

Re: [EMAIL PROTECTED] Default value of AllowOverride

2008-09-12 Thread Frank Gingras
Andreas, No, the documentation is accurate. The purpose of this Directory 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

Re: [EMAIL PROTECTED] Default value of AllowOverride

2008-09-12 Thread Davide Bianchi
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 Directory / AllowOverride None /Directory Does

Re: [EMAIL PROTECTED] Default value of AllowOverride

2008-09-12 Thread André Warnier
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 Directory / AllowOverride None /Directory Does this mean

Re: [EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Eric Bowman
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 directives

RE: [EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Ben Spencer
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 Bowman

Re: [EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Eric Bowman
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

[EMAIL PROTECTED] blank pages

2008-09-12 Thread Marc Fromm
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

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread André Warnier
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) Location /thelocation # 1) check if there is a trigger header and set a

Re: [EMAIL PROTECTED] blank pages

2008-09-12 Thread Justin Pasher
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

Re: [EMAIL PROTECTED] blank pages

2008-09-12 Thread Bradley Giesbrecht
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

Re: [EMAIL PROTECTED] PHP5 .phtml files problem

2008-09-12 Thread Norman Peelman
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

Re: [EMAIL PROTECTED] blank pages

2008-09-12 Thread fchan
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: ?php phpinfo(); ? then put this information in your DOCUMENT_ROOT and then call this script from your browser and it will show you all of your

Re: [EMAIL PROTECTED] way for me to turn off if-modified-since always return 304 reply ?

2008-09-12 Thread Scott Gifford
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 expires

[EMAIL PROTECTED] Recommended FastCGI module for PHP?

2008-09-12 Thread Samuel Vogel
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

[EMAIL PROTECTED] fastcgi/fcgid

2008-09-12 Thread Octavian Rasnita
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