Re: [us...@httpd] Re: IPv6 support on Apache-2.2.x

2009-04-22 Thread William A. Rowe, Jr.
Prasanna Ram Venkatachalam wrote: > Is it necessary to access using scoped (link local?) addresses? Do you > have a global address which u can use? I did some stuffs around IPv6 > URLs and we used always Global addresses when creating a HTTP request. I > was wondering is it really a specific requir

Re: [us...@httpd] mod_proxy_ajp connections erratic

2009-04-22 Thread André Warnier
Craig Main wrote: Hi All, I am using apache to from 10 tomcat instances using the ajp connector with load balancing and sticky sessions. Can you reread that phrase ? Which versions of Apache, Tomcat, the connector ? On which platform ? How do you determine that some connections are erratic/slo

[us...@httpd] mod_proxy_ajp connections erratic

2009-04-22 Thread Craig Main
Hi All, I am using apache to from 10 tomcat instances using the ajp connector with load balancing and sticky sessions. Under our load testing, we have noticed that the connection between the apache and tomcat becomes erratic. Some connections are fast and others are slow. We have tested the apach

Re: [us...@httpd] Re: IPv6 support on Apache-2.2.x

2009-04-22 Thread Prasanna Ram Venkatachalam
Is it necessary to access using scoped (link local?) addresses? Do you have a global address which u can use? I did some stuffs around IPv6 URLs and we used always Global addresses when creating a HTTP request. I was wondering is it really a specific requirement or you are just using it. Regards P

[us...@httpd] Re: IPv6 support on Apache-2.2.x

2009-04-22 Thread sathya sai
Can someone please help me out on this. On Wed, Apr 22, 2009 at 6:52 PM, sathya sai wrote: > Hi Apache developers, > > When I type URL something like http://[fe80::2e0:81ff:fe78:cd12%4]/ on my > Firefox browser (IE7 doesn't allow this URL at all) with the SCOPE-ID in > the URL, apache is giving

Re: [us...@httpd] mod_auth_xradius-0.4.6

2009-04-22 Thread Mike Diggins
On Thu, 23 Apr 2009, Nick Kew wrote: Mike Diggins wrote: On Wed, 22 Apr 2009, Nick Kew wrote: On 22 Apr 2009, at 01:28, Mike Diggins wrote: Anyone using mod_auth_xradius-0.4.6 with Apache 2.x under Solaris 10 (or any version of Solaris)? I can't get it to compile and I don't know why.

Re: [us...@httpd] Rewrite rules question

2009-04-22 Thread Igor Cicimov
The following works for me RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://www.domain.com.au$1 [R=301,L] Cheers, Igor On Thu, Apr 23, 2009 at 8:07 AM, André Warnier wrote: > John Oliver wrote: > >> A site has the following rules: >> >> RewriteEngine on >> RewriteBase / >> Rewrite

Re: [us...@httpd] ProxyPassing an HTTP PUT request

2009-04-22 Thread Nick Kew
Robert Banfield wrote: Nick Kew wrote: Once you've done that, we can figure out whether you have a bug, a misconfiguration, or misplaced expectations. The problem was in the next-hop webserver, not Apache. Thank you for your time. Thanks. That followup caught me just in time to save

Re: [us...@httpd] Active Directory Authentication with apache on solaris 10

2009-04-22 Thread Nick Kew
Mike Diggins wrote: I'm trying to get this working as well, against a Microsoft AD. There seem to be a hundred and one soultions, but not many that work well on Solaris (that I can find). Wouldn't that be mod_authnz_ldap? -- Nick Kew

Re: [us...@httpd] ProxyPassing an HTTP PUT request

2009-04-22 Thread Robert Banfield
Nick Kew wrote: Once you've done that, we can figure out whether you have a bug, a misconfiguration, or misplaced expectations. The problem was in the next-hop webserver, not Apache. Thank you for your time. - The offi

Re: [us...@httpd] mod_auth_xradius-0.4.6

