Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-14 Thread Krist van Besien
On Fri, Nov 13, 2009 at 7:58 PM, Randy Paries wrote: > On Fri, Nov 13, 2009 at 12:26 PM, Krist van Besien > wrote: >> On Fri, Nov 13, 2009 at 6:14 PM, Randy Paries wrote: >>> also i have this in my httpd >>> NameVirtualHost 216.186.190.101:80 >>> NameVirtualHost 216.186.190.106:80 >>> NameVirtua

[us...@httpd] Regarding 1 Webserver Multiple Web App project

2009-11-14 Thread Henry Loke
Which method is good to support 1 WebServer with Multiple Web App project? Method 1: domain Changes When user type in 1. http://webapp1.example.com will go to webapp1 project 2. http://webapp2.example.com will go to webapp2 project etc etc Method 2 : using same domain but append different file

[us...@httpd] Dynamically block certain requests on trigger?

2009-11-14 Thread kofal002
Hello! I am a relatively inexperienced Apache administrator, running a small public website. Traffic is extremely low, and in general the site runs fine. However, I have noticed huge, automated vulnerability scans from random IP addresses. Typically a single IP will request several thousand i

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-14 Thread Randy Paries
On Sat, Nov 14, 2009 at 8:37 AM, Krist van Besien wrote: > On Fri, Nov 13, 2009 at 7:58 PM, Randy Paries wrote: >> On Fri, Nov 13, 2009 at 12:26 PM, Krist van Besien >> wrote: >>> On Fri, Nov 13, 2009 at 6:14 PM, Randy Paries wrote: also i have this in my httpd NameVirtualHost 216.186

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-14 Thread Eric Covener
On Sat, Nov 14, 2009 at 10:33 AM, Randy Paries wrote: > This does not make any sense. It is like it is pulling this cert > magically out of the air httpd -S will display your vhost config. Also curious what that hostname resolves to on the system where you ran openssl, and what interfaces your

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-14 Thread Randy Paries
On Sat, Nov 14, 2009 at 9:43 AM, Eric Covener wrote: > On Sat, Nov 14, 2009 at 10:33 AM, Randy Paries wrote: > >> This does not make any sense. It is like it is pulling this cert >> magically out of the air > > httpd -S will display your vhost config. > > Also curious what that hostname resolves

[us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Jack Knowlton
Hi all. I am trying to have apache (2.2.14-1 from Debian) redirect any request to a certain page. In the server root I have the single file "park.html" and I want that all requests for resources (documents as well as folders) on that domain be redirected to that particular page. To be specific: * R

Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Glen Barber
On Sat, Nov 14, 2009 at 11:34 AM, Jack Knowlton wrote: > Hi all. > I am trying to have apache (2.2.14-1 from Debian) redirect any request to > a certain page. In the server root I have the single file "park.html" and > I want that all requests for resources (documents as well as folders) on > that

Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Philip Wigg
Hi, Try using mod_rewrite. This configuration should work... RewriteEngine On RewriteCond %{REQUEST_URI} !^/park.html$ RewriteRule (.*) /park.html [L, R] This redirects any request except park.html. Note that if park.html contains an image, css, or whatever, it's important to also have a conditi

Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Jack Knowlton
On Sat, November 14, 2009 6:01 pm, Philip Wigg wrote: > Hi, > > Try using mod_rewrite. This configuration should work... > > RewriteEngine On > RewriteCond %{REQUEST_URI} !^/park.html$ > RewriteRule (.*) /park.html [L, R] > > This redirects any request except park.html. Note that if park.html > con

Re: [us...@httpd] Regarding 1 Webserver Multiple Web App project

2009-11-14 Thread André Warnier
Henry Loke wrote: Which method is good to support 1 WebServer with Multiple Web App project? Method 1: domain Changes When user type in 1. http://webapp1.example.com will go to webapp1 project 2. http://webapp2.example.com will go to webapp2 project etc etc That would be in the area of Virt

[us...@httpd] Can't get Apache 2.2 to display anything

2009-11-14 Thread Trolle Yew
I'm trying to get the webserver to display my index page. I placed everything required in \htdocs\ inside the default Apache installation directory. However, when I try localhost in my browser, all I see is "It Works!". What could be the problem? My httpd.conf: http://pastebin.com/m1eab135a error.l

Re: [us...@httpd] Can't get Apache 2.2 to display anything

2009-11-14 Thread André Warnier
Trolle Yew wrote: I'm trying to get the webserver to display my index page. I placed everything required meaning what ? in \htdocs\ inside the default Apache installation directory. However, when I try localhost in my browser, all I see is "It Works!". What could be the problem? what is the

[us...@httpd] Re: Dynamically block certain requests on trigger?

2009-11-14 Thread LuKreme
On 14-Nov-2009, at 08:24, kofal...@umn.edu wrote: > What would would be perfect is a module that watches for conditions like > these, and if they trigger, drops requests from that IP for the next 24 > hours. For example. if anybody requests "phpmyadmin" at all, I don't want the > server to even