Re: [EMAIL PROTECTED] mod_rewrite redirecting multiple domain names to the one name

2008-02-28 Thread Nils Jeppe
On Fri, 29 Feb 2008, Viv D-F wrote: I figure this is a fairly common problem, but I haven't been able to find any examples of how this is usually done. I'm not convinced that this is best done in the Apache config. Is this done at the DNS instead? There are, I think, three ways to do this.

[EMAIL PROTECTED] mod_rewrite redirecting multiple domain names to the one name

2008-02-28 Thread Viv D-F
I have a web server set up with 3 different domain names registered. For simplicity, I'll call them... http://site1.com http://site2.com http://site3.com I want http://site1.com to be the name people remember, so no matter which URL they use to get to the site, they are redirected to http://site1

Re: [EMAIL PROTECTED] tuning

2008-02-28 Thread J. Peng
Most time (I'm sure it's 90%) the performance is descided by application,not apache itself. Even apache the default installion has good performance enough. For us we need the higher performance really, so we develop our own webserver (called Qhttpd), it's maybe not so standard, but can handle much

[EMAIL PROTECTED] tuning

2008-02-28 Thread Krishna Chandra Prajapati
Hi All, I am new to this group. I would to know how i can tune apache to give better performance. Thanks -- Krishna Chandra Prajapati MySQL DBA, Ed Ventures e-Learning Pvt.Ltd. 1-8-303/48/15, Sindhi Colony P.G.Road, Secunderabad. Pin Code: 53 Office Number: 040-66489771 Mob: 9912924044 URL:

Re: [EMAIL PROTECTED] AddDefaultLanguage broken?

2008-02-28 Thread Alexandra Zaharia
On 2/28/08, Joshua Slive <[EMAIL PROTECTED]> wrote: > In earlier versions, mod_autoindex didn't set any charset at all. This > meant that AddDefaultCharset, which only works when no other charset > is specified, was picked up. But it also meant that no charset was > sent at all if AddDefaultChar

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread J. Peng
I talk nothing about cache. if mod_deflate didn't compress a file, why it still send a Vary header? This is what I'm always talking about. On Fri, Feb 29, 2008 at 11:25 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 at 8:46 PM, J. Peng <[EMAIL PROTECTED]> wrote: > > I mean I a

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread J. Peng
On Fri, Feb 29, 2008 at 11:32 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > Start by taking the stuff out of the Location block: that is > explicitly unsupported and unnecessary when the RewriteRule is already > checking for /test2. That's right.I almost forgot that mod_rewrite is working on

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 9:38 PM, J. Peng <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 28, 2008 at 10:35 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > > > On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <[EMAIL PROTECTED]> wrote: > > > Can we do a rewrite based on Accept-Encoding request header? > >

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 8:46 PM, J. Peng <[EMAIL PROTECTED]> wrote: > I mean I access to apache directly, didn't go through any cache/proxy. > ie6 with http/1.0 has problems with a Vary: header, if the response > was not gziped. > What I think is if mod_deflate DIDN'T compress a file, it SHOULD

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread J. Peng
On Thu, Feb 28, 2008 at 10:35 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <[EMAIL PROTECTED]> wrote: > > Can we do a rewrite based on Accept-Encoding request header? > > If the request header includes "Accept-Encoding: gzip, deflate", we > > rewrit

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread J. Peng
I mean I access to apache directly, didn't go through any cache/proxy. ie6 with http/1.0 has problems with a Vary: header, if the response was not gziped. What I think is if mod_deflate DIDN'T compress a file, it SHOULD NOT send a Vary header. Is it really hard for the author? Not at all. I wrote a

