[EMAIL PROTECTED] Apache 2.2.3 & mod_authnz_ldap & failover

2007-11-22 Thread Stijn Jonker
Hello, We are currently integrating several apache instances with LDAP for authentication, this works wonderfull for one exception and that is LDAP failover. If the primary LDAP server is not available the failover/switch towards the second entry in the config only happens after minutes. Our te

[EMAIL PROTECTED] redirects

2007-11-22 Thread Thomas Schweikle
Hi! I have configured apache2: ScriptAlias /mirrorlist "/usr/share/mirrorlist/mirrorlist" Options None AllowOverride None Order allow,deny Allow from 172.16.0.0/16 Allow from 192.168.0.0/16 RewriteEngine on RewriteRule "^/?(.*)$" "/mirrorlist?$1" But this only leads to 4

Re: [EMAIL PROTECTED] How to prevent from simple DoS?

2007-11-22 Thread Sam Testuser
On Wed, Nov 21, 2007 at 02:53:11PM -0500, Joshua Slive wrote: > DDoS is a read herring as far as I'm concerned. > > If you have an attacker with a significant DDoS network there is > NOTHING you can do to stop them. They can simply send junk down the > line to tie up your network connection.

[EMAIL PROTECTED] Two different applications with Apache HTTP Server infront

2007-11-22 Thread suki
Hi all, i m using apache 2.2. I have two web applications. Both are running on two different web servers.I have integrated both the web servers with apache successfully. Now the issue is: i have been given only one IP and corresponding to it only one domain name is there. Su

[EMAIL PROTECTED] mod_proxy_balancer not balancing correct in combination with MAX=1

2007-11-22 Thread Toon Wijnands
I'm having a setup on Gentoo, Apache 2.2.6 with a setup that relies on mox_proxy_balancer: Apache is the proxy and proxies request to 3 workers (in fact, Mongrel which is a basic HTTP server). Rewriting rules are in places and on normal use no issues, so I guess the setup is correct. In my

Re: [EMAIL PROTECTED] redirects

2007-11-22 Thread Joshua Slive
On Nov 22, 2007 4:10 AM, Thomas Schweikle <[EMAIL PROTECTED]> wrote: > Hi! > > I have configured apache2: > > ScriptAlias /mirrorlist "/usr/share/mirrorlist/mirrorlist" > > Options None > AllowOverride None > Order allow,deny > Allow from 172.16.0.0/16 > Allow from 192.168.0.0/

Re: [EMAIL PROTECTED] How to prevent from simple DoS?

2007-11-22 Thread Joshua Slive
On Nov 22, 2007 4:35 AM, Sam Testuser <[EMAIL PROTECTED]> wrote: > Back to the difficult part: How to know that you are attacked? If you > are flooded with requests, then it's a matter of monitoring your logfiles > and alarming accordingly. But if you are facing the attack pattern, > that stood a

Re: [EMAIL PROTECTED] Two different applications with Apache HTTP Server infront

2007-11-22 Thread Joshua Slive
On Nov 22, 2007 6:16 AM, suki <[EMAIL PROTECTED]> wrote: > > > Hi all, > i m using apache 2.2. I have two web applications. Both are running on > two different web servers.I > have integrated both the web servers with apache successfully. Now the > issue is: > i have been given only

[EMAIL PROTECTED] mod_proxy problem

2007-11-22 Thread Til Obes
Hello, i have a problem with mod_proxy. I want to redirect all requests to another apache running on localhost:8080. So the url https://s1.example.com/ will be proxied to http://localhost:8080/. But i have a problem with phpmyadmin running inside this vhost. I use cookie based authentification an

[EMAIL PROTECTED] mod_proxy problem with phpmyadmin

2007-11-22 Thread Til Obes
Hello, i have a problem with mod_proxy. I want to redirect all requests to another apache running on localhost:8080. So the url https://s1.example.com/ will be proxied to http://localhost:8080/. But i have a problem with phpmyadmin running inside this vhost. I use cookie based authentification an

[EMAIL PROTECTED] mod_rewrite

2007-11-22 Thread export
Hi, I would like to rewrite into Is that possible to do so with mod_rewrite ? Thank you for help. L. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html

Re: [EMAIL PROTECTED] mod_proxy problem with phpmyadmin

