Re: content negotiation

2008-07-15 Thread Rainer Sokoll
On Tue, Jul 15, 2008 at 01:33:24AM +0200, Oliver Block wrote: Wenn ich nun die type-map-Variante wähle, dann kann ich die Erweiterung frei bestimmen. Was ich jedoch nicht verstanden habe, ist, ob dann das type-map-Dokument (z.B. start.var) vom Server aufgerufen werden muss, oder der

Re: content negotiation

2008-07-15 Thread Oliver Block
Emil Obermayr schrieb: Der Vorteil der angehängten zusätzlichen Extensions ist eben genau, dass die alten Namen der Datei auch noch funktionieren. Welchen Vorteil meinst Du? Wenn ich eine Website auf Mehrsprachigkeit umstelle, dann würde ich nach der Multiviews-Variante, bei eine

Re: content negotiation

2008-07-15 Thread Emil Obermayr
On Tue, Jul 15, 2008 at 01:57:19PM +0200, Oliver Block wrote: benutzen. Multiviews funktioniert aber doch nur dann, wenn start.html nicht mehr vorhanden ist. Das hängt davon ab, wie im Server die Gewichtung eingestellt ist. Per Default sollte eine passende Sprache eine höhere Priorität haben

Re: [EMAIL PROTECTED] How to configure Apache 2.x for HTTP 1.0 version?

2008-07-15 Thread Sander Temme
On Jul 14, 2008, at 10:52 PM, Anand Kulkarni wrote: I want HTTP 1.0 protocol because I heard that passing content length in HTTP 1.0 request is not mandatory. It's not mandatory in 1.1 either. See http://www.faqs.org/rfcs/rfc2616.html and scroll down to section 14.13. You'll see that

Re: [EMAIL PROTECTED] Re: use mod_rewrite to answer a.php?xyz and serve /xyz ?

