Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Brian Mearns
On Fri, Jan 9, 2009 at 11:53 PM, Brian Hayward wrote: > unsubscribe > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe,

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Brian Hayward
unsubscribe - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest:

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Bob Ionescu
2009/1/9 Michael Ludwig : > I think here's what happens: By the time Apache has decided, following > the Alias, to use the container to locate the requested > resource, it is already tied to the filesystem context; and it is now > too late to take any containers into account. The location walk w

Re: [us...@httpd] CGI Chain Failure After Upgrade

2009-01-09 Thread Curtis Carr
I abandoned the http://www.apache-ssl.org/ route. Upon implementing Apache with mod-ssl, voila, everything is functional. - Original Message From: Curtis Carr To: users@httpd.apache.org Sent: Thursday, January 8, 2009 11:33:26 PM Subject: [us...@httpd] CGI Chain Failure After Upgrade

Re: [us...@httpd] Apache abending in Dreamweaver and not serving test pages

2009-01-09 Thread William A. Rowe, Jr.
Sandy Cureton wrote: > A Test html file doesn't work, and when running under ie 7 and when > accessing in Dreamweaver, it abends. Have the error logs, but not sure how > much to put here to get help. It doesn't actually show an error before > ending - I don't think. MySQL and PHP seem to be wo

Re: [us...@httpd] Apache abending in Dreamweaver and not serving test pages

2009-01-09 Thread Brian Mearns
On Fri, Jan 9, 2009 at 2:48 PM, Paul Prescod wrote: > For those without a background in IBM or Novell terminology, abend > means crash. ;) Abnormally end? -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ ---

Re: [us...@httpd] Problem with URI conversion on Apache-1.3.41

2009-01-09 Thread Bob Ionescu
2009/1/9 sathya sai : > with apache-1.3 Try to upgrade to the 2.2 branch. The mapping of UTF-8 characters to the filesystem works there since Apache 2 (or better APR) supports unicode on Windows, which you have already mentioned above. > if this is known issue with apache-1.3 I would call it a (

Re: [us...@httpd] Why is my gateway/reverse proxy forcing Content-Type: text/plain in header?

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 2:38 PM, Jonathan Gutow wrote: > Nick, >Thanks. That did solve the problem. However, I still do not > understand why the "Header" directive alone does not work. Maybe this phrase could use a wording tweak: Except in early mode, the Header directives are processed

Re: [us...@httpd] Apache abending in Dreamweaver and not serving test pages

2009-01-09 Thread Paul Prescod
For those without a background in IBM or Novell terminology, abend means crash. ;) On Fri, Jan 9, 2009 at 10:17 AM, Sandy Cureton wrote: > A Test html file doesn't work, and when running under ie 7 and when > accessing in Dreamweaver, it abends. Have the error logs, but not sure how > much to p

Re: [us...@httpd] Why is my gateway/reverse proxy forcing Content-Type: text/plain in header?

2009-01-09 Thread Jonathan Gutow
Nick, Thanks. That did solve the problem. However, I still do not understand why the "Header" directive alone does not work. Jonathan On Jan 9, 2009, at 1:12 PM, Nick Kew wrote: Jonathan Gutow wrote: I have the following very simple gateway set up. For some reason I am getting the fiel

Re: [us...@httpd] Why is my gateway/reverse proxy forcing Content-Type: text/plain in header?

2009-01-09 Thread Nick Kew
Jonathan Gutow wrote: I have the following very simple gateway set up. For some reason I am getting the field Content-Type: text/plain added to the HTTP header. Thus pages served through the apache gateway display the source code rather than displaying as html. DefaultType None See also ht

Re: [us...@httpd] Problem with URI conversion on Apache-1.3.41