2009-04-22 Thread Nick Kew
Mike Diggins wrote: On Wed, 22 Apr 2009, Nick Kew wrote: On 22 Apr 2009, at 01:28, Mike Diggins wrote: Anyone using mod_auth_xradius-0.4.6 with Apache 2.x under Solaris 10 (or any version of Solaris)? I can't get it to compile and I don't know why. I could use a hand. Tell us what the

Re: [us...@httpd] Active Directory Authentication with apache on solaris 10

2009-04-22 Thread Mike Diggins
I'm trying to get this working as well, against a Microsoft AD. There seem to be a hundred and one soultions, but not many that work well on Solaris (that I can find). -Mike On Wed, 22 Apr 2009, Farid Izem wrote: Hi, Has anyone configured Active Directory Authentication on Apache 2.2.8 i

[us...@httpd] Invalid Requests.

2009-04-22 Thread Luis Croker
Hi all... I hope any can give me a suggestion about how to block this kind of request in my apache web server... [Wed Apr 22 15:22:32 2009] [error] [client 10.10.10.10] Invalid URI in request GET HTTP/1.1 I have a lot of these requests per second, from the same IP, I think this is

Re: [us...@httpd] Rewrite rules question

2009-04-22 Thread André Warnier
John Oliver wrote: A site has the following rules: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] I've been asked to ensure that www.domain.com goes to https://domain.com so I tried: RewriteEngine

[us...@httpd] Rewrite rules question

2009-04-22 Thread John Oliver
A site has the following rules: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] I've been asked to ensure that www.domain.com goes to https://domain.com so I tried: RewriteEngine on RewriteBase / Rew

[us...@httpd] Active Directory Authentication with apache on solaris 10

2009-04-22 Thread Farid Izem
Hi, Has anyone configured Active Directory Authentication on Apache 2.2.8 installed on Solaris 10 ? Kind Regards, Farid - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/us

Re: [us...@httpd] ProxyPassing an HTTP PUT request

2009-04-22 Thread Robert Banfield
Nick Kew wrote: On Wed, 22 Apr 2009 14:29:37 -0400 Robert Banfield wrote: Apache Version: 2.2.3 (rpm: httpd-2.2.3-11.el5_1.centos.3) Suggest you start by updating that. 2.2.3 is old, and we've made a number of improvements to the proxy since then. Once you've done that, we can figu

Re: [us...@httpd] ProxyPassing an HTTP PUT request

2009-04-22 Thread Nick Kew
On Wed, 22 Apr 2009 14:29:37 -0400 Robert Banfield wrote: > Apache Version: 2.2.3 (rpm: httpd-2.2.3-11.el5_1.centos.3) Suggest you start by updating that. 2.2.3 is old, and we've made a number of improvements to the proxy since then. Once you've done that, we can figure out whether you have a

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Tom Evans
On Wed, 2009-04-22 at 23:22 +0800, Basil Mohamed Gohar wrote: > On 04/22/2009 11:11 PM, Tom Evans wrote: > > On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: > > > >> On 04/22/2009 10:17 PM, Eric Covener wrote: > >> > >>> On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread André Warnier
Eric Covener wrote: On Wed, Apr 22, 2009 at 1:02 PM, Eric Covener wrote: RewriteRule .* http://%{SERVER_NAME}$1 [R] RewriteRule .* http://%{SERVER_NAME}$1 [R] I'll head Andre off -- yes you need to actually capture something to use $1 ;-) Well actually, I had pretty much accepted the negati

[us...@httpd] ProxyPassing an HTTP PUT request

