[us...@httpd] Re: xml2enc does not appear to be functional with mod-proxy-html 3.1.2

2009-10-29 Thread Martin Gerdes
I think I now know what is going wrong in principle: ldd -r /usr/lib/apache2/modules/mod_xml2enc.so undefined symbol: ap_filter_flush (/usr/lib/apache2/modules/mod_xml2enc.so) undefined symbol: apr_bucket_type_eos (/usr/lib/apache2/modules/mod_xml2enc.so) undefined symbol: apr_bucket_type_flush

[us...@httpd] Strange redirect issue

2009-10-29 Thread phiroc
Hi, the network administrator at my company has created a domain name, called intranetalias.company.com, which is an alias of a domain name, which I will call intranet.company.com in this thread. When I curl -IL (display header and follow redirect) intranetalias.company.com/w, the following

Re: [us...@httpd] Strange redirect issue [solved]

2009-10-29 Thread phiroc
The issue was due to a commented-out directive in the w directory's .htaccess file: # Modify the RewriteBase if you are using Drupal in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/drupal

[us...@httpd] Apache Close-Wait ports issue

2009-10-29 Thread Darren Kukulka
Hi All Got an interesting problem which has occurred several times now.. Painting a brief picture ; Several applications running on Tomcat 6.0.19 (64-bit) - several cluster groups Backend SQL Server 2005 clustered DBs (several) Front end Apache Web servers (2.2.9 with mod_jk 1.2.19),

[us...@httpd] How to Redirect to https after login?

2009-10-29 Thread ericdraven
Hello, I need some expert help on the following configuration task: I have a startpage with a standard login form. After a user logs in, he should be redirected to use https for the rest of the session. When I use a rewrite rule as shown below, RewriteRule ^/login(.*)

Re: [us...@httpd] Apache Close-Wait ports issue

2009-10-29 Thread André Warnier
Welcome ;-) Darren Kukulka wrote: Painting a brief picture ; Several applications running on Tomcat 6.0.19 (64-bit) - several cluster groups Backend SQL Server 2005 clustered DBs (several) Front end Apache Web servers (2.2.9 with mod_jk 1.2.19), load balanced via secure network appliance ...

RE: [us...@httpd] Apache Close-Wait ports issue

2009-10-29 Thread Darren Kukulka
Thanks for the reply Andre...responses in line -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 29 October 2009 10:47 To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache Close-Wait ports issue Welcome ;-) Darren Kukulka wrote: Painting a brief

Re: [us...@httpd] Apache Close-Wait ports issue

2009-10-29 Thread André Warnier
Darren Kukulka wrote: So as we're not specifying any directives in the httpd.conf, with respect to connection control, the default of KeepAlive=on and KeepAliveTimout=15 applies? Would this not clear out the close-wait connections? No. KeepAliveTimeout 15 is *very* long nowadays. It means

Re: [us...@httpd] Re: xml2enc does not appear to be functional with mod-proxy-html 3.1.2

2009-10-29 Thread Nick Kew
On 29 Oct 2009, at 08:53, Martin Gerdes wrote: I think I now know what is going wrong in principle: There's nothing wrong with that: the symbols are resolved when you LoadFile libxml2.so (just as the ap_ and apr_ symbols are resolved by the apache core and apr being loaded). If I understand

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread Krist van Besien
On Thu, Oct 29, 2009 at 11:46 AM, ericdraven e...@schwagerus.de wrote: Hello, I need some expert help on the following configuration task: I have a startpage with a standard login form. After a user logs in, he should be redirected to use https for the rest of the session. That's a rather

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread ericdraven
I already tried this but it doesn't help, because the login- form uses the POST method to transfer the data and there is no query string. Krist van Besien wrote: On Thu, Oct 29, 2009 at 11:46 AM, ericdraven e...@schwagerus.de wrote: Hello, I need some expert help on the following

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread Eric Covener
When I use a rewrite rule as shown below, RewriteRule ^/login(.*) https://%{SERVER_NAME}/login$1 [R,L] the parameters get lost, because the request is translated to a GET request. What do I need to do, to fix this problem? Use the QSA flag, so the query string doesn't get lost. QSA only

