Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Nick Kew
On Fri, 8 Jun 2007 03:54:55 + Mark Constable <[EMAIL PROTECTED]> wrote: > I'm struggling to find any info or examples on how to include > sqlite3 support for mod_authn_dbd and httpd-2.2.4. This is my > current configure line but it's not working. I suspect I need > to build apr separately Bui

RE: [EMAIL PROTECTED] setting MaxClients locally?

2007-06-08 Thread Allen Pulsifer
Hi Martin, You could run two completely separate instances of httpd, one listening on port 80 with MaxClients=100 serving your normal content, and the other listening at port 8000 with MaxClients=20 serving your large PDF's. This would require two completely separate http.conf files (for example,

[EMAIL PROTECTED] setting MaxClients locally?

2007-06-08 Thread Martijn
Hello. A bit of a long shot... On my website, there is a directory containing a relatively large number of big files (PDFs). Every now and then, there is a user that sees them, gets very excited and downloads them all within a short period of time (probably using FF's DownThemAll plugin or someth

Re: [EMAIL PROTECTED] setting MaxClients locally?

2007-06-08 Thread Martijn
On 6/8/07, Allen Pulsifer <[EMAIL PROTECTED]> wrote: > You would also have to change all links to the PDF's > from www.yoursite.com/file.pdf to ... Of you could setup www.yoursite.com/file.pdf to do a 301 or 302 redirect to the new location of the PDF file. Both mod_alias and mod_rewrite can do

Re: [EMAIL PROTECTED] setting MaxClients locally?

2007-06-08 Thread Tony Stevenson
Allen Pulsifer wrote: Hi Martin, You could run two completely separate instances of httpd, one listening on port 80 with MaxClients=100 serving your normal content, and the other listening at port 8000 with MaxClients=20 serving your large PDF's. This would require two completely separate htt

RE: [EMAIL PROTECTED] setting MaxClients locally?

2007-06-08 Thread Allen Pulsifer
> You would also have to change all links to the PDF's > from www.yoursite.com/file.pdf to ... Of you could setup www.yoursite.com/file.pdf to do a 301 or 302 redirect to the new location of the PDF file. Both mod_alias and mod_rewrite can do redirects. mod_rewrite can be more flexible but is mu

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Mark Constable
On Friday 08 June 2007 07:11:17 Nick Kew wrote: > Building apr and apr-util will fix it. You can do that from > your httpd tarball by building srclib/apr and srclib/apr-util > before building httpd itself. Thanks Nick. It seems my ArchLinux desktop apr-util package uses --without-sqlite3 in it's

RE: [EMAIL PROTECTED] httpd attempts to open file.html/.htaccess (is this a bug?)

2007-06-08 Thread Allen Pulsifer
> Let me guess. > > You're using the version of ReiserFS that changed the > semantics of stat()? Hello Nick, The filesystem is ext3, running on top of Red Hat's standard LVM. This is the default for a RHEL5 / CentOS5 installation. Is anyone able to use strace to confirm that this either happe

RE: [EMAIL PROTECTED] setting MaxClients locally?

2007-06-08 Thread Allen Pulsifer
> I probably should have said this in > the first place, most of these PDFs are hidden behind a > login*, while a few of them are even paid-for. (And to make > it even more complicated, PDFs become free after a while, > while their location stays the same.) Apache knows -via a > whole bunch of

[EMAIL PROTECTED] Pool memory allocation - apache

2007-06-08 Thread ramakrishnaprasad.annasamudram
Hi, One more query.Sorry i am new comer to apache. We are trying to create a custom log file by using hook handler apr_hook_open_logs(). We are passing server_rec * and apr_pool_t * to the handler in apr_hook_open_logs(). Then we are allocating memory for our file name holder variable using ca

Re: [EMAIL PROTECTED] httpd attempts to open file.html/.htaccess (is this a bug?)

2007-06-08 Thread Nick Kew
On Fri, 8 Jun 2007 06:24:20 -0400 "Allen Pulsifer" <[EMAIL PROTECTED]> wrote: > The filesystem is ext3, running on top of Red Hat's standard LVM. > This is the default for a RHEL5 / CentOS5 installation. In that case it's not what I thought when I posted. Sorry I don't have time to follow up on

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Nick Kew
On Fri, 8 Jun 2007 10:17:33 + Mark Constable <[EMAIL PROTECTED]> wrote: > Invalid command 'DBDriver', perhaps misspelled or defined by > a module not included in the server configuration failed! You need to load mod_dbd. -- Nick Kew Application Development with Apache - the Apache Modul

[EMAIL PROTECTED] child pid 27662 exit signal Illegal instruction (4)

2007-06-08 Thread Jeff Fulmer
Hi, It looks like I have a race condition on HPUX with apache 2.0.59. Here's what I see in the error logs: [Tue May 29 07:41:16 2007] [notice] child pid 27662 exit signal Illegal instruction (4) I was able to reduce the httpd.conf file to a simplified form in order to reproduce this error. Here'

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Vincent Bray
On 08/06/07, Mark Constable <[EMAIL PROTECTED]> wrote: However, after enabling mod_auth_basic and mod_authn_dbd in the Debian stable apache 2.2.3 configuration I am still getting... Invalid command 'DBDriver', perhaps misspelled or defined by a module not included in the server configuration f

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Mark Constable
On Friday 08 June 2007 11:42:08 Nick Kew wrote: > You need to load mod_dbd. Ah, of course, but... perhaps it's now a Debian problem. # a2enmod dbd Module dbd installed; run /etc/init.d/apache2 force-reload to enable. # /etc/init.d/apache2 force-reload Forcing reload of web server (apache2).../us

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Mark Constable
On Friday 08 June 2007 12:25:17 Mark Constable wrote: > Ah, of course, but... perhaps it's now a Debian problem. And on my ArchLinux desktop where I just compiled apr-util --with-sqlite3 the httpd daemon at least runs but shows an endless stream of the below in the logs. An authentication attempt

[EMAIL PROTECTED] Apache 2.2.4 couldn't start rotatelogs.exe

2007-06-08 Thread Nguyen Nguyen Thi Thao
Hi all, I'm seeing a problem when using rotatelogs with Apache 2.2.4 on Windows Server 2000 SP4. I'm using below syntax for ErrorLog in httpd.conf: ErrorLog "|C:/PROGRA~1/apache/bin/rotatelogs.exe C:/PROGRA~1/apache/logs/error.%Y%m%d 86400" After installing, I couldn't start apache

[EMAIL PROTECTED] SharePoint crawler crashes Apache server PC

2007-06-08 Thread Jim Owens
I've been having a problem with my W2K Apache intranet server booting itself once a day. The system log said it was doing a SaveDump for a "bugcheck." Comparing the system log with the Apache access log, I've found an exact correlation between the crashes and a long series of hits from a rece

RE: [EMAIL PROTECTED] Apache, Windows XP, and mapped drives

2007-06-08 Thread Jim Owens
The Apache documentation certainly recommends against granting network access to the local System account. I don't know why MS thought to add that bit -- maybe they were just being thorough. As for my other remark, it was a bit confused -- sorry. From experience I know that I can't get a resource

Re: [EMAIL PROTECTED] need to alter FROM address when sending with PHP forms

2007-06-08 Thread Dragon
Dylan Bouterse wrote: My company has a RH ES4 web server running apache/2.2.2 and PHP 5.1.4. Our PHP programmer has developed quite a few PHP email forms and each time an email is sent, the FROM: address is [EMAIL PROTECTED] I don't know if this is a PHP problem or apache problem (or even a sendm

Re: [EMAIL PROTECTED] Apache, Windows XP, and mapped drives

2007-06-08 Thread Tony Stevenson
Jim Owens wrote: The Apache documentation certainly recommends against granting network access to the local System account. I don't know why MS thought to add that bit -- maybe they were just being thorough. As for my other remark, it was a bit confused -- sorry. From experience I know that I

[EMAIL PROTECTED] mod_rewrite and mod_jk help

2007-06-08 Thread Rony
Hi httpd users, Would greatly appreciate your help. Have the following case: I have the latest httpd, mod_jk, and tomcat installed. Have set all the /user/ to pass to tomcat via mod_jk. And it works, mod_jk no problem. JkMount /user/* lbUser Now want when a user browse www.example.com

RE: [EMAIL PROTECTED] mod_rewrite and mod_jk help

2007-06-08 Thread Allen Pulsifer
> Now want when a user browse www.example.com/someusername/ > httpd will forward the request to > www.example.com/user/?user=someusername > > And when browse a user browse > www.example.com/someusername/login/ httpd will forward the > request to www.example.com/user/login/?user=someusername >

[EMAIL PROTECTED] Apache 2.2.3

2007-06-08 Thread Kong, Alan
Hi group, I installed apache 2.2.3 in HPUX11.11 and I will be able to access the test index.html(It works!!!). However, when I try to access the test gif in the same directory, it gives me an error saying that it is not available. I am new for apache, does anyone know how to fix this problem?

Re: [EMAIL PROTECTED] Apache 2.2.3

2007-06-08 Thread Hiep Nguyen
check/change permission of gif file is one way. On Fri, 8 Jun 2007, Kong, Alan wrote: Hi group, I installed apache 2.2.3 in HPUX11.11 and I will be able to access the test index.html(It works!!!). However, when I try to access the test gif in the same directory, it gives me an error saying

[EMAIL PROTECTED] OT: where to discuss general issues concerning spiders?

2007-06-08 Thread Mark H. Wood
Your chance to tell me where to go :-) I'm looking for a good place to discuss non-server-specific issues relating to spidering. Such as: "I have this great new proposal that would help us to segregate spider and real-user access in our statistics" -- Mark H. Wood, Lead System Programmer

RE: [EMAIL PROTECTED] Apache 2.2.3

2007-06-08 Thread Kong, Alan
Hi, Thanks for your response. All these files are with read permissions. -rw-r--r-- 1 cuflinkusers 2326 Nov 20 2004 apache_pb.gif -rw-r--r-- 1 cuflinkusers 1385 Nov 20 2004 apache_pb.png -rw-r--r-- 1 cuflinkusers 2410 Dec 14 2005 apache_pb22.gif -rw-r

Re: [EMAIL PROTECTED] Apache 2.2.3

2007-06-08 Thread Joshua Slive
On 6/8/07, Kong, Alan <[EMAIL PROTECTED]> wrote: Hi group, I installed apache 2.2.3 in HPUX11.11 and I will be able to access the test index.html(It works!!!). However, when I try to access the test gif in the same directory, it gives me an error saying that it is not available. I am new for

[EMAIL PROTECTED] Strange "expires" header

2007-06-08 Thread Jonathan Stein
Hi. I have discovered, that an Apache 2.2.3 server sets an "Expires" header on our static content. (E.g. http://news.dds.dk/uploads/pics/broenonline.gif). The time is always the current time, so all content is reloaded on subsequent requests. However, there is no "Cache-Control" header. mod_expir

[EMAIL PROTECTED] Header set Content-type

2007-06-08 Thread Paul Simon
Hi. I'm trying to set Content-type and content-disposition using mod_headers but it's only partly working: RewriteRule sesp-apprv.csv$ - [E=SESP_CONT_DISP:Yes] Header always set Content-Type "application/ms-excel" env=SESP_CONT_DISP Header always set content-disposition "attachment;

Re: [EMAIL PROTECTED] Header set Content-type

2007-06-08 Thread Joshua Slive
On 6/8/07, Paul Simon <[EMAIL PROTECTED]> wrote: Is it impossible to set the Content-Type? Any suggestions? It is impossible to set Content-Type using mod_headers. All the standard HTTP protocol headers are controlled by the apache core and can't be overriden with mod_headers. But you can se

[EMAIL PROTECTED] exports.c compile problem on mac osx

2007-06-08 Thread Camilo Rostoker
Hi, I am trying to compile httpd 2.2.4 on a Mac OSX 10.4.9 running Darwin Kernel Version 8.9.1, but keep getting an error related to redefinitions in the exports.c file. First I configure using only: ./configure --prefix=/usr/local/apache2 Then make stops abruptly with the errors: [snipped]

[EMAIL PROTECTED] Re: Apache 2.2.3

2007-06-08 Thread Robert T Wyatt
Is it a public page? May we see the URL? Have you checked that the .gif is being called with an appropriate relative or absolute URL? That is, is the link correct? Alternatively, as Joshua said, what is the exact error message? Please keep your replies on the list since most of us are going home

Re: [EMAIL PROTECTED] exports.c compile problem on mac osx

2007-06-08 Thread Robert T Wyatt
... from google: "This kind of error can happen when there is an existing installation of httpd in the prefix for which this build is configured. Remove the existing installations completely, and start again from scratch" hth Camilo Rostoker wrote: > Hi, > > I am trying to compile httpd 2.2

[Fwd: Re: [EMAIL PROTECTED] Apache, Windows XP, and mapped drives]

2007-06-08 Thread Tony Stevenson
Re sent to the proper group this time. Jim Owens wrote: Thanks, I appreciate your help. That's fine, but please keep the messages on the list for everyone's benefit. You suggest that if I follow your instructions, I could then use, for example, http://example.com/topshare. Unfortunate

[EMAIL PROTECTED] 8443 8443 on the URL ("tomcat-connector")

2007-06-08 Thread Farid Hamjavar
Red Hat 4 Tomcat 5.5.23 Apache 2.0.52 Hello, I have Apache+Tomcat up and this works: https://hostname.unm.edu:8443 (Tomcat welcome page) I use mod_jk2 and workers2.properties to connect Apache and Tomcat And this works too: https://hostname.unm.edu:8443/appname (app's welcome login page) I

RE: [EMAIL PROTECTED] Strange "expires" header

2007-06-08 Thread Allen Pulsifer
> I just tried "curl -I > http://news.dds.dk/uploads/pics/broenonline.gif"; and this is > what I got: > ... > Note, HTTP/1.1 request and no Expires header. Since I didn't get the Expires header, is it possible that some other device like a proxy is adding this header to your request? Allen --

RE: [EMAIL PROTECTED] Strange "expires" header

2007-06-08 Thread Allen Pulsifer
> I have discovered, that an Apache 2.2.3 server sets an > "Expires" header on our static content. > > I suppose Apache won't set the header in a "clean" install, > but which other module could cause this header? from modules\http\http_filters.c, line 1008: /* * Control cachability for

RE: [EMAIL PROTECTED] mod_rewrite and mod_jk help

2007-06-08 Thread Rony
Thanks Allen for your reply. in my setting, the /user/ has a home.jsp. if i access normally to www.example.com/user/home.jsp it works (i've set in /etc/hosts to point www.example.com to 127.0.0.1). the /user/ is in the tomcat, connected via mod_jk. now i change your sample rewrite rule abit to Re

[EMAIL PROTECTED] LimitRequestBody and mod_ssl

2007-06-08 Thread Serge Dubrouski
Hello - It's more a question to the developers than to the users. I just ran into the problem that mod_ssl doesn't support LimitRequestBody parameter. Instead it has it's own C define SSL_MAX_IO_BUFFER hard set to 128K. That leads into inability for our clients to submit POSTs bigger than 128K ov

[EMAIL PROTECTED] Auth basic only compares first 8 chars

2007-06-08 Thread Mark Constable
Using apache 2.2.4 with mod_auth_basic, mod_dbd and mod_authn_dbd (with apr-util compiled with sqlite3 support) it seems that only the first 8 characters of an incoming password are compared to the crypted version stored in the database! Anyone else notice this with mod_auth_basic ? I'm just wond

[EMAIL PROTECTED] Patch for mod_authn_dbd plaintext auth

2007-06-08 Thread Mark Constable
I need this, not sure if it's of value to anyone else? --- httpd-2.2.4/modules/aaa/mod_authn_dbd.c.orig2006-07-12 03:38:44.0 + +++ httpd-2.2.4/modules/aaa/mod_authn_dbd.c 2007-06-09 05:35:33.0 + @@ -29,6 +29,7 @@ typedef struct { const char *user; const char