[EMAIL PROTECTED] Environment variables problem

2007-08-14 Thread Arsen Hayrapetyan
Hi, In httpd.conf I have 'PerlOptions +SetupEnv' but the variables are not seen from the scripts. (The fragment of httpd.conf can be found on the end of the message). In PerlConfigRequire script I have: ___ use strict; use Data::Dumper; print Dumper (\%ENV); ___ And i

[EMAIL PROTECTED] Environment variables problem

2007-08-14 Thread Arsen Hairapetyan
Hi, In httpd.conf I have 'PerlOptions +SetupEnv' but the variables are not seen from the scripts. (The fragment of httpd.conf can be found on the end of the message). In PerlConfigRequire script I have: ___ use strict; use Data::Dumper; print Dumper (\%ENV); ___ And i

Fwd: [EMAIL PROTECTED] Error: proxy: ap_get_scoreboard_lb(90) failed in child

2007-08-14 Thread Fred Tyler
On 8/13/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > On 13/08/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > > I'm getting a lot of the following errors in my system logs: > > > > [error] proxy: ap_get_scoreboard_lb(90) failed in child 20394 for > > worker http://localhost:83/ > > > > [error] proxy:

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
Solved. The Cache-Control headers were been added by PHP. php.ini had the directive: session.autostart = 1 which automatically initiates a session for every page. That directive in conjunction with: session.cache_limiter = nocache where creating the headers for every page (php & html).

Re: [EMAIL PROTECTED] Zip some script?

2007-08-14 Thread Joshua Slive
On 8/14/07, Chris Arnold <[EMAIL PROTECTED]> wrote: > Joshua Slive wrote: > > > > Look at the response headers when requesting a URL. For example, see: > > http://wiki.apache.org/httpd/WatchingHttpHeaders > > > > > > > > > I get this no matter what file or dir i try: > HEAD /srv/www/htdocs/phpinfo.

Re: [EMAIL PROTECTED] Odd htaccess mod_rewrite problem

2007-08-14 Thread Lars
Well that was a quick and very good and right answer :) Thanks! It worked! But do anyone know of any solution that I can put on the lowest level of .htaccess file? I use this /secure/ directory to store lots of other stuff under, and I have really no control if any other .htaccess files comes under

Re: [EMAIL PROTECTED] Error: proxy: ap_get_scoreboard_lb(90) failed in child

2007-08-14 Thread Fred Tyler
On 8/14/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > On 8/13/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > > On 13/08/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > > > I'm getting a lot of the following errors in my system logs: > > > > > > [error] proxy: ap_get_scoreboard_lb(90) failed in child 20394

Re: [EMAIL PROTECTED] Zip some script?

2007-08-14 Thread Chris Arnold
Joshua Slive wrote: > > Look at the response headers when requesting a URL. For example, see: > http://wiki.apache.org/httpd/WatchingHttpHeaders > > > > I get this no matter what file or dir i try: HEAD /srv/www/htdocs/phpinfo.php 400 Bad Request Bad Request Your browser sent a request that t

[EMAIL PROTECTED] mod_usertrack issue

2007-08-14 Thread Aatish Shah
All, I am facing an issue while the usertrack module. I am setting CookieTracking to be ON within a and I also have provided an expiration time for the cookie. As per the documentation, for all new requests, the cookie will be created. If my understanding is right, it should update the expir

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
Confirmed: No Proxy in Between. --- [EMAIL PROTECTED] escribió: > This is my LoadModules section Joshua: > > LoadModule access_module modules/mod_access.so > LoadModule actions_module modules/mod_actions.so > LoadModule alias_module modules/mod_alias.so > LoadModule asis_module modules/mod_

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
This is my LoadModules section Joshua: LoadModule access_module modules/mod_access.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_module modules/mod_auth.so #LoadModule auth_anon_module mod

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread Joshua Slive
On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I tried this suggestion but it dind't work. > > I've even disabled the negotation module and the > Cache-Control headers are still been sent > > I really don't know where are they coming from... > > HTML pages also have them, not only p

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
I tried this suggestion but it dind't work. I've even disabled the negotation module and the Cache-Control headers are still been sent I really don't know where are they coming from... HTML pages also have them, not only php. mod_headers also disabled... More suggestions? Thanks. --- Vinc