[us...@httpd] using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults

2009-10-29 Thread Martin Gerdes
2009/10/29 Nick Kew n...@webthing.com 2009/10/28 Martin Gerdes marting...@googlemail.com Background: I am running Apache as provided for Debian Lenny (2.2.9-10+lenny4) as a reverse proxy. To that end, I installed libapache2-mod-proxy-html (3.0.0-1) for URL rewriting. As the original

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread Octavian Râsnita
From: Eric Covener cove...@gmail.com When I use a rewrite rule as shown below, RewriteRule ^/login(.*) https://%{SERVER_NAME}/login$1 [R,L] the parameters get lost, because the request is translated to a GET request. What do I need to do, to fix this problem? Use the QSA flag, so the query

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread Octavian Râsnita
From: Krist van Besien krist.vanbes...@gmail.com On Thu, Oct 29, 2009 at 11:46 AM, ericdraven e...@schwagerus.de wrote: Hello, I need some expert help on the following configuration task: I have a startpage with a standard login form. After a user logs in, he should be redirected to use

[us...@httpd] Sending Unprompted HTTP Responses

2009-10-29 Thread Cameron Smith
Hello, My name is Cameron Smith, and I have a query about Apache HTTP Server. Is it possible to use Apache to create and send an HTTP Response to a specified uri, without necessarily responding to a particular HTTP Request? I am running Perl 5.8.8 scripts on an Apache HTTP web server which is

Re: [us...@httpd] using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults

2009-10-29 Thread Nick Kew
Martin Gerdes wrote: I can load the login page of the webapp, though it is returned in utf8. Once I send of the login data, it segfaults. It did NOT do that when I used SetOutputFilter instead of ProxyHTMLEnable, so I assume that xml2enc crashes, though that is only conjecture. Line in

Re: [us...@httpd] using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults

2009-10-29 Thread Martin Gerdes
Allright, I will try. Stuff I can tell you immediately: The packet that causes the crash looks like this (sniffed with tcpdump): HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location:

Re: [us...@httpd] Sending Unprompted HTTP Responses

2009-10-29 Thread Eric Covener
Or is it basically impossible, as it doesn't really conform to the HTTP Protocol? I believe that's the case. Clients are expecting a 1:1 relationship. -- Eric Covener cove...@gmail.com - The official User-To-User support

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread Eric Covener
OP is redirecting a POST, which is something to be avoided. Why should a redirect after POST be avoided? It's hairy, and the HTTP/1.1 RFC talks about potential confusion about whether the client will re-submit the POST to the new URL [after prompting the user] or send a GET to the new URL. I

RE: [us...@httpd] Requesting help with Smart Card Client Certificate Authentication issue.

2009-10-29 Thread Berube, Steve (HP Software)
Was wondering if anyone else had ideas here. I have a strace (Microsoft tool) of the trace, but my expertise in analyzing that is lacking. -Original Message- From: Berube, Steve (HP Software) Sent: Tuesday, October 27, 2009 10:31 AM To: users@httpd.apache.org Subject: RE: [us...@httpd]

Re: [us...@httpd] using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults

2009-10-29 Thread Martin Gerdes
Still have not managed to simplify it. I have managed to set up a simple proxy using a virtual host, but I have yet to figure out how to fake those http options. Interestingly, I could get a simple sample page translated back into ISO-8859-1 in this setup. This at least tells me that my self build

RE: [us...@httpd] Requesting help with Smart Card Client Certificate Authentication issue.

2009-10-29 Thread Berube, Steve (HP Software)
For what it is worth: Here are the apache logs relating to this issue: I've XX'ed out IP + YY host name info Thu Oct 29 11:25:03 2009] [debug] ssl_engine_kernel.c(1875): OpenSSL: Handshake: start [Thu Oct 29 11:25:03 2009] [debug] ssl_engine_kernel.c(1883): OpenSSL: Loop: before/accept