2008-07-15 Thread Krist van Besien
On Mon, Jul 14, 2008 at 23:43, Randy Grimes [EMAIL PROTECTED] wrote: I tried, and apache complained a.php was not found on this server. Seems that apache took this as a script instead? What actually did you try? Krist -- [EMAIL PROTECTED] [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland

Re: [EMAIL PROTECTED] need help

2008-07-15 Thread Krist van Besien
On Mon, Jul 14, 2008 at 07:11, Karim Réda FAKHIR [EMAIL PROTECTED] wrote: Let me know how I can retrieve the status of the sessions of all users connected to my site, so whether the session of a user expired or not. is that it is possible that apache dialoge with another program and then

Re: [EMAIL PROTECTED] proxypass problems

2008-07-15 Thread Chris Cohen
Chris Cohen schrieb: Hi all, again... I am a total apache newbie. What I have is: - A webserver in my dmz with a dedicated vhost + ip - A ssh tunnel to an internal webserver - An internal webserver with a directory called mirror in / As you might imagine I want to access the dir mirror on the

[EMAIL PROTECTED] RewriteMap with Java

2008-07-15 Thread Anazys - Apache
Hi all, I try tu use a RewriteMap to rewrite dynamically urls on MacOS 10.5 Leopard Server. The code is really simple in the http.conf file : RewriteMapmymap prg:/path/to/map.class RewriteRule ^/path/(.*)$ /path/page?${mymap:$1} But when I launch Apache, I have

Re: [EMAIL PROTECTED] proxypass problems

2008-07-15 Thread Krist van Besien
On Mon, Jul 14, 2008 at 13:27, Chris Cohen [EMAIL PROTECTED] wrote: ... and it actually works. I can access all the files. BUT Apache is looking for /icons in the wrong directory and (what is much more annoying) the autoindex module generates wrong links. For example: I am in the dir

Re: [EMAIL PROTECTED] Redirecting Problem (Wear)

2008-07-15 Thread Krist van Besien
On Mon, Jul 14, 2008 at 22:55, Alberto García Gómez [EMAIL PROTECTED] wrote: Here's the problem WHY? or WHAT I HAVE TO DO? 1) tell us what value AllowOverride has for the directory you drop your .htaccess in. It is quite possible that .htaccess files are completely ignored. 2) read about the

Re: [EMAIL PROTECTED] How to configure Apache 2.x for HTTP 1.0 version?

2008-07-15 Thread Nick Kew
On Tue, 15 Jul 2008 11:22:44 +0530 Anand Kulkarni [EMAIL PROTECTED] wrote: Hi, I want HTTP 1.0 protocol because I heard that passing content length in HTTP 1.0 request is not mandatory. That reason to want HTTP/1.0 is just plain wrong. Why not read the RFC instead of posting and reposting

[EMAIL PROTECTED] httpd 2.0 - 2.2: ProxyPass behaviour?

2008-07-15 Thread Kristian Rink
Folks; being into migrating one of our machines from Ubuntu 6.06/apache 2.0 to Ubuntu 8.04/apache 2.2, I have hit some kind of issue in my configuration regarding our reverse proxy environment. In our 2.0 setup, we used to expose resources hosted on a backend system like this VirtualHost *:80

Re: [EMAIL PROTECTED] RewriteMap with Java

2008-07-15 Thread Eric Covener
On Tue, Jul 15, 2008 at 4:26 AM, Anazys - Apache [EMAIL PROTECTED] wrote: Hi all, I try tu use a RewriteMap to rewrite dynamically urls on MacOS 10.5 Leopard Server. The code is really simple in the http.conf file : RewriteMapmymap prg:/path/to/map.class RewriteRule

Re: [EMAIL PROTECTED] How to override Apache default headers?

2008-07-15 Thread Eric Covener
On Mon, Jul 14, 2008 at 11:48 PM, Anand Kulkarni [EMAIL PROTECTED] wrote: Hi, I am using mod_proxy to establish proxy communication between TCP client and TCP server. When I send request from client to server through Apache as proxy, Apache adds the following headers automatically: POST /

Re: [EMAIL PROTECTED] Problem with Indexes

2008-07-15 Thread Eric Covener
On Tue, Jul 15, 2008 at 12:01 AM, John M. Dlugosz [EMAIL PROTECTED] wrote: I have Options Indexes FollowSymLinks MultiViews and I try adding Options +Indexes in individual locations, but it never works. I do not get an auto-generated directory list, but an error if there is no

[EMAIL PROTECTED] Using RewriteMap value in ProxyPass

2008-07-15 Thread nitesh naik
Hi, Is it possible to use value returned from RewriteMap external program in ProxyPass Directive ? We want use apache loadbalancing feature and send request to different set of machines depending on the value returned by RewriteMap. Basically RewriteMap program will return cluster value( 1, 2

Re: [EMAIL PROTECTED] Using RewriteMap value in ProxyPass

2008-07-15 Thread Eric Covener
On Tue, Jul 15, 2008 at 7:34 AM, nitesh naik [EMAIL PROTECTED] wrote: Hi, Is it possible to use value returned from RewriteMap external program in ProxyPass Directive ? We want use apache loadbalancing feature and send request to different set of machines depending on the value returned by

Re: [EMAIL PROTECTED] proxypass problems

2008-07-15 Thread Chris Cohen
On Tuesday 15 July 2008 10:31:48 Krist van Besien wrote: On Mon, Jul 14, 2008 at 13:27, Chris Cohen [EMAIL PROTECTED] wrote: ... and it actually works. I can access all the files. BUT Apache is looking for /icons in the wrong directory and (what is much more annoying) the autoindex module

Re: [EMAIL PROTECTED] proxypass problems

2008-07-15 Thread Krist van Besien
On Tue, Jul 15, 2008 at 14:16, Chris Cohen [EMAIL PROTECTED] wrote: On Tuesday 15 July 2008 10:31:48 Krist van Besien wrote: On Mon, Jul 14, 2008 at 13:27, Chris Cohen [EMAIL PROTECTED] wrote: ... and it actually works. I can access all the files. BUT Apache is looking for /icons in the

Re: [EMAIL PROTECTED] proxypass problems

2008-07-15 Thread Nick Kew
On Tue, 15 Jul 2008 14:16:10 +0200 Chris Cohen [EMAIL PROTECTED] wrote: Thanks for your reply. Although it's just cosmetical I don't mind reading some docs. So, could you please point me in the right direction? What can I use to rewrite the content? mod-rewrite?

[EMAIL PROTECTED] Apache Authentication and PHP

2008-07-15 Thread Nick Cooper
Hi, Apache user authentication results in two variables when used with PHP: $_SERVER[PHP_AUTH_USER] and $_SERVER[PHP_AUTH_PW]. I'm using the SSPI module to validate users against windows this results in the users windows password being non encrypted and exposed to PHP, is there any config

Re: [EMAIL PROTECTED] Using RewriteMap value in ProxyPass

2008-07-15 Thread nitesh naik
Hi, I didn't understand RewriteRule with Proxy flag option. You mean before Passing value to ProxyPass I should use RewriteRule ? Here is my httpd.conf. Not sure my previous mail had all lines in conf file. httpd.conf RewriteEngine on RewriteMap lb prg:/home/loadbalancer/program.pl ProxyPass

Re: [EMAIL PROTECTED] Using RewriteMap value in ProxyPass

2008-07-15 Thread Eric Covener
On Tue, Jul 15, 2008 at 10:09 AM, nitesh naik [EMAIL PROTECTED] wrote: Hi, I didn't understand RewriteRule with Proxy flag option. You mean before Passing value to ProxyPass I should use RewriteRule ? RewriteRule with proxy flag instead of ProxyPass -- Eric Covener [EMAIL PROTECTED]

[EMAIL PROTECTED] apache iis asp mssql

2008-07-15 Thread Tom Brown
Hi I have apache sat in front of some IIS servers to do some logging, they just pass the request over to IIS. I have an issue where there are sql injection attacks coming through and i wonder at the URL level can i filter these out and thrown them away at the apache level. I am checking

Re: [EMAIL PROTECTED] apache iis asp mssql

2008-07-15 Thread Sander Temme
On Jul 15, 2008, at 7:52 AM, Tom Brown wrote: I have apache sat in front of some IIS servers to do some logging, they just pass the request over to IIS. I have an issue where there are sql injection attacks coming through and i wonder at the URL level can i filter these out and thrown

[EMAIL PROTECTED] Apache 2.0 API counter-part for ap_child_terminate( request_rec )

2008-07-15 Thread cswanson
Hi, I am porting a module that uses the ap_child_terminate function from the Apche 1.3 API. I am wondering what is the cleanest way to exit the child. At present, I am calling: apr_pool_destroy( r-pool ); exit( 0 ); Perhaps, this may be the correct procedure, but I am

[EMAIL PROTECTED] Questions on upgrading Apache version 1.3.x to Version 2.0.x

2008-07-15 Thread Sutida Yenjaichon
I have downloaded the Apache version 2.0.63 to replace the Apache version 1.3.x. It works except the ASP part. The informaiton entered on the web has not been posted to the database. And the email function does not work. Emails couldn't be sent out. I am so new with Apache and Web page

[EMAIL PROTECTED] Correct use of UserDir directive.

2008-07-15 Thread KENNEY, William P. (Info. Tech. Services)
Hello, I am building a new web server with apache 2.2. I have 300 users on this server and would like to allow about half of them to publish personal web pages from their home directory. The UserDir directive will accomplish this adequately as I may insert UserDir disabled to disallow all and

Re: [EMAIL PROTECTED] use mod_rewrite to answer a.php?xyz and serve /xyz ?

2008-07-15 Thread Randy Grimes
Works like a charm. Thanks a lot for your help, now I feel like able to do anything with it. Now I can understand that dry paragraph: Note: Query String The *Pattern* will not be matched against the query string. Instead, you must use a

Re: [EMAIL PROTECTED] Re: Using rewrite to forward the request OR mod_perl

2008-07-15 Thread Mohit Anchlia
By content I meant content that's being posted by the end user using HttpPost. I need to look at that content to determine where that request should go. So for eg: if a user fills the form and posts it I need to look at the posted content to do the switching. On Mon, Jul 14, 2008 at 2:45 PM,

Re: [EMAIL PROTECTED] Using RewriteMap value in ProxyPass

2008-07-15 Thread nitesh naik
Eric, Thanks for all your help. Setup is working as per requirement. New Config RewriteMap lb prg:/home/loadbalancer/program.pl RewriteLock /home/loadbalancer/apache2/logs/rewrite.lock RewriteRule ^/balancer-manager /balancer-manager [L] RewriteRule ^/(.*) balancer://mycluster${lb:$1}/ [P]

[EMAIL PROTECTED] Exchange 2007 and timeout.

2008-07-15 Thread Dwyer, Simon
Hi everyone! I have managed to get Exchange 07 working through a mod_proxy setup and we have windows mobile phones also using push email. Now it all works but our windows admin has just told me we need to extend the timeout of the reverse proxy for it work better. He pointed me to this.