Re: [EMAIL PROTECTED] Problems installing on WinXP

2007-08-14 Thread Joshua Slive
On 8/14/07, Jez Hodgkinson <[EMAIL PROTECTED]> wrote: > Hi, I've installed Apache 2.2.4 on my Windows XP box (I used "localhost" for > both network domain and server name, plus the All Users, on Port 80 option). > > The install appears to work fine (it reported no errors and there's nothing > in th

[EMAIL PROTECTED] Problems installing on WinXP

2007-08-14 Thread Jez Hodgkinson
Hi, I've installed Apache 2.2.4 on my Windows XP box (I used "localhost" for both network domain and server name, plus the All Users, on Port 80 option). The install appears to work fine (it reported no errors and there's nothing in the error log). Apache starts fine. When I try to connect I ge

Re: [EMAIL PROTECTED] For GZIP

2007-08-14 Thread lists
FERRERO Olivier wrote: > Hi, > > If i don't want to send response not compressed, can we force clients to use > always GZIP compression ? No, not all browsers have the ability to handle compressed pages. by using mod_deflate, the currently supported module for compression in pages, any browser tha

Re: [EMAIL PROTECTED] help from httpd.apache.org

2007-08-14 Thread Joshua Slive
On 8/13/07, J. R. <[EMAIL PROTECTED]> wrote: > I am running Apache 2.2.4 on 32 x86.System is XP SP2 (DynDNS) and set server > location. Set DocumentRoot, Set > , AllowOverride ALL, set htpasswd -c, in Notepad=AuthType Basic > AuthName "This is a private area, please log in" > > AuthUserFile "c:\et

Re: [EMAIL PROTECTED] How to preinstal httpd to temporary location for packaging

2007-08-14 Thread Joshua Slive
On 8/14/07, Mikko Sopanen <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to preinstal httpd to temporary location so that httpd is > still configured correctly. > I would need to install httpd to /tmp directory where should be correct > directory structure for actual installation. > In exam

Re: [EMAIL PROTECTED] Zip some script?

2007-08-14 Thread Joshua Slive
On 8/14/07, Chris Arnold <[EMAIL PROTECTED]> wrote: > I put the above lines with in the default-server.conf file. A > stop and then a restart did not reveal any errors. Is there a way to > tell if mod_deflate is working? Look at the response headers when requesting a URL. For example, see: http:

[EMAIL PROTECTED] For GZIP

2007-08-14 Thread FERRERO Olivier
Hi, If i don't want to send response not compressed, can we force clients to use always GZIP compression ? Thank you for your help, Regards, Olivier.

Re: [EMAIL PROTECTED] apache freezes after an hour

2007-08-14 Thread Pascal Hakim
On Mon, 2007-08-13 at 09:09 -0700, MickyLE wrote: > Hi! > I got the same problem > -Debian 4.0 with Apache 2 and php5 > -mods-enabled: alias.load authn_file.load authz_groupfile.load > authz_user.load cgi.load dir.load mime.load php5.conf setenvif.load > ssl.load auth_basic.load authz_defau

Re: [EMAIL PROTECTED] Zip some script?

2007-08-14 Thread Chris Arnold
Chris Arnold wrote: > > … > … > AddOutputFilterByType DEFLATE text/plain > AddOutputFilterByType DEFLATE text/xml > AddOutputFilterByType DEFLATE application/xhtml+xml > AddOutputFilterByType DEFLATE text/css > AddOutputFilterByType DEFLATE application/xml > AddOutputFilterByType DEFLATE image/svg

Re: [EMAIL PROTECTED] 2000 vHosts and indiviual access logs

