[us...@httpd] Mod_proxy_balancer: Autodiscovering backend server

2009-10-07 Thread Mavi Sakal
Hi all, is it possible to configure mod_proxy_balancer in order to discover backend server automatically like bea proxy plugin. That means I provide a list of backend servers and apache assigns the server to the route ids by itself using incoming JSESSIONID. Regards Mavi

[us...@httpd] apache ldap binding issue

2009-10-07 Thread paul . e . blackaller
Hi I have a working ldap server running openldap-2.3.43-3.el5 on centos 5.3. Unix-level authentication works fine. My Apache webserver, httpd-2.2.3-22.el5.centos.2, will not authorise to ldap. >From the httpd error log: [Wed Oct 07 09:40:25 2009] [debug] mod_authnz_ldap.c(373): [client 172.21.

Re: [us...@httpd] Using SSI to include a UTF-8 encoded file causes a strange character to be sent to the browser

2009-10-07 Thread André Warnier
Hi. Chris Biggs wrote: ... When these files are saved as "ANSI" (using Notepad) (or rather in this case, as UTF-8) Tips : 1) *don't use Notepad to edit HTML pages*. Use a real editor, properly aware of character sets and encodings, and which will highlight incorrect UTF-8 characters. No

Re: [us...@httpd] apache ldap binding issue

2009-10-07 Thread Eric Covener
On Wed, Oct 7, 2009 at 4:43 AM, wrote: > LDAP_Debug On > AuthzLDAPMethod ldap > AuthzLDAPServer "centos-test.pinnacle.co.uk" These aren't directives from the LDAP auth provided with Apache HTTP Server but from a third-party LDAP authentication module. -- Eric Covener cove...@gmail.com ---

Re: [us...@httpd] Using SSI to include a UTF-8 encoded file causes a strange character to be sent to the browser

2009-10-07 Thread Chris Biggs
Hi André, Firstly, thank you very much for your email - the speed with which you responded is much appreciated. I am using Notepad purely to simplify and focus on the problem at hand. The actual HTML files are created from a Web Publishing system that uses XML and XSL. The user populates the

Re: [us...@httpd] Using SSI to include a UTF-8 encoded file causes a strange character to be sent to the browser

2009-10-07 Thread Jan Ingvoldstad
On Wed, Oct 7, 2009 at 10:55 AM, André Warnier wrote: > 1) *don't use Notepad to edit HTML pages*. Use a real editor, properly > aware of character sets and encodings, and which will highlight incorrect > UTF-8 characters. > Notepad has a big problem when saving UTF-8 encoded files : it writes a

[us...@httpd] Resolved: Using SSI to include a UTF-8 encoded file causes a strange character to be sent to the browser

2009-10-07 Thread Chris Biggs
Hi, Just to let you know that this problem has been resolved and the problem lay outside of the Apache Web Server "space". Many thanks to André Warnier and Matt Farey who got me thinking a little differently and allowed me to find the problem which was an XSL file without . While I had checke

[us...@httpd] ProxyPass and Tomcat's java jsessionid & cookies

2009-10-07 Thread Alvise Nicoletti
Hi ... I have a problem with cookies/sessions with jsp using proxypass linking apache2.2+tomcat6. When I do a login from port 80, the jsessionid is in the browser's link like this: http://nuovo.DOMAIN.COM/utente.do%3bjsessionid=3D29C52B819B2EBB874971ABA43866EE And the sessions are not workin

Re: [us...@httpd] Need help to diagnose a problem with CustomLog

2009-10-07 Thread Bernard Fay
Thanks Igor for your reply, Actually, /var/log/apache2/access_log is not commented out, it is not there at all in the config file. I have only CustomLog in a vhost configuation file which is called by an Include directive. There is nothing overly complex in my setup. That's why I am totally puzz

[us...@httpd] Redirecting URLs and directory structure

2009-10-07 Thread Fábio Jr.
Hello, I have a server that serves static content, and most of it are images. These images are all stored in a directory, and there are about 4 million images in this directory. I believe that this storage structure is, in the medium term, unsafe and not dynamic, making scalability and backu

[us...@httpd] undefined symbol: cache_generate_key_default