Re: [EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-28 Thread wi
This was exactly what I needed. Thanks. I was in the vicinity, but the piece that I was missing was the initial (\d+). cheers Wayne On Thu, Feb 28, 2008 at 3:30 AM, Krist van Besien <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 at 7:23 AM, wi <[EMAIL PROTECTED]> wrote: > > > > Hi all > > >

Re: [EMAIL PROTECTED] AddDefaultLanguage broken?

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 3:12 PM, Alexandra Zaharia <[EMAIL PROTECTED]> wrote: > Now my question is: is indeed the "AddDefaultCharset" directive > broken/deprecated? Is this a known behavior? In earlier versions, mod_autoindex didn't set any charset at all. This meant that AddDefaultCharset, whi

[EMAIL PROTECTED] AddDefaultLanguage broken?

2008-02-28 Thread Alexandra Zaharia
Hello, I just joined this mailing list because I couldn't get an answer elsewhere on this issue: is the "AddDefaultCharset" directive broken in the recent apache httpd releases? Here's the setup I've tried this on: - Ubuntu 7.10 + apache httpd 2.2.4 installed from the repositories - Ubuntu 7.10

Re: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum

2008-02-28 Thread Rush
I'm running into identical problem... Did anyone found solution . if possible can you please email me solution at [EMAIL PROTECTED] thanks Rush Peter Olofson wrote: > > Any ideas I tried 2.2.6 with the same result/problem > /peo > I'm trying to build on hpux with hp C compiler, it fails

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-28 Thread Harry Holt
On Thu, Feb 28, 2008 at 10:46 AM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 at 8:30 AM, Harry Holt <[EMAIL PROTECTED]> wrote: > > > I'd start a bug report, but I have a feeling that *somebody* knows it > > doesn't work, and knows why... > > I wouldn't bank on that, wrt ldap-on

Re: [EMAIL PROTECTED] ssl3_write_pending causes apache 1.3 httpd to crash/coredump

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 11:56 AM, Sailesh Krishnamurthy <[EMAIL PROTECTED]> wrote: > As you said, this may be better pursued over the mod_ssl mailing list. > The problem is similar to the one described here: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg21131.html > > if i can find the culprit

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-28 Thread Harry Holt
> > > > Yes. I've used the Novell LDAP tool, JXplorer, and other tools for > testing > > (as well as my own Java, .NET, and the Novell CAPI and everything works > fine > > exception that Apache module. > > Not immediately clear to me how many of those use the same win32 ldap > library (depends.exe

Re: [EMAIL PROTECTED] ssl3_write_pending causes apache 1.3 httpd to crash/coredump

2008-02-28 Thread Sailesh Krishnamurthy
As you said, this may be better pursued over the mod_ssl mailing list. The problem is similar to the one described here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg21131.html if i can find the culprit cgi app, that may help. can enable duebug loggin in apache help? do let me know. thx On T

Re: [EMAIL PROTECTED] not setting up right

2008-02-28 Thread EJMcLeod
I'll check thanks for the help (Embedded image moved to file: pic26333.jpg) "Joshua Slive" <[EMAIL PROTECTED]>

Re: [EMAIL PROTECTED] not setting up right

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 10:41 AM, <[EMAIL PROTECTED]> wrote: > I down loaded and unzipped the file and tried to execute and install but my > vista system isn't recognizing any of the file formats. I'm wondering if I > didn't down load the wrong program. > I tried repeating the down load of the

Re: [EMAIL PROTECTED] ssl3_write_pending causes apache 1.3 httpd to crash/coredump

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 10:35 AM, Sailesh Krishnamurthy <[EMAIL PROTECTED]> wrote: > is there any way to atleast alleviate this and not produce the core dumps. > recompiling or changing the ssl modules of this > system is quite a big task because it is a widely used roduction isntance? I have not

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-28 Thread Eric Covener
On Thu, Feb 28, 2008 at 8:30 AM, Harry Holt <[EMAIL PROTECTED]> wrote: > I'd start a bug report, but I have a feeling that *somebody* knows it > doesn't work, and knows why... I wouldn't bank on that, wrt ldap-on-windows. My hunch is still the certificate chain that Apache ultimately uses -- an

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-28 Thread Eric Covener
On Thu, Feb 28, 2008 at 8:30 AM, Harry Holt <[EMAIL PROTECTED]> wrote: > > > On Thu, Feb 28, 2008 at 7:29 AM, Eric Covener <[EMAIL PROTECTED]> wrote: > > > > On Wed, Feb 27, 2008 at 9:52 PM, Harry Holt <[EMAIL PROTECTED]> wrote: > > > > > > > > TLS accept failure error=-1 > > > > Are you able to c

Re: [EMAIL PROTECTED] not setting up right

2008-02-28 Thread EJMcLeod
I down loaded and unzipped the file and tried to execute and install but my vista system isn't recognizing any of the file formats. I'm wondering if I didn't down load the wrong program. I tried repeating the down load of the program to see if some of it just didn't come through. (Embedded image mo

Re: [EMAIL PROTECTED] ssl3_write_pending causes apache 1.3 httpd to crash/coredump

2008-02-28 Thread Sailesh Krishnamurthy
is there any way to atleast alleviate this and not produce the core dumps. recompiling or changing the ssl modules of this system is quite a big task because it is a widely used roduction isntance? On Thu, Feb 28, 2008 at 10:05 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 a

RE: [EMAIL PROTECTED] Roadmap for Apache webserver versions

2008-02-28 Thread Foster, Stephen (ASPIRE)
Hi josh, Thanks for the response. I'll make a judgement call on whether I need something more formal or not. Cheers Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: 28 February 2008 15:00 To: users@httpd.apache.org Subject: Re: [

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 9:57 AM, Nils Jeppe <[EMAIL PROTECTED]> wrote: > > > On Thu, 28 Feb 2008, Joshua Slive wrote: > > > For example, why are you forcing MSIE to use HTTP/1.0 requests in the > > first place? > > MSIE defaults to http 1.0 when using a proxy. This can be changed in its > pref

Re: [EMAIL PROTECTED] ssl3_write_pending causes apache 1.3 httpd to crash/coredump

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 9:52 AM, Sailesh Krishnamurthy <[EMAIL PROTECTED]> wrote: > Hi, We have a production apache 1.3 instance on solaris, where of late one > of the httpd processes has been crashing and > producing core dumps. This looks to be a known issue with large SSL file > downloads happen

[EMAIL PROTECTED] Auth-Problems

2008-02-28 Thread Tomas
Even more questions Getting this in my log access to /login failed, reason: verification of user id '' not configured, do I need to have mod_auth_realm the httpd.conf such as LoadModule auth_digest_module mod_auth_digest.so. If so, where do I find the mod_auth_digest.so file then? AuthT

Re: [EMAIL PROTECTED] Roadmap for Apache webserver versions

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 9:17 AM, Foster, Stephen (ASPIRE) <[EMAIL PROTECTED]> wrote: > Can anyone point me in the direction of a roadmap for the Apache HTTP server > product. I am interested in the support lifecycle for the 2.2 product and > also for the 2.0 product. There is no formal support cy

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread Nils Jeppe
On Thu, 28 Feb 2008, Joshua Slive wrote: For example, why are you forcing MSIE to use HTTP/1.0 requests in the first place? MSIE defaults to http 1.0 when using a proxy. This can be changed in its preferences, but of course this requires manual action on the user's part. Best wishes, -

RE: [EMAIL PROTECTED] 403, no permissions, Why?

2008-02-28 Thread Tomas
Thanks, that solved that problem With best regards Tomas Larsson TL Engineering & Consultants Engelbrektsgatan 121 SE 506 39 BorĂ¥s Sweden +46 739 932 673 http://www.tlec.se Verus Amicus Est Tamquam Alter Idem > -Original Message- > From: Boyle Owen [mailto:[EMAIL PROTECTED] > Sent

[EMAIL PROTECTED] ssl3_write_pending causes apache 1.3 httpd to crash/coredump

2008-02-28 Thread Sailesh Krishnamurthy
Hi, We have a production apache 1.3 instance on solaris, where of late one of the httpd processes has been crashing and producing core dumps. This looks to be a known issue with large SSL file downloads happening over apache 1.3. However what I" want to know is how can I debug this production issue

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 1:28 AM, J. Peng <[EMAIL PROTECTED]> wrote: > I just think Apache's mod_deflate has a weak point. > When client doesn't declare it accept encoding, apache returns an > uncompressed object, but for this object mod_deflate also returns a > "Vary: Accept-Encoding" header. >

Re: [EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-28 Thread Joshua Slive
On Thu, Feb 28, 2008 at 12:51 AM, J. Peng <[EMAIL PROTECTED]> wrote: > Can we do a rewrite based on Accept-Encoding request header? > If the request header includes "Accept-Encoding: gzip, deflate", we > rewrite it to pathA. > Otherwise rewrite it to pathB. Yes. The docs are here: http://httpd.

Re: [EMAIL PROTECTED] not setting up right

2008-02-28 Thread Joshua Slive
On Wed, Feb 27, 2008 at 9:21 PM, Edwin <[EMAIL PROTECTED]> wrote: > > Hey i just downloaded the latest version of apache and i can't get it to set > up on my system. It isn't recognizing any of the platform files. You're going to have to give more details than that if you want help. Exactly what d

[EMAIL PROTECTED] Roadmap for Apache webserver versions

2008-02-28 Thread Foster, Stephen (ASPIRE)
Hi there, Can anyone point me in the direction of a roadmap for the Apache HTTP server product. I am interested in the support lifecycle for the 2.2 product and also for the 2.0 product. Many thanks in advance Steve Capgemini is a trading name used by the Capgemini Group of compani

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-28 Thread Harry Holt
On Thu, Feb 28, 2008 at 7:29 AM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Wed, Feb 27, 2008 at 9:52 PM, Harry Holt <[EMAIL PROTECTED]> wrote: > > > > > TLS accept failure error=-1 > > Are you able to connect to a secure ldap host with 'ldp.exe' or any > other MS-based tool? Have you taken an

RE: [EMAIL PROTECTED] 403, no permissions, Why?

2008-02-28 Thread Boyle Owen
> -Original Message- > From: Tomas [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 28, 2008 12:07 PM > To: users@httpd.apache.org > > Now I changed the server document root from /var/www/default > to /var/www > only, now I can access the server BUT > If I type test.dbc-system.com I

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-28 Thread Eric Covener
On Wed, Feb 27, 2008 at 9:52 PM, Harry Holt <[EMAIL PROTECTED]> wrote: > > TLS accept failure error=-1 Are you able to connect to a secure ldap host with 'ldp.exe' or any other MS-based tool? Have you taken any measures to add the issuer of your LDAP servers certificate to the registry-based li

Re: [EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-28 Thread Krist van Besien
On Thu, Feb 28, 2008 at 7:23 AM, wi <[EMAIL PROTECTED]> wrote: > Hi all > > I have a need to create a RewriteRule that will take something like > > /clubhouse/1234567/mediafile.jpg > > and turn it into > > /clubhouse/1/2/3/4/5/6/7/mediafile.jpg > > It seems like a relatively simple thing, but

[EMAIL PROTECTED] Caching reverse proxy with Apache 2.2

2008-02-28 Thread Julien Tartarin
Hello, I am currently setting up a caching reverse proxy server with Apache 2.2 : no problem to configure the reverse proxy, nor to configure data caching. However, as soon as the "source" server is unavailable, the reverse proxy shows errors (service unavailable) instead of serving cached conten

RE: [EMAIL PROTECTED] 403, no permissions, Why?

2008-02-28 Thread Tomas
> -Original Message- > From: Boyle Owen [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 28, 2008 11:48 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] 403, no permissions, Why? > > > -Original Message- > > From: Tomas [mailto:[EMAIL PROTECTED] > > Sent: Thurs

RE: [EMAIL PROTECTED] 403, no permissions, Why?

2008-02-28 Thread Boyle Owen
> -Original Message- > From: Tomas [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 28, 2008 11:10 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] 403, no permissions, Why? > > Dear group. > I'm trying to setup an apache server with mod-python. > suddenly I get 403 on all

[EMAIL PROTECTED] 403, no permissions, Why?

2008-02-28 Thread Tomas
Dear group. I'm trying to setup an apache server with mod-python. suddenly I get 403 on all virtual servers. httpd.conf looks like this, apart from pure standard DocumentRoot /var/www/DBC ServerName trac.dbc-system.com SetHandler mod_python PythonInterpreter main_interpreter

Re: [EMAIL PROTECTED] Weird interaction between Authentication and ErrorDocument directives

2008-02-28 Thread Sean Conner
It was thus said that the Great Sean Conner once stated: > > Okay, I found what appears to be a rather odd bug, or at least a very odd > interaction between multiple paths through Apache. I'm running > Apache/2.0.52 (stock install for CentOS 4.4). Here's the configuration for > the site in que

[EMAIL PROTECTED] Weird interaction between Authentication and ErrorDocument directives

2008-02-28 Thread Sean Conner
Okay, I found what appears to be a rather odd bug, or at least a very odd interaction between multiple paths through Apache. I'm running Apache/2.0.52 (stock install for CentOS 4.4). Here's the configuration for the site in question: ServerNameboston.conman.org ServerAdmin [EMAIL P

Re: [EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-28 Thread J. Peng
for example you have sources url like this: /12318/a.jpg do you need: /1/2/3/18/a.jpg or: /12/3/1/8/a.jpg or: /1/2/3/1/8/a.jpg or: /12/3/18/a.jpg ?? number between 1 .. 18, it's almost impossible to write a regex to do that. On Thu, Feb 28, 2008 at 2:23 PM, wi <[EMAIL PROTECTED]> wrote: > Hi

Re: [EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-28 Thread Sean Allen
As a rewrite rule that could get very hairy. If you are running a server where you use something like mod_perl or mod_python i would set up a handler and do in said language, be MUCH easier. On Feb 28, 2008, at 1:23 AM, wi wrote: Hi all I have a need to create a RewriteRule that will take

Re: [EMAIL PROTECTED] URL redirection

2008-02-28 Thread Sean Allen
Dont do a R for redirect ( that tells the users browser to go to this new url ) Setup proxying and use the P flag in your rewrite. On Feb 28, 2008, at 3:36 AM, Melanie Pfefer wrote: Hello, a servlet is running on port 9000 while apache in running on port 80. The first request I received is

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread J. Peng
On Thu, Feb 28, 2008 at 4:26 PM, Nils Jeppe <[EMAIL PROTECTED]> wrote: > > Try adding: > > Header append Vary User-Agent > no use. at first time I added this statement, but not usefull. mod_deflate handler always add a Vary: accept-encoding in its outgoing response. btw, I have wrote a filter o

[EMAIL PROTECTED] URL redirection

2008-02-28 Thread Melanie Pfefer
Hello, a servlet is running on port 9000 while apache in running on port 80. The first request I received is to have http://server1/OpenObject?doc=ERW changed to http://server1:9000/OpenObject?doc=ERW I changed it using RewriteEngine On RewriteRule ^/(OpenObject.*) http://server1:9000/$1 [R=3

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread Nils Jeppe
On Thu, 28 Feb 2008, J. Peng wrote: No.I didn't set up any proxy before Apache. I access to apache web service directly. Mh? You cc'ed the squid list, that's why I figured it might be a proxy issue. please, it's ie6sp2 with http/1.0 protocal. by default it's http/1.1 protocal. Yes and

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-28 Thread Nils Jeppe
Try adding: Header append Vary User-Agent Best wishes, - Nils On Thu, 28 Feb 2008, J. Peng wrote: ok this is the config in my httpd.conf: AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript SetOutputFilter DEFLATE BrowserMatch ^Mozilla/