RE: [EMAIL PROTECTED] unknown in .htaccess files

2007-05-30 Thread Boyle Owen
> -Original Message- > From: morgan gangwere [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 31, 2007 12:29 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] unknown in .htaccess files > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > @all > > im setting up a webcam to

[EMAIL PROTECTED] How to read Environment variables set in httpd.conf file?

2007-05-30 Thread ramakrishnaprasad.annasamudram
--- Begin Message --- Hi All, Pardon me if this is a silly question.But i have started using apache just now.I have set an environmental variable in httpd.conf in httpd.conf using SetEnv. I want to read this variable in a program.I understoo that we cannot read using request_rec structure.Is t

Re: [EMAIL PROTECTED] Is Win32 Apache ready for prime time?

2007-05-30 Thread Jaqui Greenlees
--- morgan gangwere <[EMAIL PROTECTED]> wrote: Morgan, ~snip~ > I have seen this with the mySQL connectivity in PHP > - but its usually > caused by NOT closing the connection to the MySQL > server after you're done. This is what I was referring to in my persistent connections comment, but it

Re: [EMAIL PROTECTED] mod_proxy_balance never recovers from a worker error with stickysession

2007-05-30 Thread Serge Dubrouski
A couple of questions: 1. Did you set up session replication between your Tomcat instances? If not your client will have to relogin in case of failure of the Tomcat instance that generated session id. 2. Did I get you right that in your test you stop both instances of Tomcat? If yes I don't thin

[EMAIL PROTECTED] auth LDAP issue, help

2007-05-30 Thread Tony Guadagno
Hi, I am trying to get ldap auth working, what am i doing wrong? this is my config AuthType basic AuthBasicProvider ldap AuthName "LdapTest" AuthLDAPURL ldap://ldap.com/o=somewhere?cn?sub AuthLDAPBindDN cn=a

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-30 Thread Joshua Slive
On 5/30/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: On Wed, 30 May 2007 16:20:23 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > No. The %0 notation is specific to mod_vhost_alias. It can't be used > in any other directive. (In particular, RewriteMaps are initialized > at server startup, so it

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-30 Thread Josh Trutwin
On Wed, 30 May 2007 16:20:23 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > No. The %0 notation is specific to mod_vhost_alias. It can't be used > in any other directive. (In particular, RewriteMaps are initialized > at server startup, so it doesn't work to make their location a > per-request v

[EMAIL PROTECTED] mod_proxy_balance never recovers from a worker error with stickysession