2009-01-09 Thread sathya sai
Yea, I could confirm that my browser transferred the bytes mentioned in my previous thread. Yes, I am presently facing problem on the Windows environment. Could you please help me out with your thoughts, if this is known issue with apache-1.3 (which seems to be from the link with I had mentioned

[us...@httpd] Apache abending in Dreamweaver and not serving test pages

2009-01-09 Thread Sandy Cureton
A Test html file doesn't work, and when running under ie 7 and when accessing in Dreamweaver, it abends. Have the error logs, but not sure how much to put here to get help. It doesn't actually show an error before ending - I don't think. MySQL and PHP seem to be working. It worked for about 5

[us...@httpd] Why is my gateway/reverse proxy forcing Content-Type: text/plain in header?

2009-01-09 Thread Jonathan Gutow
I have the following very simple gateway set up. For some reason I am getting the field Content-Type: text/plain added to the HTTP header. Thus pages served through the apache gateway display the source code rather than displaying as html. I'm also confused by why the "Header always unset

Re: [us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Günther Kastenfrosch
Hi Michael, thanks for your response. 2009/1/9 Michael Ludwig : > What about setting up various Apache instances for your developers? I can't see that this would help. I cannot even tell the apache server root config to run .pl scripts with a given interpreter. I can only chose between shebang an

Re: [us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Michael Ludwig
Günther Kastenfrosch schrieb: I would like to set different vhosts to call the _same_ .pl file via cgi using _different_perl_executables_. I think in order for this to work, you'd have to pass the name of your vhost along to the CGI handler, in order to then decide which interpreter to fire up.

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Michael Ludwig
Eric Covener schrieb: On Fri, Jan 9, 2009 at 9:26 AM, Michael Ludwig wrote: Var EumelRoot /home/milu/www/eumel Apache has very basic support for environment variables (from the shell) via ${FOO}, or see mod_macro. Thanks. http://www.cri.ensmp.fr/~coelho/mod_macro/ Another option, of cours

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Michael Ludwig
Brian Mearns schrieb: On Fri, Jan 9, 2009 at 9:26 AM, Michael Ludwig wrote: I thought so, too. I had tried, unsuccessfully: DirectoryIndex linch (Note that I believe without a leading slash, this will look append "/linch" to whatever address the user has entered, e.g., server.com/foo will b

Re: [us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Günther Kastenfrosch
2009/1/9 Eric Covener : > There's windows specific CGI stuff in the manual you can check to let > windows deal with the association. Thanks for your quick responses. You think about the ScriptInterpreterSource directive set to registry? This will not solve my problem, because registry is system-w

Re: [us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 11:18 AM, Günther Kastenfrosch wrote: > 2009/1/9 Eric Covener : > AddHandler myPerlFile .pl Action myPerlFile "C:/Perl/bin/perl.exe" >> >> Action specifies a URL-path, not a filesystem path > > I see. > > But do you see any other way to get this work? I surly don't

Re: [us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Günther Kastenfrosch
2009/1/9 Eric Covener : >>> AddHandler myPerlFile .pl >>> Action myPerlFile "C:/Perl/bin/perl.exe" > > Action specifies a URL-path, not a filesystem path I see. But do you see any other way to get this work? I surly don't want to put perl.exe in cgi-bin directory ;) Günther ---

Re: [us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 10:53 AM, Günther Kastenfrosch wrote: > Hi guys. > > After googleing for hours I realized my problem ist too specific to > easily find proper solutions on the web. But I'm sure that there's > someone on this list who could help me if there really is a chance. > > So here's w

[us...@httpd] Apache Perl/CGI Question

2009-01-09 Thread Günther Kastenfrosch
Hi guys. After googleing for hours I realized my problem ist too specific to easily find proper solutions on the web. But I'm sure that there's someone on this list who could help me if there really is a chance. So here's what I want to do: We have an development server with a running apache2.2

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread William A. Rowe, Jr.
> thnax for your help, but... i tried: > >> AuthzLDAPAuthoritative off Really? You don't want LDAP to make the final determination of "no karma for you"? - The official User-To-User support forum of the Apache HTTP Server

RE: [us...@httpd] rewrite rule ideas needed..

2009-01-09 Thread Hollie Hollis
It may be simplistic, but I do this with a second VirtualHost. ServerName www.mydomain.com DocumentRoot /foo/bar ServerName mydomain.com Redirect / http://www.mydomain.com/ Since my SSL certificate is configured only for the www version of my URL, I have to make sure that no matter which URL

SV: [us...@httpd] rewrite rule ideas needed..

2009-01-09 Thread Anders Norrbring
> 2009/1/9 Anders Norrbring : > > But how can I create a setup that will simple add www to any of the > valid > > ServerAlias names listed in the virtual host? They shall keep the > domain > > name part as is, and not rewrite to one name only. > > Have a look at the last example of the section "C

RE: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Hollie Hollis
Have you, anywhere higher up in your configuration, specified AllowOverride AuthConfig? If I don't do that then my .htaccess files don't work no matter what is in them. Perhaps even when doing it in the main config, it requires the same allowance. -Original Message- From: Wulf Kaiser [ma

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Wulf Kaiser
Hi Lars, thnax for your help, but... i tried: Order deny,allow Deny from All AuthName "Download Area - Disk Images" AuthType Basic AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL ldap://ldap.mydomain.de:389/dc=mydomain,dc=de?cn,use

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Brian Mearns
On Fri, Jan 9, 2009 at 9:26 AM, Michael Ludwig wrote: > I thought so, too. I had tried, unsuccessfully: > > DirectoryIndex linch (Note that I believe without a leading slash, this will look append "/linch" to whatever address the user has entered, e.g., server.com/foo will become server.com/foo/

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 9:26 AM, Michael Ludwig wrote: > Var EumelRoot /home/milu/www/eumel > Apache has very basic support for environment variables (from the shell) via ${FOO}, or see mod_macro. -- Eric Covener cove...@gmail.com

Re: [us...@httpd] mod_proxy configuration problem using 2.2.11

2009-01-09 Thread Ian Lea
Thanks for looking into this. The original attempt was using a build from source. New attempt with fresh download and simplified configure to minimise complications: $ tar -xzf httpd-2.2.11.tar.gz $ cd httpd-2.2.11 $ ./configure \ --prefix=/tmp/apache-2.2.11 \ --enable-proxy \ --enab

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Michael Ludwig
Brian Mearns schrieb: I believe DirectoryIndex is what you're looking for: http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex I thought so, too. I had tried, unsuccessfully: DirectoryIndex linch The directive takes a local url as the argument. Yours, I guess, would be simply

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Lars
Hi I have just gone trough the process of setting up ldapz. Here is my working configuration, maybe you can use some of it... ? I have used it in an .htaccess file, but it should not be much difference. Note: This is for microsoft AD, so you should not need to define that weird port.. Or

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Brian Mearns
I believe DirectoryIndex is what you're looking for: http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex The directive takes a local url as the argument. Yours, I guess, would be simply DirectoryIndex /eumel/linch I'll give you a heads up though, you may have difficulty figuring out

Re: [us...@httpd] Isolating slow and fast connections using apache/modjk

2009-01-09 Thread Henk Fictorie
Gerhardus.Geldenhuis wrote: > > > My question really is where I should be doing the isolation to protect > slow stacks. I am not sure whether I can achieve this in modjk or > whether I should rather be running separate apache instances for tomcat > stack A and B. I considered using virtual host

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Wulf Kaiser
Hi Eric, ldap://ldap.mydomain.de:389/ou=people,dc=mydomain,dc=de?uid?sub?(objectClass=*) AuthType Basic AuthName "Download Area - Disk Images" AuthBasicProvider group1-access AuthLDAPGroupAttribute memberUid AuthLDAPGroupAttribute uniqueMember AuthLDAPGroupAttribute m

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 7:35 AM, Wulf Kaiser wrote: > Hi Eric, > > thanks in advance. I tried that by setting > >Order deny,allow >Deny from all >Satisfy any > > > but without result :-(( > > I am currently tailing -f the httpd error logs in debug mode, and also the > LDAP logs

Re: [us...@httpd] mod_proxy configuration problem using 2.2.11

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 5:37 AM, Ian Lea wrote: > Hi > > > Did you get anywhere with this? I've got the same problem with the > ping timeout? I tried to reproduce and couldn't, and the code looked right. Can you try building 2.2.11 instead of using the packaged version?. -- Eric Covener cove..

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Wulf Kaiser
Hi Eric, thanks in advance. I tried that by setting Order deny,allow Deny from all Satisfy any but without result :-(( I am currently tailing -f the httpd error logs in debug mode, and also the LDAP logs, but i do not get more out of them then a pain in the eye... It re

Re: [us...@httpd] rewrite rule ideas needed..

2009-01-09 Thread Bob Ionescu
2009/1/9 Anders Norrbring : > But how can I create a setup that will simple add www to any of the valid > ServerAlias names listed in the virtual host? They shall keep the domain > name part as is, and not rewrite to one name only. Have a look at the last example of the section "Canonical Hostnam

[Fwd: [us...@httpd] mod_authnz_ldap not working?]

2009-01-09 Thread Wulf Kaiser
Hi again, first: sorry for the typo within ... the right one is of course Then: while googling, i found some guys with the same problem, i. e. http://mail-archives.apache.org/mod_mbox/httpd-users-de/200605.mbox/%3c20060526092358.311...@gmx.net%3e He described it as "Is Apache ignoring mod_ld

Re: [us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Eric Covener
On Fri, Jan 9, 2009 at 4:29 AM, Wulf Kaiser wrote: >Deny from all >Satisfy any I didn't see order in that context, could that be part of the problem? -- Eric Covener cove...@gmail.com - The official User-To-User suppor

[us...@httpd] rewrite rule ideas needed..

2009-01-09 Thread Anders Norrbring
Hi. I'm looking at a setup with 6 different ServerAlias in the same single VirtualHost, and I want a rewrite rule that can rewrite calls missing the 'www' part to add that. Looking at example pages I see that this works for a single host name: RewriteEngine On RewriteCond %{HTTP_HOST} !

[us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Michael Ludwig
Given the following configuration: Alias /eumel /home/milu/www/eumel/www Options +Indexes SetHandler perl-script PerlResponseHandler Eumel::Web::LinCh Is there a way to make the program at /eumel/linch the directory index without resorting to an HTTP redirect? Michael Ludwig -

Re: [us...@httpd] mod_proxy configuration problem using 2.2.11

2009-01-09 Thread Ian Lea
Hi Did you get anywhere with this? I've got the same problem with the ping timeout: http://mail-archives.apache.org/mod_mbox/httpd-users/200812.mbox/<8c4e68610812310420i12d0f1dcp65750bd4a6dd4...@mail.gmail.com> -- Ian. On Wed, Jan 7, 2009 at 10:32 AM, Jody Clements wrote: > Hi All, > > I a

[us...@httpd] mod_ext_filter with mode=input and ftype=AP_FTYPE_PROTOCOL : filter not executed

2009-01-09 Thread Sylvain Zimmer
Hi! I've been trying to setup a custom input filter that modifies http request headers. Here is my config, at the end of apache2.conf (apache version 2.2.9-7ubuntu3) ExtFilterDefine radioclient ftype=30 mode=input cmd="/usr/bin/tee /tmp/ext_filter_debug" SetInputFilter radioclient (AP_FTYPE_PRO

[us...@httpd] mod_authnz_ldap not working?

2009-01-09 Thread Wulf Kaiser
Dear fellow indians, a happy new year! Recently i compiled httpd-2.2.11 on my 4 Servers (SPARC Solaris 10). Everything went fine, without hazzles or errors. For mod_ldap and mod_authnz_ldap, i compiled against the OpenLDAP 2.3.39 Libraries. The following DSO's are loaded: LoadModule authn_a