2007-11-22 Thread Krist van Besien
On Nov 22, 2007 5:03 PM, Til Obes <[EMAIL PROTECTED]> wrote: > Hello, > > i have a problem with mod_proxy. I want to redirect all > requests to another apache running on localhost:8080. > So the url https://s1.example.com/ will be proxied to > http://localhost:8080/. But i have a problem with phpmy

Re: [EMAIL PROTECTED] Virtual Hosts and reverse proxy

2007-11-22 Thread Krist van Besien
On Nov 22, 2007 5:10 PM, Arno Schatz <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to set up virtual hosts for web applications running on the > intranet. (using httpd 2.2 on openSuse 10.3 amd64). The configuration is > below, problem is that all requests go to the first virtual host and > passe

Re: [EMAIL PROTECTED] mod_rewrite

2007-11-22 Thread Krist van Besien
On Nov 22, 2007 4:56 PM, <[EMAIL PROTECTED]> wrote: > Hi, > I would like to > rewrite > > > into > > > Is that possible to do so with mod_rewrite ? Short Answer: No. Long Answer: Mod rewrite is used to change incoming request URLs. You can't use mod rewrite the change the content of the html

[EMAIL PROTECTED] Virtual Hosts and reverse proxy

2007-11-22 Thread Arno Schatz
Hi, I am trying to set up virtual hosts for web applications running on the intranet. (using httpd 2.2 on openSuse 10.3 amd64). The configuration is below, problem is that all requests go to the first virtual host and passed on to the first application. The second application is never been called.

Re: [EMAIL PROTECTED] How to prevent from simple DoS?

2007-11-22 Thread Sam Testuser
Joshua Slive <[EMAIL PROTECTED]> wrote: Apache httpd does log when a connection hits a TimeOut. (Or if it doesn't, that is certainly a bug that should be reported.) So I don't really understand the premise here. If you hit the timeout, the request is logged in the error log at loglevel error. That

Re: [EMAIL PROTECTED] mod_rewrite

2007-11-22 Thread Nick Kew
On Thu, 22 Nov 2007 16:56:31 +0100 [EMAIL PROTECTED] wrote: > Is that possible to do so Yes. See http://www.apachetutor.org/admin/reverseproxies > with mod_rewrite ? No. See your other reply. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor

Re: [EMAIL PROTECTED] How to prevent from simple DoS?

2007-11-22 Thread Joshua Slive
On Nov 22, 2007 11:13 AM, Sam Testuser <[EMAIL PROTECTED]> wrote: > Joshua Slive <[EMAIL PROTECTED]> wrote: > > Apache httpd does log when a connection hits a TimeOut. (Or if it > doesn't, that is certainly a bug that should be reported.) So I don't > really understand the premise here. > If you hi

Re: [EMAIL PROTECTED] mod_rewrite

2007-11-22 Thread export
Krist , Thank you for your reply. Yes, that is what I meant . To map  /Image/My-Image.jpg/1234     to   /Media/1234.jpg But I do not know how,when it is a part of HTML. Do you have any idea? Thanks. Lad. > On Nov 22, 2007 4:56 PM,  <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to > > r

[EMAIL PROTECTED] Environment variables with UserDir and failed requests

2007-11-22 Thread Jan Sievers
Hi everybody, I am struggling a bit with an issue around (apache) environment variables. I am using an environment variable for logging purposes and everything works fine, except in the case of an request for a mod_userdir resource (e.g. GET /~username/something.html) that fails (e.g. response cod

[EMAIL PROTECTED] mod_filter: and conjunction between two filters

2007-11-22 Thread Samuel Vogel
Hey guys, I have a question about mod_filter. I would like to run an output filter only if the content is not compressed and it's type is text/html. I have tried the following: FilterDeclare addcomment FilterProvider addcomment LAYOUT resp=Content-Encoding !$gzip FilterProvider addcomment LAY

[EMAIL PROTECTED] Re: redirects

2007-11-22 Thread Thomas Schweikle
Joshua Slive schrieb: > On Nov 22, 2007 4:10 AM, Thomas Schweikle <[EMAIL PROTECTED]> wrote: >> Hi! >> >> I have configured apache2: >> >> ScriptAlias /mirrorlist "/usr/share/mirrorlist/mirrorlist" >> >> Options None >> AllowOverride None >> Order allow,deny >> Allow from 172.16.0.