2009-10-07 Thread marcos
Hello, I have a problem to active one module_cache in apache: 1.First i compile the module mod_cache, not error founds: $/opt/apache2/bin/apxs -c mod_cache.c /opt/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE

Re: [us...@httpd] undefined symbol: cache_generate_key_default

2009-10-07 Thread Eric Covener
On Wed, Oct 7, 2009 at 10:06 AM, marcos wrote: > Hello, > > I have a problem to active one module_cache in apache: > > > 1.First i compile the module mod_cache, not error founds: > > $/opt/apache2/bin/apxs -c mod_cache.c > /opt/apache2/build/libtool --silent --mode=compile gcc -prefer-pic > -DAP_H

Re: [us...@httpd] undefined symbol: cache_generate_key_default

2009-10-07 Thread Eric Covener
On Wed, Oct 7, 2009 at 10:18 AM, Eric Covener wrote: > For more complicated modules, you need to pass it all the source files > that comprise the module, including e.g. cache_storage.c cache_util.c > -- see modules.mk in the cache/ directory. (which you don't have if you didn't configure with mo

[us...@httpd] Re: apache2 core dump

2009-10-07 Thread Dan Poirier
That looks like Apache PR 47672, which has been fixed. Can you try Apache 2.2.14? Dan Poirier - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info

Re: [us...@httpd] undefined symbol: cache_generate_key_default

2009-10-07 Thread marcos
Thanks i execute : /opt/apache2/bin/apxs -i -c mod_cache.c cache_storage.c cache_util.c and now load the module. and now 2009/10/7 Eric Covener : > On Wed, Oct 7, 2009 at 10:18 AM, Eric Covener wrote: > >> For more complicated modules, you need to pass it all the source files >> that comprise

[us...@httpd] application/x-javascript vs application/javascript

2009-10-07 Thread howard chen
Hello, Why in some Apache httpd, JavaScript is sent by Content Type = application/x-javascript, but some httpd is application/javascript? Both are 2.2. Thanks. - The official User-To-User support forum of the Apache HTTP Serve

Re: [us...@httpd] application/x-javascript vs application/javascript

2009-10-07 Thread Tom Evans
On Wed, 2009-10-07 at 23:19 +0800, howard chen wrote: > Hello, > > Why in some Apache httpd, JavaScript is sent by Content Type = > application/x-javascript, but some httpd is application/javascript? > > Both are 2.2. > > > Thanks. > The mime type of a file sent from disk is determined by apa

[us...@httpd] Re: ProxyPass and Tomcat's java jsessionid & cookies

2009-10-07 Thread Alvise Nicoletti
Alvise Nicoletti wrote: Hi ... I have a problem with cookies/sessions with jsp using proxypass linking apache2.2+tomcat6. When I do a login from port 80, the jsessionid is in the browser's link like this: http://nuovo.DOMAIN.COM/utente.do%3bjsessionid=3D29C52B819B2EBB874971ABA43866EE And

Re: [us...@httpd] Re: ProxyPass and Tomcat's java jsessionid & cookies

2009-10-07 Thread Eric Covener
On Wed, Oct 7, 2009 at 2:49 PM, Alvise Nicoletti wrote: > Tryed to add this line to the upper configuration: > ProxyPassCookie   domain=/ domain=http://localhost:8080/CompuService/ > > But: > /etc/init.d/apache2 reload > Syntax error on line 8 of /etc/apache2/sites-enabled/003-compuservice: > Inv

[us...@httpd] Issue with DirectoryIndex

2009-10-07 Thread jwberger
I am having an issue with the DirectoryIndex. We have it set as DirectoryIndex index.html We have a site the runs at https://www.site.com. When we hit that site as shown it comes up fine because there is an index.html file there. However, if we go further down to http://www.site.com/tpg or http

[us...@httpd] Firefox SSL handshake error after Apache upgrade

2009-10-07 Thread Toomas Aas
Hello! I'm using Apache 2.2 with mod_ssl. Under the DocumentRoot of my SSL virtual host there is a subdirectory which requires client certificates. It has such .htaccess file: -- .htaccess -- SSLVerifyClient Require SSLVerifyDepth 3 SSLOptions +StdEnvVars +ExportCertData ---