Re: [us...@httpd] using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults

2009-10-29 Thread Nick Kew
On 29 Oct 2009, at 14:00, Martin Gerdes wrote: Allright, I will try. Stuff I can tell you immediately: The packet that causes the crash looks like this (sniffed with tcpdump): HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location:

[us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Robert Harrison
I have Apache 2.2.8 installed on a machine running openSuse. I have set up mixed name-based and ip-based virtual hosting. Listen.conf Listen *:80 Listen *:443 default-server.conf NameVirtualHost aaa.xxx.yyy.zzz:80 ServerName localhost DocumentRoot and Directory have been removed. A name-based

[us...@httpd] Second request - help with Apache Server Set-up issue for new user

2009-10-29 Thread Daniel Gladstone
I just downloaded the software and when in and config by httpd.conf file LoadModule php5_module c:/PHP/php5apache2_2.dll AddType application /x-httpd-php .php PHPIniDir C:/PHP when I tried to restart, I get an error message: Syntax error on line 489 of C:/Program Files/Apache Software

Re: [us...@httpd] Second request - help with Apache Server Set-up issue for new user

2009-10-29 Thread Lester Caine
Daniel Gladstone wrote: I just downloaded the software and when in and config by httpd.conf file LoadModule php5_module c:/PHP/php5apache2_2.dll AddType application /x-httpd-php .php PHPIniDir C:/PHP when I tried to restart, I get an error message: Syntax error on line 489 of C:/Program

Re: [us...@httpd] Second request - help with Apache Server Set-up issue for new user

2009-10-29 Thread André Warnier
Daniel Gladstone wrote: I just downloaded the software and when in and config by httpd.conf file LoadModule php5_module c:/PHP/php5apache2_2.dll AddType application /x-httpd-php .php PHPIniDir C:/PHP when I tried to restart, I get an error message: Syntax error on line 489 of C:/Program

[us...@httpd] ExtFilterDefine intype does not get matched for text/html

2009-10-29 Thread Florian S.
Hi all, I would like to use an external script for fixing some HTML-issues. The following works fine for me: ExtFilterDefine addTokenField cmd=/bin/awk -f foo.awk enableenv=DO_IT But since I only want to touch HTML-files I tried: ExtFilterDefine addTokenField intype=text/html cmd=/bin/awk -f

RE: [us...@httpd] Second request - help with Apache Server Set-up issue for new user

2009-10-29 Thread Daniel Gladstone
I am sorry, did not get first message. I scanned for a second line to no avaal. And Apache does not startup Daniel Gladstone Email: dgee...@hotmail.com Date: Thu, 29 Oct 2009 18:22:57 + From: les...@lsces.co.uk To: users@httpd.apache.org Subject: Re: [us...@httpd] Second request -

Re: [us...@httpd] accessing REMOTE_USER through an Apache proxy

2009-10-29 Thread Devin Bougie
I have tried a different approach by moving the RewriteRules into the Location directive. With this configuration, the HTTP_REMOTE_USER variable is set and visible by the backend script and application. However, REMOTE_USER is still blank. Here is the alternate configuration: --

Re: [us...@httpd] accessing REMOTE_USER through an Apache proxy

2009-10-29 Thread André Warnier
Devin, I still have some lingering doubt about whether there is not a confusion somewhere between - the Apache process's environment values (what it gets in its own environment when it starts up) - the Apache internal environment variables (set internally by Apache, for Apache only, during

Re: [us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Igor Cicimov
Couple of questions DocumentRoot and Directory have been removed. Why did you do that? Directory /usr/local/tomcat/webapps5/ROOT Options -Indexes +FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory I think you need Alias directive here

Re: [us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Robert Harrison
Igor, Thanks very much for your questions. I removed the DocumentRoot and Directory stanzas from default-serverl.conf just to simplify things where I could. The path in the Directory stanza is the same as DocumentRoot. It was my understanding that an Alias would only be needed if the files