2007-05-30 Thread Dale Ogilvie
Hello, I am running Apache 2.2.3 on RedHat EL 5. I am trying to use Apache to load balance between two local instances of tomcat in order to utilize the vast quantities of RAM on our production server. My httpd setup looks like this: BalancerMember ajp://localhost:8009 min=10 max=100 route=

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Matt Lehner
Nope, nothing special at all. It's even the same way if I do something like example.com/blah/. After searching Google, I think I'm the first person to have this issue. Matt On Wed, 30 May 2007, Joshua Slive wrote: > On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote: > > That isn't being cached.

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Joshua Slive
On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote: That isn't being cached. Are you doing anything fancy like mod_rewrite? I don't see any explanation. There are some cache fixes going into the next version of 2.2, but I'm not sure whether any of them would help you. Joshua.

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Matt Lehner
That isn't being cached. I just hit / a few times, here's all I get: [Wed May 30 19:38:34 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE filter for / [Wed May 30 19:38:34 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL filter for / [Wed May 30 19:38:38 2007] [debug] mod_cache.c(129): Ad

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Joshua Slive
On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote: Sorry, here's the http headers: HTTP/1.1 200 OK Date: Wed, 30 May 2007 23:28:01 GMT Server: Apache/2.2.4 Last-Modified: Wed, 16 May 2007 20:21:33 GMT ETag: "134003-2702-189fcd40" Accept-Ranges: bytes Content-Length: 9986 Cache-Control: max-age=3

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Matt Lehner
Sorry, here's the http headers: HTTP/1.1 200 OK Date: Wed, 30 May 2007 23:28:01 GMT Server: Apache/2.2.4 Last-Modified: Wed, 16 May 2007 20:21:33 GMT ETag: "134003-2702-189fcd40" Accept-Ranges: bytes Content-Length: 9986 Cache-Control: max-age=300 Expires: Wed, 30 May 2007 23:33:01 GMT Content-Typ

Re: [EMAIL PROTECTED] Undefined symbol ap_run_http_method

2007-05-30 Thread Sander Temme
Sashi, On May 30, 2007, at 12:54 PM, Malladi, Sasikanth wrote: httpd: Syntax error on line 39 of /usr/local/apache2/conf/httpd.conf: Cannot load /export/opt/SiteMinder/webagent5QMR7/lib/libmod_sm20.so into server: ld.so.1: httpd: fatal: relocation error: file /export/ opt/ SiteMinder/webagent5Q

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Matt Lehner
Here's the log for no index in the URL: [Tue May 15 15:53:41 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE filter for / [Tue May 15 15:53:41 2007] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL filter for / That will just keep repeating, nothing ever shows up as being served. And with:

Re: [EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Joshua Slive
On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote: I'm doing some testing with mod_cache, using disk cache. What I've noticed is that if I hit example.com/index.*, it will cache it and serve it from the cache as well. However, if I just go to http://www.example.com, it isn't cached. This happens

Re: [EMAIL PROTECTED] How to store loginformation in user specified directory?

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua Slive wrote: > On 5/30/07, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> We are facing a tight problem regarding a user requirement to store >> logfile in user specified directory.We are getting segmentation fault >> when w

[EMAIL PROTECTED] mod_cache not caching /

2007-05-30 Thread Matt Lehner
I'm doing some testing with mod_cache, using disk cache. What I've noticed is that if I hit example.com/index.*, it will cache it and serve it from the cache as well. However, if I just go to http://www.example.com, it isn't cached. This happens with any index page served without giving the name o

Re: [EMAIL PROTECTED] Is Win32 Apache ready for prime time?

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaqui Greenlees wrote: > --- "Mark A. Craig" <[EMAIL PROTECTED] NOSPAMPPLS com> wrote: > >> I'm running Apache 2.2.4 with PHP 5 to enable my >> blog, and it's been >> very stable since I installed it in April. The only >> beef I have is its >> tend

Re: [EMAIL PROTECTED] Strange mod_cache & expires header interaction

2007-05-30 Thread Joshua Slive
On 5/30/07, Christopher Shumway <[EMAIL PROTECTED]> wrote: On Fri, 25 May 2007, Joshua Slive wrote: > I would try two things: > > 1. mod_disk_cache, which is better tested and maintained than > mod_mem_cache, and will often be just as performant given a good > virtual file system layer. Using d

Re: [EMAIL PROTECTED] Is Win32 Apache ready for prime time?

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William A. Rowe, Jr. wrote: > Jess Holle wrote: >> William A. Rowe, Jr. wrote: >>> morgan gangwere wrote: >>> i will agree that the win32 version of apache is *godly* stable - im running something like 2.2.3 win32 - a nice stable version.

[EMAIL PROTECTED] unknown in .htaccess files

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 @all im setting up a webcam to do some remote admin, but I dont want people to just see what im doing. I have a simple system with this hierarchy: / + webcam/ - .htaccess - .htpasswd + pics/ - current.jpg

Re: [EMAIL PROTECTED] Strange mod_cache & expires header interaction

2007-05-30 Thread Christopher Shumway
On Fri, 25 May 2007, Joshua Slive wrote: I would try two things: 1. mod_disk_cache, which is better tested and maintained than mod_mem_cache, and will often be just as performant given a good virtual file system layer. Using disk cache for storage instead of memory cache seems to work. Would

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-30 Thread Joshua Slive
On 5/30/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: Thanks - great suggestions - now my next issue. This is all done in VirtualHosts, I noticed RewriteMap cannot be declared in a .htaccess so I put it in the VirtualHost like so: VirtualDocumentRoot /httpd/%0/html RewriteMap re

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-30 Thread Josh Trutwin
On Wed, 30 May 2007 15:06:27 -0400 "Joshua Slive" <[EMAIL PROTECTED]> wrote: > On 5/30/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: > > I have been asked to create rewrite rules for sites that use an > > old page naming scheme to a new one. The first attempt was to > > create a .htaccess file that

[EMAIL PROTECTED] Undefined symbol ap_run_http_method

2007-05-30 Thread Malladi, Sasikanth
All, I'm trying to configure my Apache webserver with a Web Authentication system. When I try to start up my server, I'm getting the following error: [EMAIL PROTECTED]:/usr/local/apache2/bin$ ./apachectl start httpd: Syntax error on line 39 of /usr/local/apache2/conf/httpd.conf: Cannot load /ex

Re: [EMAIL PROTECTED] RewriteMap questions

2007-05-30 Thread Joshua Slive
On 5/30/07, Josh Trutwin <[EMAIL PROTECTED]> wrote: I have been asked to create rewrite rules for sites that use an old page naming scheme to a new one. The first attempt was to create a .htaccess file that had a rewrite rule for every page, something like: RewriteRule ^new_page_name.php$ /site

[EMAIL PROTECTED] RewriteMap questions

2007-05-30 Thread Josh Trutwin
I have been asked to create rewrite rules for sites that use an old page naming scheme to a new one. The first attempt was to create a .htaccess file that had a rewrite rule for every page, something like: RewriteRule ^new_page_name.php$ /sitepages/pid123.php [L,QSA,NC] Works ok for small sites,

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread Vincent Bray
On 30/05/07, Russ <[EMAIL PROTECTED]> wrote: I'm a bit confused. R means redirect, meaning the server sends the 301 or 302 header to the browser. In either case, the browse will redirect to the new URL and that's what will show in the address bar. How evactly do you make things redirect wit

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread Russ
I'm a bit confused. R means redirect, meaning the server sends the 301 or 302 header to the browser. In either case, the browse will redirect to the new URL and that's what will show in the address bar. How evactly do you make things redirect without proxying and without a change in the addre

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread Vincent Bray
On 30/05/07, Russ <[EMAIL PROTECTED]> wrote: The R flag means redirect. You want P for proxy if you want the URL to not change, but this brings with it a host of other issues. Russ, you're correct regarding [R] but incorrect pertaining to [P] in this case. He's rewriting to a local script so

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread Russ
The R flag means redirect. You want P for proxy if you want the URL to not change, but this brings with it a host of other issues. Russ Sent wirelessly via BlackBerry from T-Mobile. -Original Message- From: "Vincent Bray" <[EMAIL PROTECTED]> Date: Wed, 30 May 2007 17:02:25 To:users@h

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread Joshua Slive
On 5/30/07, thomas Armstrong <[EMAIL PROTECTED]> wrote: > How exactly isn't is working? Instead of 'http://myblog.com/faq' URL I see 'http://myblog.com/index.php?page_id=379'. The information is OK, but I think it's an ugly URL. Start by replacing the [R] flag with [PT] and then see what you ge

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread thomas Armstrong
How exactly isn't is working? Instead of 'http://myblog.com/faq' URL I see 'http://myblog.com/index.php?page_id=379'. The information is OK, but I think it's an ugly URL. Do you see a loop? Nope What does the error log tell you? There's no error Are you able to edit the main server config

Re: [EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread Vincent Bray
On 30/05/07, thomas Armstrong <[EMAIL PROTECTED]> wrote: Hi. I'm trying to create an additional Rewrite Rule appart from those created by default by my application (in this case, Wordpress). The extra line (within '.htaccess') is: --- RewriteRule ^faq index.php?page_id=119 [R,L] --- Ho

[EMAIL PROTECTED] Problems with an extra Rewrite Rule before a RewriteCond

2007-05-30 Thread thomas Armstrong
Hi. I'm trying to create an additional Rewrite Rule appart from those created by default by my application (in this case, Wordpress). The extra line (within '.htaccess') is: --- RewriteRule ^faq index.php?page_id=119 [R,L] --- However, I want users see 'http://myblog.com/faq' and not 'ht

Re: [EMAIL PROTECTED] question

2007-05-30 Thread Joshua Slive
On 5/30/07, Ravi Prakash <[EMAIL PROTECTED]> wrote: Hi, Details: 1. I have to use two apache web servers on two machines having some modules in each of them. 2. Any of the apache module should be able to communicate with the apache module of another machine. 3. I want ,when modules interact to

RE: [EMAIL PROTECTED] question

2007-05-30 Thread Ravi Prakash
Hi, Details: 1. I have to use two apache web servers on two machines having some modules in each of them. 2. Any of the apache module should be able to communicate with the apache module of another machine. 3. I want ,when modules interact to each other on two machines , they could use certifica

Re: [EMAIL PROTECTED] WAMP stack

2007-05-30 Thread Jaqui Greenlees
--- Joshua Slive <[EMAIL PROTECTED]> wrote: > On 5/29/07, Nat Colley <[EMAIL PROTECTED]> wrote: > > > > I got a wamp stack from a developer, and I have > not been able to make vhosts > > work. While recognizing it is entirely possible I > did something wrong, I > > notice that in this configurati

Re: [EMAIL PROTECTED] question

2007-05-30 Thread Joshua Slive
On 5/30/07, Ravi Prakash <[EMAIL PROTECTED]> wrote: I want certificate based authentication among remotely located apache modules just like client/server authentication. Does mod_ssl provides any mechanism to do it? If no, how can I authenticate a module to a remote module ? Apache h

Re: [EMAIL PROTECTED] WAMP stack

2007-05-30 Thread Joshua Slive
On 5/29/07, Nat Colley <[EMAIL PROTECTED]> wrote: I got a wamp stack from a developer, and I have not been able to make vhosts work. While recognizing it is entirely possible I did something wrong, I notice that in this configuration he has changed the files the web is served content from htdocs

Re: [EMAIL PROTECTED] mod_security and system load

2007-05-30 Thread Marc Perkel
Nick Kew wrote: On 29 May 2007, at 22:31, Marc Perkel wrote: I'm running FC6 and added mod_security using the default rule set and the load level on the system is about 5 times higher than without it. I'm wondering what rule sets I might disable that would give me some security without slo

Re: [EMAIL PROTECTED] How to store loginformation in user specified directory?

2007-05-30 Thread Joshua Slive
On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, We are facing a tight problem regarding a user requirement to store logfile in user specified directory.We are getting segmentation fault when we are starting apache when we try to use a log file in user defined directory(other

RE: [EMAIL PROTECTED] question

2007-05-30 Thread Luis Moreira (ESI-GSQP)
Ravi, Are you looking at the answers that are being posted ? Are they getting thrown to your "junk mail" by accident? I think this is the third time in a very short time I see this question. Luis From: Ravi Prakash [mailto:] Sent: qu

[EMAIL PROTECTED] question

2007-05-30 Thread Ravi Prakash
Hi, I want certificate based authentication among remotely located apache modules just like client/server authentication. Does mod_ssl provides any mechanism to do it? If no, how can I authenticate a module to a remote module ? Thanks Ravi

Re: [EMAIL PROTECTED] TRACE and Apache 2.x

2007-05-30 Thread Bhagwati Gupta
I was having similar problem with the Apache 2.2.3-4 version and finally figured out that the TRACE option must be inside the virtual host configuration file (and not apache2.conf). Hope it helps. Bhagwati Foster, Stephen (ASPIRE) wrote: We never got this to work properly.We ended up moving t

RE: [EMAIL PROTECTED] My Question

2007-05-30 Thread Boyle Owen
> -Original Message- > From: Ravi Prakash [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 30, 2007 2:07 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] My Question > > An apache module running on one machine, wants to communicate > with another module running under apache o

Re: [EMAIL PROTECTED] WAMP stack

2007-05-30 Thread Nat Colley
Thank you for responding. There does not appear to be any such file on apache.org. Did you mean apacheconf, which appears to be a separate website selling a gui for apache? Forgive me if I am being too literal, but I don't know what is slang and what is specifcally required. If you tell me where

[EMAIL PROTECTED] My Question

2007-05-30 Thread Ravi Prakash
An apache module running on one machine, wants to communicate with another module running under apache on remote machine.The communication should be authenticated by using certificates on both sides. Does mod_ssl plays any role to authenticate the module certificates, without requiring any con

Re: [EMAIL PROTECTED] Apache 2.2.3 + Logging partial requests

2007-05-30 Thread Sander Smeenk
Quoting Joshua Slive ([EMAIL PROTECTED]): > See: > http://wiki.apache.org/httpd/Logs/Response_Size Nice. Thanks. % apache2 -l | grep logio mod_logio.c Will work on that then, thanks alot! Regards, Sander. -- | Those who get too big for their britches will be exposed in the end. | 1024D/08CE

Re: [EMAIL PROTECTED] Is Win32 Apache ready for prime time?

2007-05-30 Thread Octavian Rasnita
Regarding Apache 2.2 on Windows, does anyone know how can I set it for waiting more when trying to start or stop it? If I do net stop apache2.2 It tries to stop for a long time, then it gives the error that it can't be stopped. But it continues to try stopping, and in the meantime I cannot star

Re: [EMAIL PROTECTED] Is Win32 Apache ready for prime time?

2007-05-30 Thread Jaqui Greenlees
--- "Mark A. Craig" <[EMAIL PROTECTED]> wrote: > I'm running Apache 2.2.4 with PHP 5 to enable my > blog, and it's been > very stable since I installed it in April. The only > beef I have is its > tendency to keep slowly sucking RAM as the days roll > by, so I've been > resorting to restartin

Re: [EMAIL PROTECTED] Is Win32 Apache ready for prime time?

2007-05-30 Thread Mark A. Craig
I'm running Apache 2.2.4 with PHP 5 to enable my blog, and it's been very stable since I installed it in April. The only beef I have is its tendency to keep slowly sucking RAM as the days roll by, so I've been resorting to restarting it on occasion to keep the usage low. I don't know if it's

[EMAIL PROTECTED] How to store loginformation in user specified directory?

2007-05-30 Thread ramakrishnaprasad.annasamudram
Hi, We are facing a tight problem regarding a user requirement to store logfile in user specified directory.We are getting segmentation fault when we are starting apache when we try to use a log file in user defined directory(other than logs/). We used fopen(),fprintf() to write the user spec

RE: [EMAIL PROTECTED] Access problem with https port

2007-05-30 Thread Boyle Owen
> -Original Message- > From: renu tiwari [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 30, 2007 8:47 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Access problem with https port > > Hi, > > I have installed Apache 2.0.58 on RHEL 5.0.(Red Hat Linux > Enterprise edition

[EMAIL PROTECTED] KRB5 context is not updated when starting a new Apache session (using mod_auth_kerb)

2007-05-30 Thread gil ran
Hi. I am using a Linux-From-Scratch based Linux, with OpenLdap-2.3.27, Heimdal-0.7.2, Apache-httpd-2.2.4, mod_auth_kerb-5.3 and php-5.2.1. I'm trying to use OpenLDAP (over Heimdal GSSAPI with KRB5) from mod_php under Apache (using php's ldap_sasl_bind with GSSAPI as mechanism - it calls lsap_sas