2009-04-22 Thread Robert Banfield
Apache Version: 2.2.3 (rpm: httpd-2.2.3-11.el5_1.centos.3) I am using Apache's proxypass to send requests to a different port on the same machine, but using a different webserver. This works wonderfully for my GET requests, however for a PUT, the request is passed through the proxy and a 100-

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Eric Covener
On Wed, Apr 22, 2009 at 1:02 PM, Eric Covener wrote: > RewriteRule .* http://%{SERVER_NAME}$1 [R] > RewriteRule .* http://%{SERVER_NAME}$1 [R] I'll head Andre off -- yes you need to actually capture something to use $1 -- Eric Covener cove...@gmail.com -

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Eric Covener
On Wed, Apr 22, 2009 at 12:48 PM, Tom Evans wrote: > Ah yes, that is different. I actually wrote a module to manage this for > my servers (the canonical rewrite rule doesn't work in certain edge > cases), it doesn't detect it automatically based upon the vhosts > ServerName (it uses a directive),

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Tom Evans
On Wed, 2009-04-22 at 23:22 +0800, Basil Mohamed Gohar wrote: > On 04/22/2009 11:11 PM, Tom Evans wrote: > > On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: > > > >> On 04/22/2009 10:17 PM, Eric Covener wrote: > >> > >>> On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Basil Mohamed Gohar
On 04/22/2009 11:47 PM, André Warnier wrote: Basil Mohamed Gohar wrote: Writing it by hand for all the different VirtualHosts is what I was trying to avoid. Doing it with variables was the goal, and it seems that is not possible. I've been writing it by hand for years now. ;) I think for

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread André Warnier
Basil Mohamed Gohar wrote: Writing it by hand for all the different VirtualHosts is what I was trying to avoid. Doing it with variables was the goal, and it seems that is not possible. I've been writing it by hand for years now. ;) I think for this kind of stuff, you should have a look

Re: [us...@httpd] Help with ReriteBase

2009-04-22 Thread André Warnier
When you send a mail to a forum such as this, please turn off your smart html compose features (send plain text only). Otherwise the result is very difficult to read, specially if there are URLs in it. Anthony Smith wrote: My main question is can you have some kind of if logic in the .htacce

[us...@httpd] Help with ReriteBase

2009-04-22 Thread Anthony Smith
My main question is can you have some kind of if logic in the .htaccess file where if the url is: http://single-signon the .htaccess would have this line RewriteBase /VCP/zend/ and if the url is http://localhost (ar really anything else) the .htacces

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Basil Mohamed Gohar
On 04/22/2009 11:11 PM, Tom Evans wrote: On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: On 04/22/2009 10:17 PM, Eric Covener wrote: On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar wrote: Outside of htaccess, the pattern is compiled at startup, so you

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-22 Thread Nick Kew
On Wed, 22 Apr 2009 10:41:27 -0400 "Mark H. Wood" wrote: > Would you (or anyone) please point me to the relevant section of the > 2.2 documentation for the ${foo} method. I've never seen this > mentioned. Clearly I'm not looking in the right place. mod_macro > looks nice, but it's more than I

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Tom Evans
On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: > On 04/22/2009 10:17 PM, Eric Covener wrote: > > On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar > > wrote: > > > >>> Outside of htaccess, the pattern is compiled at startup, so you can't > >>> use variables (because they de

Re: [us...@httpd] Unique Home Page

2009-04-22 Thread Mark H. Wood
On Tue, Apr 21, 2009 at 07:29:59AM -0500, Dondi Williams wrote: > This EXACTLY what I need > > I believe he wanted something like "Apache should return the appropriate > homepage, on the base of the UID the user used to login on the PC". > I don't really think we're talking about LDAP or SQL h

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-22 Thread Mark H. Wood
On Mon, Apr 20, 2009 at 10:17:50PM -0400, Eric Covener wrote: > On Mon, Apr 20, 2009 at 9:23 PM, Alfonsas Stonis > wrote: > > I can not find now the definition, but there was some module for > > apache 1.3 (maybe it was third party) that allowed to write define. > > However, I found hard to believ

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Basil Mohamed Gohar
On 04/22/2009 10:17 PM, Eric Covener wrote: On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar wrote: Outside of htaccess, the pattern is compiled at startup, so you can't use variables (because they depend on parts of the request, even ServerName). IIUC It's feasible in per-directory,

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Eric Covener
On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar wrote: >> >> Outside of htaccess, the pattern is compiled at startup, so you can't >> use variables (because they depend on parts of the request, even >> ServerName). >> >> IIUC It's feasible in per-directory, but not implemented. >> >> > > So,

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Basil Mohamed Gohar
On 04/22/2009 09:20 PM, Eric Covener wrote: On Wed, Apr 22, 2009 at 8:21 AM, Basil Mohamed Gohar wrote: Hello everyone! What I am trying to do is use the server variable %{SERVER_NAME} as the CondPattern argument to the RewriteCond directive. However, all of my attempts appear to render

Re: [us...@httpd] mod_auth_xradius-0.4.6

2009-04-22 Thread Mike Diggins
On Wed, 22 Apr 2009, Nick Kew wrote: On 22 Apr 2009, at 01:28, Mike Diggins wrote: Anyone using mod_auth_xradius-0.4.6 with Apache 2.x under Solaris 10 (or any version of Solaris)? I can't get it to compile and I don't know why. I could use a hand. Tell us what the problem is, and maybe

[us...@httpd] IPv6 support on Apache-2.2.x

2009-04-22 Thread sathya sai
Hi Apache developers, When I type URL something like http://[fe80::2e0:81ff:fe78:cd12%4]/ on my Firefox browser (IE7 doesn't allow this URL at all) with the SCOPE-ID in the URL, apache is giving the following error message, "HTTP/1.1 400 Bad Request ... Your browser sent a request that this ser

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Eric Covener
On Wed, Apr 22, 2009 at 8:21 AM, Basil Mohamed Gohar wrote: > Hello everyone!  What I am trying to do is use the server variable > %{SERVER_NAME} as the CondPattern argument to the RewriteCond directive. >  However, all of my attempts appear to render the string '%{SERVER_NAME}' as > a string lite

[us...@httpd] Tunneling a service with mod_proxy

2009-04-22 Thread nocturnal
Hi I'm at work right now so i don't have much access to my Apache httpd server so i thought i'd ask here and see if anyone wants to give me a quick and short reply if my idea is possible. I would like to have a virtual hosted proxy first of all, it needs to be virtual host because i have other ho

[us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Basil Mohamed Gohar
Hello everyone! What I am trying to do is use the server variable %{SERVER_NAME} as the CondPattern argument to the RewriteCond directive. However, all of my attempts appear to render the string '%{SERVER_NAME}' as a string literal, rather than replacing it with the variable name I expect (i.

Re: [us...@httpd] SSl Redirect

2009-04-22 Thread Matus UHLAR - fantomas
Hello, please configure your mailer to wrap lines below 80 characters per line. 72 to 75 is usually OK. Thank you. On 08.04.09 09:04, Stephen Goldschmidt wrote: > my question is the certificate is only assigned to one domain name. > www.domain.com > > so in my browser if i go to www.domain.com

Re: [us...@httpd] ProxyTimeout question

2009-04-22 Thread Eric Covener
On Wed, Apr 22, 2009 at 5:11 AM, Foster, Stephen (ASPIRE) wrote: > Hi there, > > > > I have a quick question about the ProxyTimeout value. Does the value equate > to the maximum amount of time it takes for the endpoint to make an initial > response or does it relate to the whole time it would take

[us...@httpd] ProxyTimeout question

2009-04-22 Thread Foster, Stephen (ASPIRE)
Hi there, I have a quick question about the ProxyTimeout value. Does the value equate to the maximum amount of time it takes for the endpoint to make an initial response or does it relate to the whole time it would take to satisfy a request. For example I have a fairly quick responding endp

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-22 Thread Alfonsas Stonis
Setting environment variables in /etc/apache2/envvars and then using it in config in ${} works! Thanks. Example: /etc/apache2/envvars export LDAP_URL=ldap://localhost:7389/ou=vartotojai,o=mano?uid? /etc/apache2/sites-enabled/httpd-ssl.conf AuthLDAPURL ${LDAP_URL} 2009/4/22 inas inassen : > very