How to learn who reads my blog?
Apache HTTP Server
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP ServerGo to page: « previous | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | next »

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:
Saturday, 20 January 2007
Apache children not dying Matt Wright 06:32:11
 Hi,

I've come across a strange problem with apache recently. Firstly this
happens with both version 2.0 (my redhat machine) and a 1.3 server. I
have a script (php) that streams an mp3 stream compressed from the
soundcard. I work for a student radio station and we're trying to
develop an alternative to streaming with RM. The streaming works fine,
the problem is that when the client closes their connection apache
doesn't realise. It keeps transmitting data forever. We've left it
running overnight and the streams only died when we HUP'd apache. This
is quite annoying because the stream script opens popen pipe to a
program and we can't leave them going indefinately as the server will
eventually die.

Is there any reason why apache can't detect that the client has closed
their connection. Surely the TCP stream stops getting ACK's from the
client. I thought "Timeout 300" should persuade it to stop 5 minutes
after they close the connection but it doesn't. It seems strange that
someone can terminate the TCP connection and Apache doesn't know about
it.

Regards,

Matt Wright


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 12 answers | Add comment
APR, Oracle and PHP & CGI Jeremie Garnier 05:24:19
 Hi all,



I don't know why the test dbd works fine but when i make a cgi in order to use it. It doesn't work.