2007-08-14 Thread Sander Temme
On Aug 14, 2007, at 8:22 AM, Samuel Vogel wrote: Hey, I'm just tried to setup my Apache with 2000 vHosts and it was my Idea to give them seperate access logs. But Apache complains about opening too many files. I know this is restriction linux puts on the users, but I don't know how to chan

[EMAIL PROTECTED] Make install error

2007-08-14 Thread Sennott, Mark
Anyone know a workaround for this problem of installing in an alternate directory? /bin/sh /home/user/httpd-2.2.4/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /usr/local/apache2-trac/lib libtool: install: error: cannot install `libaprutil-1.la' to a directory not e

Re: [EMAIL PROTECTED] Zip some script?

2007-08-14 Thread Chris Arnold
Chris Arnold wrote: > Hello all! I have a site http://www.mytimewithgod.net and this site has > a bunch of

[EMAIL PROTECTED] 2000 vHosts and indiviual access logs

2007-08-14 Thread Samuel Vogel
Hey, I'm just tried to setup my Apache with 2000 vHosts and it was my Idea to give them seperate access logs. But Apache complains about opening too many files. I know this is restriction linux puts on the users, but I don't know how to change this... [Tue Aug 14 16:37:33 2007] [error] (24)To

[EMAIL PROTECTED] Zip some script?

2007-08-14 Thread Chris Arnold
Hello all! I have a site http://www.mytimewithgod.net and this site has a bunch of

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread Vincent Bray
On 14/08/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I found, that mod_expires automatically adds > Cache-Control headers depending on the activated > directives of that module. > > However, this module is disabled in my http.conf and > no .htaccess files are around... Complete guess.. If y

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
I found, that mod_expires automatically adds Cache-Control headers depending on the activated directives of that module. However, this module is disabled in my http.conf and no .htaccess files are around... suggestions? Thanks. --- [EMAIL PROTECTED] escribió: > Hello, > > I have a Apache/2.0.

Re: [EMAIL PROTECTED] Odd htaccess mod_rewrite problem

2007-08-14 Thread Vincent Bray
On 14/08/07, Lars <[EMAIL PROTECTED]> wrote: > Hello List > RewriteEngine on > RewriteRule ^file-(.*)$ show-file.php?file=$1 [NC] > But here is the problem. When I have the last rule, the first cookie > check rule doesnt apply. Why? I tought that apache was checking > htaccess file like this, 1)

Re: [EMAIL PROTECTED] URL Redirect

2007-08-14 Thread Joshua Slive
On 8/14/07, Rajendra Rait <[EMAIL PROTECTED]> wrote: > > I did that using ProxyPass, but is it possible to keep the URL name i.e. > http://www.a.com constant through the site. No. That's not how the web works and that is a terrible idea because it breaks lots of useful stuff like bookmarking,

[EMAIL PROTECTED] Odd htaccess mod_rewrite problem

2007-08-14 Thread Lars
Hello List I have a problem with htaccess I cant quite figure out of. I have a .htaccess file in /secure/ with something like this: RewriteEngine on RewriteCond %{HTTP_COOKIE} !^.*PHPSESSID=1234567890abcdef1234567890abc.*$ RewriteRule .*$ - [F] This sends 403 if the browser doesnt have the spe

Re: [EMAIL PROTECTED] How to show a html file without providing the .html extension in the URL?

2007-08-14 Thread Dinesh Kumar
Thanks Vincent. Works nicely! Regards, Dinesh. On 8/14/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > > On 14/08/07, Dinesh Kumar <[EMAIL PROTECTED]> wrote: > > I need to display html pages without providing the .html extension in > the > > URL? > > LoadModule negotiation_module modules/mod_negot

[EMAIL PROTECTED] Re: How to show a html file without providing the .html extension in the URL?

2007-08-14 Thread \"Crash\" Dummy
> I need to display html pages without providing the .html extension in the > URL? > To illustrate: I have a file /readme.html. > I want to access it as http://192.168.0.100/readme This may be browser dependent, but with Internet Explorer you don't need an extension to tell it what the file is.

Re: [EMAIL PROTECTED] How to show a html file without providing the .html extension in the URL?

2007-08-14 Thread Vincent Bray
On 14/08/07, Dinesh Kumar <[EMAIL PROTECTED]> wrote: > I need to display html pages without providing the .html extension in the > URL? LoadModule negotiation_module modules/mod_negotiation.so Options +MultiViews -- noodl -

[EMAIL PROTECTED] How to show a html file without providing the .html extension in the URL?

2007-08-14 Thread Dinesh Kumar
Hi all, I need to display html pages without providing the .html extension in the URL? To illustrate: I have a file /readme.html. I want to access it as http://192.168.0.100/readme I have gone through the documentation for most of the modules, and configuration documentation on the Apache site

[EMAIL PROTECTED] How to preinstal httpd to temporary location for packaging

2007-08-14 Thread Mikko Sopanen
Hello, Is it possible to preinstal httpd to temporary location so that httpd is still configured correctly. I would need to install httpd to /tmp directory where should be correct directory structure for actual installation. In example /tmp/usr/local/apache2 etc. After installation I'm gonna preco

Re: [EMAIL PROTECTED] Apache on Windows - PHP Failure - NO Restart

2007-08-14 Thread Victor Trac
Sorry, I'm only familiar with what happens on the linux side of things. What happens on Windows may be different, but if it helps, mod_php will cause apache processes to segmentation fault after a random amount of load (usually after 2-3 days). At this point, anything that apache sends off to php

Re: [EMAIL PROTECTED] Apache on Windows - PHP Failure - NO Restart

2007-08-14 Thread Stephen Johnston
Victor, Just to be clear. Are you saying they all end up crashing Apache, or causing Aache not to gracefully recover from crashes? There are two issues here and I'd like to know for which FastCGI is a typical solution. We've already been investigating fcgid as an option. -Stephen On 8/13/07, Vi

[EMAIL PROTECTED] Re: Re: Re: content negotation and query strings?

2007-08-14 Thread Per Jessen
Nick Kew wrote: > On Tue, 14 Aug 2007 10:44:31 +0200 > Per Jessen <[EMAIL PROTECTED]> wrote: > >> Nope, this is definitely negotiation. The example I have is straight >> forward (except perhaps that I use phpinfo()). >> >> But it's a moot point - see >> http://issues.apache.org/bugzilla/show_bu

Re: [EMAIL PROTECTED] HTTP headers anomaly

2007-08-14 Thread Nick Kew
On Tue, 14 Aug 2007 10:16:09 +0100 "Hugh Acland" <[EMAIL PROTECTED]> wrote: > Thanks, silly me. However am I correct in saying that all mobile > devices DO send the screen size in the http headers - even if not all > mobile devices conform to the cc/pp protocol? Couldn't speak for all mobile devi

[EMAIL PROTECTED] Implications of starting apache as non-root

2007-08-14 Thread Vincent Bray
Hi, Assuming that the option to do so is available, is it any more or less secure to start the parent process as non-root? For example, say apache is running a single application behind a load balancer so the port number doesn't matter. Pros: There's no chance that a security hole could lead to

Re: [EMAIL PROTECTED] URL Redirect

2007-08-14 Thread Rajendra Rait
I did that using ProxyPass, but is it possible to keep the URL name i.e. http://www.a.com constant through the site. Raj Joshua Slive wrote: On 8/9/07, Rajendra Rait <[EMAIL PROTECTED]> wrote: Is it possible to hide the whole IP and the contents and just display www.#*$!#*$!

Re: [EMAIL PROTECTED] Re: Re: content negotation and query strings?

2007-08-14 Thread Nick Kew
On Tue, 14 Aug 2007 10:44:31 +0200 Per Jessen <[EMAIL PROTECTED]> wrote: > Nope, this is definitely negotiation. The example I have is straight > forward (except perhaps that I use phpinfo()). > > But it's a moot point - see > http://issues.apache.org/bugzilla/show_bug.cgi?id=33112 Thanks for

Re: [EMAIL PROTECTED] apache freezes after an hour

2007-08-14 Thread MickyLE
I have to admit, that my assumption, the server could “be kissed awake” by calling www.domain1.tld/index.html and www.domain2.tld/index.php, was a mistake – this do not work. Sorry! -- View this message in context: http://www.nabble.com/apache-freezes-after-an-hour-tf4224187.html#a12141297 Sent

Re: [EMAIL PROTECTED] HTTP headers anomaly

2007-08-14 Thread Hugh Acland
Thanks, silly me. However am I correct in saying that all mobile devices DO send the screen size in the http headers - even if not all mobile devices conform to the cc/pp protocol? for instance this is the http headers for a PDA (which does send a cc/pp vocab URL) -

Re: [EMAIL PROTECTED] Re: Apache spawns hundreds of processes, logging problem?

2007-08-14 Thread Vincent Bray
On 13/08/07, meer <[EMAIL PROTECTED]> wrote: > Vincent Bray napisał(a): > > What are you using for the log rotation? In case it's a disk error, > > check your /var/log/messages for the time the problem's occuring? > > Apache logs are rotated by system's logrotate daemon and there are no > interesti

Re: [EMAIL PROTECTED] HTTP headers anomaly

2007-08-14 Thread Nick Kew
On Tue, 14 Aug 2007 09:34:31 +0100 "Hugh Acland" <[EMAIL PROTECTED]> wrote: > I thought that there was also a lot more information passed in the > header files such as screen size, number of colours, etc. Nope. >Indeed > there are websites out there which can tell you all this info abou

[EMAIL PROTECTED] Re: Re: content negotation and query strings?

2007-08-14 Thread Per Jessen
Nick Kew wrote: > Can you confirm conclusively that it is the negotiation? If there's > anything else in play - such as a Redirect, Alias, or RewriteRule - > please construct an example that eliminates it first. Nope, this is definitely negotiation. The example I have is straight forward (excep

[EMAIL PROTECTED] Re: Re: content negotation and query strings?

2007-08-14 Thread Per Jessen
Tony Stevenson wrote: > I would not open a bug report until you can confirm conclusively that > it is a bug. Thanks for getting back to me, Tony. Turns out it is already a known bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=33112 /Per Jessen, Zürich ---

[EMAIL PROTECTED] HTTP headers anomaly

2007-08-14 Thread Hugh Acland
Hi - I am confused as to the role that my Apache Server has when it comes to http headers. I am running Apache HTTPD in front of glassfish and have written some hacky code to display all the header attributes from a request arriving at the web server. This is what i get: -- ac

Re: [EMAIL PROTECTED] Re: content negotation and query strings?

2007-08-14 Thread Nick Kew
On Tue, 14 Aug 2007 09:20:10 +0100 Tony Stevenson <[EMAIL PROTECTED]> wrote: > Per Jessen wrote: > > Not many takers on this one - does anyone have a suggestion for a > > better forum for this type of question? Not I. > Sorry, this is not something I have used a great deal. I am just > reading t

Re: [EMAIL PROTECTED] Re: content negotation and query strings?

2007-08-14 Thread Tony Stevenson
Per Jessen wrote: Per Jessen wrote: I'm having a bit of a weird problem with apache+php. I'm using type-maps, and somehow the query-string from the origianl URI is not being passed through to the negotiated request. Not many takers on this one - does anyone have a suggestion for a better for

[EMAIL PROTECTED] Re: content negotation and query strings?

2007-08-14 Thread Per Jessen
Per Jessen wrote: > I'm having a bit of a weird problem with apache+php. I'm using > type-maps, and somehow the query-string from the origianl URI is not > being passed through to the negotiated request. Not many takers on this one - does anyone have a suggestion for a better forum for this type