It loads the oracle driver (via the function apr_dbd_get_driver but the function a^pr_dbd_open doesn't work (into apache, not with the dbd program (in httpd/srclib/apr-ut­il/test)).

Thanks



JИrИmie GARNIER



-----Message d'origine-----
De : Bojan Smojver [mailto:bojan@rexursive.com]
EnvoyИ : mercredi 17 janvier 2007 22:32
ю : Garnier, Jeremie
Cc : Justin Erenkrantz; dev@apr.apache.org
Objet : RE: APR, Oracle and PHP



On Wed, 2007-01-17 at 12:24 +0100, Garnier, Jeremie wrote:


I juste have a question. When I compile APR/APU with oracle, why I
don't I the library apr_dbd_oracle.so?



Are PHP and Apache linked against the new APU? What does ldd give you?



AFAIK, once you compile the Oracle driver in 1.3.0, it becomes part of

libaprutil - it's not a standalone shared object. That's at least how

libaprutil looks on my machine.



I would run ldd/nm to see what is actually in the libaprutil that your

PHP and/or Apache link against. There should be dbd_oracle_* symbols in

it...



--

Bojan



*******************­********************­********************­********************­****
Information contained in this email message is confidential and may be privileged, and is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster@nds.com and destroy the original message.
*******************­********************­********************­********************­****

comment 4 answer | Add comment
Compiling Apache 1.3.37 Val 04:15:26
 Hi.

I've been having a really difficult time compiling apache 1.3.37. It
appears that I am doing something wrong, but I can't figure out what it
is. I hope someone might be able to point me in the right direction.

I tried this:
./configure --prefix=/usr --libexecdir=/usr/l­ibexec/apache
--sysconfdir=/etc/a­pache \
--enable-module=so \
--enable-shared=vho­st_alias \
--enable-shared=env­ \
--enable-shared=log­_config \
--enable-shared=mim­e_magic \
--enable-shared=mim­e \
--enable-shared=neg­otiation \
--enable-shared=sta­tus \
--enable-shared=inf­o \
--enable-shared=inc­lude \
--enable-shared=aut­oindex \
--enable-shared=dir­ \
--enable-shared=cgi­ \
--enable-shared=asi­s \
--enable-shared=ima­p \
--enable-shared=act­ions \
--enable-shared=spe­ling \
--enable-shared=use­rdir \
--enable-shared=ali­as \
--enable-shared=rew­rite \
--enable-shared=acc­ess \
--enable-shared=aut­h \
--enable-shared=aut­h_anon \
--enable-shared=aut­h_dbm \
--enable-shared=dig­est \
--enable-shared=pro­xy \
--enable-shared=cer­n_meta \
--enable-shared=exp­ires \
--enable-shared=hea­ders \
--enable-shared=use­rtrack \
--enable-shared=log­_forensic \
--enable-shared=uni­que_id \
--enable-shared=set­envif

After this executing 'make' succeeds, but only a small fraction of the
DSOs I asked for are linked into .so files. More specifically, when I
look in 'apache_1.3.37/src/­modules/standard', these modules are missing:

mod_vhost_alias.so
mod_mime_magic.so
mod_negotiation.so
mod_status.so
mod_info.so
mod_speling.so
mod_rewrite.so
mod_auth_anon.so
mod_auth_dbm.so
mod_digest.so
mod_cern_meta.so
mod_expires.so
mod_headers.so
mod_usertrack.so
mod_log_forensic.so­
mod_unique_id.so

The others I specified are there. Why would this happen? What is special
about these?

Any ideas would be appreciated. Thanks.

--
Val <vace117@yahoo.ca>

___________________­____________________­___________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.c­om

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 2 answer | Add comment
Client Certificate authentication not working Deval Shah 00:37:08
 Hello,
Please help me I have been trying to get this working for 2 weeks now. Here
is the error:
[debug] ssl_engine_kernel.c­(426): Changed client verification type will
force renegotiation
[info] Requesting connection re-negotiation
......
...
[debug] ssl_engine_kernel.c­(1770): OpenSSL: Write: SSLv3 read client
certificate B
[debug] ssl_engine_kernel.c­(1789): OpenSSL: Exit: error in SSLv3 read client
certificate B
[error] Re-negotiation handshake failed: Not accepted by client!?

I created a local CA. Worked fine
I have a trusted certificate from Thawte on Apache
I created a client certificate using my local CA - worked well. CN = Deval
Shah
I imported the client certificate and CA certificate in IE. IE shows the
certificate properly without any error.

httpd-ssl.conf file
SSLCertificateFile /usr/local/apache2/­conf/ssl.crt/server.­crt -> Points to
certificate from Thawte SSLCertificateKeyFi­le
/usr/local/apache2/­conf/ssl.key/server.­key
SSLCACertificateFil­e /usr/local/apache2/­conf/ssl.crt/devalCA­.crt -> local
CA that i created
SSLVerifyDepth 10
<Location /testcerts/*>
SSLOptions +ExportCertData +OptRenegotiate +StdEnvVars
SSLVerifyClient require
SSLRequire %{SSL_CLIENT_S_DN_C­N} in {"Deval Shah"}
</Location>

Let me know what is wrong?

Thanks
Deval



-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 4 answer | Add comment
Friday, 19 January 2007
Reg rotatelog.exe in apache 2.2 SriGowri vatticuti 23:58:53
 Hi,
We are running apache 2.2 on windows server 2003 and I was trying to rotate the error.log file:

In httpd.conf I added
ErrorLog "|c:/PROGRA~1/APACH­E~1/Apache2/bin/rota­telogs.exe /logs/error.log 10"

When I restart the apache server it says -unable to find the process for error log

So I changed to
ErrorLog "|c:/PROGRA~1/APACH­E~1/Apache2/bin/rota­telogs.exe C :/PROGRA~1/APACHE~1­/Apache2//logs/error­.log 10"

Even then it complains the same -unable to find process for error log

So I changed to
ErrorLog "|rotatelog.exe logs/error.log 10"
for this the server does not complain any errors but it is not starting

Can anyone please let me know what could be the issue here.

Thanks
vsg



-------------------­--------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
comment 1 answer | Add comment
mod_proxy_balancer: trying to set a request timeout Lucas Brasilino 18:36:10
 Hi All:

I'm doing some tests with Apache 2.2.4 + mod_proxy_balancer where
I have already played with my 2 backend servers in the
following fashion: both up, just one down, getting the down one up
and everything is working just fine.

But now I'm stucked in an issue: I've wrote a little code to accept
HTTP requests but to *NOT* answer the request. So I'd like to, after
a couple of seconds, mod_proxy_balancer assume it is down and
continues it normal behaviour (fetching data from the other worker).
But this 'response timeout' is taking too long, as we can see at
logs:

[Wed Jan 17 16:38:17 2007] [debug] proxy_util.c(2146):­ proxy: HTTP:
connection complete to 127.0.0.1:9080 (localhost)
[Wed Jan 17 16:43:17 2007] [error] [client 200.142.53.197] proxy: error
reading status line from remote server localhost, referer:
http://AA.BB.CC.DD/­

So it is taking *5 minutes* to timeout, which cause browser to be
'waiting for response'.
I've been reading 2.2 mod_proxy docs but I can't figure out how can
I set this timeout, even if this is possible.

Any help ?

Here comes a config snippet:
As I'm making tests, this configuration is done within server config
context.

ProxyRequests Off
<Proxy balancer://webclust­er>
BalancerMember http://server:9080 loadfactor=1
BalancerMember http://localhost:90­80 loadfactor=1
ProxySet lbmethod=byrequests­
</Proxy>
ProxyPass /loadbalancer balancer://webclust­er/
ProxyPassReverse /loadbalancer balancer://webclust­er/
ProxyHTMLLogVerbose­ On
LogLevel Debug

Thanks a lot in advance
Lucas Brasilino


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 1 answer | Add comment
Running Apache with DocumentRoot on a Mapped Drive Christian Toledo 18:09:55
 Is it possible to run Apache Win32 with a DocumentRoot pointing to a
network drive? The servers are on a Workgroup (one with data content and
the other running Apache) and I have setup identical users on both
systems with local admin rights. I have set the Apache service to use
this local user but the service fails to start. The drive is mapped and
I am able to run Apache from the console but it doesn't seem to want to
load using a mapped drive and my guess is that it's due to permissions
issue. I have read this works with servers in the same domain and was
wondering if this was possible with servers in a workgroup
(stand-alone). Thanx.

Christian Toledo
Web Administrator

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 4 answer | Add comment
Main host goes away Bashiro 16:34:10
 

Main host goes away

Hello Folks,

I appologise for any stupid question.
I only want to understand apache better.
Accordding to
http://httpd.apache­.org/docs/2.0/vhosts­/name-based.html ,Main host goes away:
Does this mean whenever one configure any virtual host
regardless of wheter it's https or http, the main server
delcared in the httpd.conf has to be removed and place in
the virtual host block ?

My second question is,
i have three subdomains. domain1.myhost.com domain2.myhost.com and
domain3.myhost.com
Only domain1.myhost.com is intended to serve as ssl
and has been declared in the virtual host to use port 443.

Now Whenever other subdomains are accessed by https://, apache
serve the files directory from domain1.myhost.com even though these
subdomains have not been declared to be used as ssl.
How do I configure apache to serve only the files that are intended for
use with ss (in this case domain1.myhost.com.

Has this something to do with the main server not bein moved to the virtual host block ?


Thanks
bashiro

___________________­____________________­________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.co­m



-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
RE: Changing ssl certificate NOW WORKING Bashiro 12:55:41
 
Owen Thanks a lot. Everything seems to be fine now.
Thank you very much for all the help and support.
and thanks to the mailing list administrators.

Have a nice day!
Bashiro

--- On Fri 01/19, Boyle Owen < Owen.Boyle@swx.com > wrote:
From: Boyle Owen [mailto: Owen.Boyle@swx.com]
To: users@httpd.apache.­org
Date: Fri, 19 Jan 2007 08:17:21 +0100
Subject: RE: [users@httpd] Changing ssl certificate
-----Original Message-----> From: Bashiro [mailto:bashiro@myway.com] > Sent: Thursday, January 18, 2007 10:30 PM> To: Boyle OwenI guess you made an error here and meant to send this to the list andnot to me directly...> Subject: RE: [users@httpd] Changing ssl certificate> > > Hello again,> > > > I deleted the error log and started apache again.> > > > This is what it puts in the eeror log> > > > [Thu Jan 18 22:24:48 2007] [error] Init: SSLPassPhraseDialog­ > builtin is not supported on Win32 (key file > C:/Apache/Apache2.2­/conf/ssl/myserver.k­ey)Your directive (SSLPassPhraseDialo­g builtin) is not supported on your OS(win32). So you can't use it. I've no experience of SSL on windows socan't advise further.A work-around would be to remove the pass-phrase from the cert(http://httpd.a­pache.org/docs/2.2/s­sl/ssl_faq.html#remo­vepassphrase).Rgds,O­wen BoyleDisclaimer: Any disclaimer attached to t
his message may be ignored. > > > > How do I go about it ? > > Thanks in advance> > > > > > Bashiro> > > > --- On Thu 01/18, Boyle Owen < Owen.Boyle@swx.com > wrote:> > From: Boyle Owen [mailto: Owen.Boyle@swx.com]> > To: users@httpd.apache.­org, bashiro@myway.com> > Date: Thu, 18 Jan 2007 10:26:11 +0100> > Subject: RE: [users@httpd] Changing ssl certificate> > > > > -----Original Message-----> From: Bashiro > [mailto:bashiro@myway.com] > Sent: Thursday, January 18, 2007 > 10:21 AM> To: users@httpd.apache.­org> Subject: RE: > [users@httpd] Changing ssl certificate> > > Hello,> I > appreciate any help I do get here.> > I thought the problem > is solved. But I was editing the wrong > httpd.conf file. So > the problem has not benn solved. that is > why I was still > seeing the old certificate in browser.> > Apache does not > start when I change the certificate path anyway.> What am I > doing wrong ? Apache gives a popup windows failed > to start > the serviceerror log?> > Thanks > > Bashiro> > --- On Thu > 01/18, Boyle Owen < Owen.Boyle@swx.com > wrote:> From: Boyle > Owen [mailto: Owen.Boyle@swx.com]> To: > users@httpd.apache.­org> Date: Thu, 18 Jan 2007 08:11:13 > +0100> Subject: RE: [users@httpd] Changing ssl certificate> > > > -----Original Message-----> From: Bashiro > > [mailto:bashiro@myway.com] > Sent: Wednesday, January 17, > > 2007 10:30 PM> To: > users@httpd.apache.­org> Subject: RE: > [users@httpd] Changing > ssl certificate> > > > Thanks again > Owen,> This is my code > snip> > SSLCertificateKeyFi­le > > C:/Apache/Apache2.2­/conf/ssl/myserver.k­ey> SSLCertificateFile > > C:/Apache/Apache2.2­/conf/ssl/myserver.c­rt> > Before apache > > does not start when I change it. Biut now it does start.> > But > the problem is: I still see the old certificate when I > ask > the > browser to show me (during an alert).Make sure > you are > not seeing a cached version - clear the browser > cache(stop > and restart it).Also, you need to do a full stop > then s
tart > of apache to reload a cert -apache restart or > graceful is not > sufficient.> > 1.
How do I change this to > take effect of > the new certificate > in browser.> > 2. > I > have only > declared only one subdomain as secure host > > example, > https://secure.myho­st.com in the virtual host. But > > when other sub > domains are accessed with https:// it does > > display the > files intended only for ssl > virtual domain. How > do I tell > apache not to show ssl > files when any other sub > domain is > accessed using https, > if that subdomain is not > declared as > secure in the > virtual host.What exactly do you mean by > subdomain? Do you > mean you have severalsites on the same IP? > Then you have > name-based virtual-hosting and youcannot > distinguish > between the sites in HTTPS > > (seehttp://httpd.ap­ache.org/docs/2.2/ss­l/ssl_faq.html#vhost­s2)> > Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this > > message may be ignored. > > I beguine to suspect this >
code:> > <VirtualHost _default_:443>> May be the default is > what is > allowing other
subdomains to be > accessed in > https.> > > > Thanks> Bashiro> > --- On Wed 01/17, Boyle > Owen < > Owen.Boyle@swx.com > wrote:> From: Boyle Owen > [mailto: > Owen.Boyle@swx.com]> To: users@httpd.apache.­org> > Date: Wed, > 17 Jan 2007 11:14:32 +0100> Subject: RE: > [users@httpd] Changing ssl > certificate> > > -----Original > Message-----> From: Bashiro > !> > > [mailto:bashiro@myway.com] > Sent: Wednesday, January 17, > > > 2007 10:27 AM> To: users@httpd.apache.­org> Subject: > > > [users@httpd] Changing ssl certificate > > > > Hello folks,> > > > > Thanks in advance for any help I could get.> I created > a > > self-signed certificate and it's working fine.Thanks > to> > the > guys here.> I then created another certificate > and > wanted to > change, > remove or delete the old one. How > do I > let apache > know that I > want to use the new one.> I > > changed the path of > the ssl to
the newly created ssl > > > certificate, What did you > write? (cut'n'paste exact line > > from config)> but I get errors > from apache. what *exact* > > errors (cut'n'paste from browser > and error log)Rgds,Owen > > BoyleDisclaimer: Any disclaimer > attached to this message > > may be ignored. > Cannot start > > service. If I change it to > > the old one then it does work.> > > Any help ?> > Thanks> > > Bashiro> > > > > ___________________­____________________­________> No banners. > !> > > No pop-ups. No > kidding.> Make My Way your home on the > > Web - > http://www.myway.co­m> > > > > > > -------------------­--------------------­--------------------­---> > > -------> The official User-To-User support forum of the > > > Apache HTTP > Server Project.> See > > > <URL:http://httpd.a­pache.org/userslist.­html> for more info.> > > > To unsubscribe, e-mail: > users-unsubscribe@h­ttpd.apache.org> > > " from the > digest: > > users-digest-unsubs­cribe@httpd.apache.o­rg> For > additio
nal > > commands, e-mail: users-help@httpd.ap­ache.org> > This message > > is for the
named person's use only. It may > contain > > confidential, proprietary or legally privileged > information. > > No confidentiality or privilege is waived or > lost by any > > mistransmission. If you receive this message > in error, please > > notify the sender urgently and then > immediately delete the > > message and any copies of it from > your system. Please also > > immediately destroy any > hardcopies of > the message. You must > not, > directly or indirectly, use, > disclose, distribute, > print, > or copy any part of this > > message if you are not the > intended recipient. The sender's > > company reserves the > right to monitor all e-mail > > communications through their > networks. Any views expressed in > > this message are those > of the individual sender, except > where > the message states > otherwise and the sender is > authorised to > state them to > be the views of the
sender's > > > company.-----------­--------------------­--------------------­---> > >
---------------The official User-To-User support forum of > > the > Apache HTTP Server Project.See > > > <URL:http://httpd.a­pache.org/userslist.­html> for more info.To > > > unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org > " > > from the digest: > > users-digest-unsubs­cribe@httpd.apache.o­rgFor > additional > > commands, e-mail: users-help@httpd.ap­ache.org> > > > ___________________­____________________­________> No banners. > > No pop-ups. No kidding.> Make My Way your > home on > the Web - http://www.myway.co­m> > > > > > -------------------­--------------------­--------------------­---> > -------> The official User-To-User support forum of the > > Apache HTTP > Server Project.> See > > <URL:http://httpd.a­pache.org/userslist.­html> for more info.> > > To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org> > > " from the digest: > > users-digest-unsubs­cribe@httpd.apache.o­ rg> For additional > > commands, e-mail: users-help@httpd.ap­ache.org> This message > > is

for the named person's use only. It may contain > > confidential, proprietary or legally privileged information. > > No confidentiality or privilege is waived or lost by any > > mistransmission. If you receive this message in error, please > > notify the sender urgently and then immediately delete the > > message and any copies of it from your system. Please also > > immediately destroy any hardcopies of the message. You must > > not, directly or indirectly, use, disclose, distribute, > > print, or copy any part o!> f > this message if you are not the intended > recipient. The > sender's company reserves the right to monitor > all e-mail > communications through their networks. Any views > expressed > in this message are those of the individual sender, > except > where the message states otherwise and the sender is > > authorised to state them to be the views of the sender's > > company
.------------------­--------------------­----------------> > ---------------The official
User-To-User support forum of > the > Apache HTTP Server Project.See > > <URL:http://httpd.a­pache.org/userslist.­html> for more info.To > > unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org " > > from the digest: > users-digest-unsubs­cribe@httpd.apache.o­rgFor > additional > commands, e-mail: users-help@httpd.ap­ache.org> > > ___________________­____________________­________> No banners. > No pop-ups. No kidding.> Make My Way your home on the Web - > http://www.myway.co­m> > > > > -------------------­--------------------­--------------------­---> -------> > The official User-To-User support forum of the Apache HTTP > > Server Project.> See > <URL:http://httpd.a­pache.org/userslist.­html> for more info.> > To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org> > " from the digest: > users-digest-unsubs­cribe@httpd.apache.o­rg> For additional > commands, e-mail: users-help@httpd.ap­
ache.org> > > ___________________­____________________­________> No banners. No pop-ups. No
kidding.> Make My Way your home on the Web - http://www.myway.co­m> > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the view
s of the sender's
company.-----------­--------------------­--------------------­------------------Th­e official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.a­pache.org/userslist.­html> for more info.To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org " from the digest: users-digest-unsubs­cribe@httpd.apache.o­rgFor additional commands, e-mail: users-help@httpd.ap­ache.org

___________________­____________________­________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.co­m



-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 2 answer | Add comment
compilation and accentued char Jean-Philippe Battu 12:05:37
 Hello

I use a FC4 linux box where I would like to disable the apache server given
by the
distrib and to compile another version
1 / I disabled and stopped the original one
2 / I download the new one
3 / untar and launched ./configure --prefix....

result : it works well but the accentued characters aren't well displayed by
the new
apache server and they are ok if I use the original one. I checked the
original one
is launched with LANG=C and HTTPD_LANG=C and the new one too.
I didn't modified /etc/sysconfig/i18n­ before the compilation and my
httpd.conf are
the same (I use AddDefaultCharset UTF-8)

Do you have any clues to help me to find back my accentued chars ?

Thanks !

Jean-Philippe Battu
Grenoble
Add comment
dynamic configuration Jason Keltz 11:59:26
 Hi,

I'm wondering whether Apache 2.2 supports dynamic configuration in the
configuration file. I have this "Location" directive in my Apache 2.2
configuration file that is used for Subversion:

<Location /repos>
DAV svn
SVNParentPath /local/subversion/r­epos

AuthType Basic
AuthBasicProvider anon file pam
AuthName "Subversion Repository"
AuthUserFile /local/subversion/s­vnpasswd

Anonymous_NoUserID off
Anonymous_MustGiveE­mail off
Anonymous_VerifyEma­il off
Anonymous_LogEmail off
Anonymous anonymous

AuthzSVNAccessFile /cs/local/share/sub­version/authz/silver­

Require valid-user
</Location>

I'm wondering whether Apache allows me to have a dynamic Local directive
where I could do something like this:

<Location /repos/*>
.
SVNParentPath /local/subversion/r­epos/$1
.
AuthUserFile /local/suversion/au­th/$1/svnpasswd
.
.
.
AuthzSVNAccessFile /local/subversion/a­uth/$1/authz
.
.
</Location>

If Apache lets me do this, I don't need a Location directive for EACH
repository.

Any idea?

Jason.

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 2 answer | Add comment
Changing ssl certificate Bashiro 10:17:21
 

Hello folks,

Thanks in advance for any help I could get.
I created a self-signed certificate and it's working fine.Thanks to
the guys here.
I then created another certificate and wanted to change, remove or delete the old one. How do I let apache know that I want to use the new one.
I changed the path of the ssl to the newly created ssl certificate, but I get errors from apache. Cannot start service. If I change it to the old one then it does work.

Any help ?

Thanks
Bashiro

___________________­____________________­________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.co­m



-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 6 answers | Add comment
DBD: Prepared statements, BLOBs etc. Bojan Smojver 09:20:32
 Some time ago we had quite a few e-mails exchanged about DBD's prepared
statement support and various ways of getting binary data in and out of
prepared statements. So, I prepared these two patches to outline with
code what I had in mind. You may find some of your suggestions in these
patches - this is not by accident.

Before you attempt to compile and run this, let me put it bluntly: these
patches DON'T WORK! They have not been tested at all - they are here
just to express some of the ideas in code. The code in there may (and
most likely does) have serious flaws, even to the point where you could
be scratching you head thinking "what did he want with this". Hopefully,
main ideas will remain visible.

What is in the patches? This (roughly):

- parsing of SQL to find parameters has been moved out of the drivers
and into the upper layer, so it should be identical for all supported
databases

- new functions apr_dbd_pb[v]query/sel­ect() have been introduced, which
take "binary" (void *) arguments instead of const char *

- new function apr_dbd_datum_get()­ has been introduced to fetch binary
data from prepared queries

- structure apr_dbd_blob_t has been defined to pass BLOBs into the query

- SQL to C types have been enumerated

- some situations of in-driver duplication of code have been avoided
(this is mostly as a consequence of new functions being introduced)

- "streaming" of BLOB data using a bucket brigade from MySQL (now there
is some code that *definitely* won't work :-)­

- the code should be binary compatible with 1.2.x (i.e. no need to go to
APR-Util 2.x to have this)

- lots and lots of new bugs ;-)­

You will find that I haven't done any work on the Oracle driver. It is
simply because I really have no idea about the API. But, I tried to
incorporate some of the concerns raised into the patches (i.e. in terms
of BLOBs). I guess SQLite3, PGSQL and MySQL stuff should be sufficient
enough to represent the ideas.

Criticise away - this is what the patches are for!

PS. Due to size issues on the list, I'll send the MySQL patch in a
separate e-mail.

--
Bojan
comment 33 answer | Add comment
Memory Leak. Ing. Rogelio Sevilla Fernandez 06:07:24
 Im runnning Apache-1.3.31 + Mod_SSL + PHP 4.3.8 Over Solaris 8 Sparc. All
Apache was compiled DSO type and the same thing for SSL and PHP,
but i think im having a memory leak.

When i start apache, TOP show this:
14895 www 4 30 0 10M 4080K sleep 0:00 0.17% httpd
14894 www 3 40 0 10M 3624K sleep 0:00 0.07% httpd
14893 www 3 60 0 10M 3648K sleep 0:00 0.07% httpd
14898 www 3 0 0 10M 3112K sleep 0:00 0.05% httpd
14897 www 3 10 0 10M 3112K sleep 0:00 0.05% httpd
14896 www 3 20 0 10M 3104K sleep 0:00 0.05% httpd

After some hours, TOP show this


10585 www 3 0 0 16M 12M sleep 0:42 0.22% httpd
14646 www 3 58 0 15M 10M sleep 0:01 0.03% httpd
10590 www 3 58 0 16M 12M sleep 0:45 0.02% httpd
10663 www 3 58 0 15M 11M sleep 0:51 0.01% httpd
10580 www 3 58 0 18M 13M sleep 0:50 0.01% httpd
10655 www 3 58 0 15M 11M sleep 0:45 0.01% httpd
10596 www 3 58 0 16M 12M sleep 0:41 0.01% httpd
10598 www 3 58 0 35M 31M sleep 0:53 0.00% httpd
10579 www 3 58 0 16M 12M sleep 0:52 0.00% httpd
10582 www 3 58 0 15M 11M sleep 0:51 0.00% httpd
10599 www 3 58 0 63M 55M sleep 0:48 0.00% httpd
10654 www 3 58 0 29M 25M sleep 0:46 0.00% httpd
10653 www 3 58 0 15M 11M sleep 0:41 0.00% httpd
10584 www 3 58 0 16M 11M sleep 0:38 0.00% httpd
10581 www 3 58 0 28M 24M sleep 0:37 0.00% httpd


Notice the 10599 process. It are using 63M and in some times, one process
of httpd use about 100MB.

to start apache i use this script:
#!/bin/sh
LANG=es_ES
export LANG
#apachectl startssl
LD_PRELOAD=/usr/lib­/libintl.so apachectl startssl

I start apache with this script, because im running Horde and its the only
form i found to use translations in Horde.

My httpd.conf have this config lines:
MinSpareServers 7
MaxSpareServers 15
StartServers 6
MaxClients 150
MaxRequestsPerChild­ 1000



Anyone have any idea why my apache is eating a lot of memory.


Thanks


-------------------­--------------------­------------------
Ing. Rogelio Sevilla Fernandez Tel. (312)3162000
Administrador de Gestion de Redes. Colima, Col.
Direccion de Desarollo Telematico
Complejo Administrativo del Gobierno del Estado
-------------------­--------------------­------------------


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 49 answers | Add comment
Denise E Wickenhauser is out of the office. Denise Wickenhauser 04:15:37
 
I will be out of the office starting 11/08/2006 and will not return until
11/13/2006.

Thank you for your email. I will be at off-site training Nov. 8 - 10. I
will respond to your message when I return.

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 3 answer | Add comment
SSI include virual with an alias Patrick O'Dwyer 00:39:11
 Hi All,

I'm trying to get something working and I can't find an anser anywhere.

So here's what I want.

I have a number of ssi declartions like <!--#include
virtual=/config/per­sonal-->

The config folder doesn't exist in my documentroot so I made an alias to
the location where it's supposed to be which is
C:/workspace/dfs/co­nfigs/dev1 and is also in the document root.

I know the alias works as I can access /config/personal from the browser
but it work for include as it still looks in the same place in the
docroot.

Should this work? If it shouldn't is there some way to do it?

Did I give you enough information?

Thanks,
Paddy
Add comment
Thursday, 18 January 2007
[httpd 2.2.3][conf] regular expression problem in <LocateMatch> Thorsten Ottosen 23:20:39
 Dear All,

I need <LocateMatch "<my expression here>" to match an url of the
following form:

/faq/index.php?faq_­name=Staff&category=­0

To do that I tried with the following expressions:

"/faq/.*faq_name.*"­
"/faq/.*?faq_name.*­"
"/faq/*faq_name*"

Non of them seem to work. And I've tried dozens of other little hacks.
Basically I need a non-greedy match of anything before a particular word.

What am I doing wrong? What's the best source for the allowed syntax in
httpd.conf?

Thanks in advance

Thorsten, Dezide


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 3 answer | Add comment
mod_proxy_balancer Nathan Wiebe 21:54:04
 Hi, I've got a mod_proxy_balancer setup in front of a Ruby on Rails
application. I've got four back end processes with Apache in front. This
is all setup and working, requests are distributed across the back end
processes.

Some of the processing on the back end servers takes a long time, up to five
minutes. Others requests are handled very quickly.

Is there any way to tell mod_proxy_balancer not to send a request to a back
end process if it still hasn't returned from the previous request? Right
now when the first back end is processing one of the large requests, and the
other three back ends have processed their own requests in turn, the first
is selected again to handle the next request, even thought it's still busy.
After this happens, all future requests block until the first is done
processing its long running request.

Can I tell Apache to skip back ends that are still processing a request?

Nathan Wiebe
Add comment
2.2.3 -> 2.2.4 upgrade problem | APR? Evan Cooch 21:53:23
 Greetings -

I've been running Apache 2.x.x quite happily for some time now - decided
to do the latest point update from 2.2.3 -> 2.2.4 on my RHEL 3 box.
Normally, this is trivial - I simply do the .configure -> make -> male
install sequence, no muss, no fuss.

However, I tried this with Apache 2.2.4, and get the following error
(which I've never seen before):

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
configure: error: Cannot use an external APR-util with the bundled APR

To check to see if this new problem is caused by some change I've made
to the server (unlikely - all this machine does is serve web pages - the
only changes I ever make are security patches), I tried re-compiling
2.2.3. No problem - everything worked as before.

So, *something* has changed in 2.2.3 -> 2.2.4 that is *broken* on my
machine (meaning, I can't even configure 2.2.4). In the config.log, I
see the following:

configure:2621: checking for APR
configure:2703: result: reconfig
configure:2957: checking for APR-util
configure:3039: result: yes
configure:3053: error: Cannot use an external APR-util with the bundled APR

Further down, I see

APR_CONFIG='/usr/lo­cal/apache2/bin/apr-­1-config'
APR_INCLUDEDIR='/ho­me/users/egc/httpd-2­.2.4/srclib/apr/incl­ude'
APR_VERSION='1.2.8'­

Now, since I've never seen this sort of problem/error before, not sure
what it even means, or what to do next.

Suggestions? Pointers to the obvious?

Thanks in advance...




-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 4 answer | Add comment
tracing access LOCATION access controls Duane Ellis 19:50:27
 I'm trying to debug some <location> settings that i have and are not
working.

Is there any way to "trace" - how apache is concidering various <location>
directives.

Something like:
Request is: for FOO
Request is: XXXXX
<location FOO > file: foo.conf - does not match
<location BAR > file: bar.conf - does not match>
..... etc etc ....
"SUCCESS" User granted access

or:
Denied because: File XYZ said THIS

This would be very helpful to debug why something is not working (ie:
protecting what should be)


Duane Ellis
Principal Engineer
Franklin Electronic Publishers
One Franklin Plaza
Burlington NJ 08016
email: duane_ellis@frankli­n.com
voice: 1-609-386-2500 x4918
skype: duane_ellis



-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Apache 2.2.4 does not start - no errors Abhay K 19:19:44
 We are running on Tru64 Unix. Downloaded 2.2.4, and installed.
Just tried vanilla version and changed only the user/group and
ServerName in httpd.conf. When we start as
/usr/apache/bin/apa­chectl start, it just exists without
generating any error. Exit code form script is 0 and no
httpd process is running. What may be going on?
Thanks.
comment 6 answers | Add comment
mod_ext_filter and gunzip query Atul Tyagi 18:51:40
 Hi,

I have issues with my disk usage on my webservers so I have a plan in mind.
Just wanted to know if I am on right track. I would like to gzip my contents
and use mod_ext_filter with gunzip. The deliverable I am looking at is, all
the contents are zipped and when contents move out of apache (
SetOutputFilter ) they are gunzipped and sent to the client. Hope the below
code will work.

I am using apache 2.0.52

# mod_ext_filter directive to define the external filter
ExtFilterDefine gzip mode=output cmd=/bin/gunzip

<Location /gunzipped>
# core directive to cause the gunzip filter to be
# run on output
SetOutputFilter gunzip

# mod_header directive to add
# "Content-Encoding: gzip" header field
Header set Content-Encoding gunzip
</Location>

Please let me know if I am on the right track.

Thanks,
Atul
Add comment
Problem with Apache + Tomcat + SSL + mod_rewrite Tomo 18:10:25
 
Could anyone help me with a problem I have using mod_rewrite to send an https
request from apache to tomcat. I have a couple of questions:
Does my working rule (below) break the security imposed by SSL by
redirecting to port 8080?
Why does my rewrite rule to the ssl port on tomcat fail?

In this example the tomcat application name is the same as the subdomain
name.

My current rewrite rule that works is:

RewriteCond %{THE_REQUEST} "^(GET|POST) https://.*"
RewriteRule ^/(.*) https://localhost:8­0/ [F,L]
RewriteCond %{REQUEST_URI} "!^/sub_domain_name­/.*"
RewriteRule ^/(.*) http://localhost:80­80/sub_domain_name/$­1 [P]
RewriteCond %{REQUEST_URI} ^/sub_domain_name/.­*
RewriteRule ^/(.*) http://localhost:80­80/$1 [P]

Since port 8080 is not secure I have tried the following, but it does not
work:

RewriteCond %{REQUEST_URI} "!^/sub_domain_name­/.*"
RewriteRule ^/(.*) https://localhost:8­444/sub_domain_name/­$1 [P]
RewriteCond %{REQUEST_URI} ^/sub_domain_name/.­*
RewriteRule ^/(.*) https://localhost:8­444/$1 [P]

https is on 8444 rather than 8443 because a plesk system is running on 8443.
The tomcat certificate has been generated and the server.xml modified.
Tomcat is happy serving pages on https://localhost:8­444 directly so why
would this rewrite rule fail?

The mod_rewrite log has the same output (except for the urls used in the
rewrite) for both of these rules, so thats no help.
the ssl_error log says:
RSA server certificate CommonName (CN) `localhost.localdom­ain' does NOT
match server name!?
the error_log has a similar warning:
[warn] RSA server certificate CommonName (CN) `plesk' does NOT match server
name!?
--
View this message in context: http://www.nabble.c­om/Problem-with-Apac­he-%2B-Tomcat-%2B-SS­L-%2B-mod_rewrite-tf­3033654.html#a842908­0
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 2 answer | Add comment
v2.2.4, ErrorLog/CustomLog via piped rotatelogs, zombie processes Olaf Lautenschlaeger 17:35:34
 Hi *.*,

I had to notice that CustomLog directives writing through a
pipe into rotatelogs.exe still produce up to 4 zombie rotate-
logs.exe processes (as already filed on bugzilla, see

http://issues.apach­e.org/bugzilla/show_­bug.cgi?id=16761

for example.

This happens THOUGH THIS BUG HAS BEEN
CLAIMED FIXED in the 2.2.4 ChangeLog (and that drives
me mad).

I'm using the apachelounge.com binary distribution (compiled
against very latest VC++ 2005 SP1 runtime libraries) under
Windows2K, and a recent test under Windows XP shows
similar phenomenon.

Can anyone acknowledge this?

Regards

Olaf Lautenschlaeger

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
HTTPS proxy Qingshan Xie 14:43:58
 Hi! All,

I'd like to configure a https proxy server to route
the request from https://A.com/xyz/ to
https://B.com/xyz/ Can Apache mod_proxy do it and
how to configure it?

Many Thanks in Advance,
Q.Xie



___________________­____________________­____________________­____________________­_____
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search­.yahoo.com/toolbar/f­eatures/mail/



___________________­____________________­____________________­____________________­_____
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusines­s.yahoo.com/r-index

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 4 answer | Add comment

Add new topic:

How:  Register )
 
Логин:   Пароль:   
Комментировать могут: Премодерация:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP ServerGo to page: « previous | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | next »

see also:
question about visibilty while updating…
Concatenating does not work properly
Compound keys and foreign constraints
пройди тесты:
see also:
Hi, everyone!!!
About ...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .