Re: [users@httpd] How to properly block IP ranges server wide?

2011-01-13 Thread Joost de Heer
On 01/14/2011 02:40 AM, Norman Peelman wrote: Hello all, I've got a server with name based virtualhosts. I am getting spammers from various countries and would like to block these IP ranges. But I can't seem to figure out how to block them. How can I block them by default for the entire server?

Re: [users@httpd] How to properly block IP ranges server wide?

2011-01-13 Thread Nilesh Govindarajan
On 01/14/2011 07:10 AM, Norman Peelman wrote: Hello all, I've got a server with name based virtualhosts. I am getting spammers from various countries and would like to block these IP ranges. But I can't seem to figure out how to block them. How can I block them by default for the entire serv

[users@httpd] Re: EnterpriseDB ApachePHP

2011-01-13 Thread DW
DW wrote: I have today installed the latest version of Apache (2.2.17) with latest PHP, MySql, and phpMyAdmin. Everything seems to work but there is one thing that puzzles me. What is: EnterpriseDB ApachePHP and why does it refuse to start? Thanks for any insight anybody can give into this

[users@httpd] Re: Help with config

2011-01-13 Thread DW
See if this helps: Good luck. Bob Wilson wrote: Can any one help with the initial configuration of Apache? I was told that to make localhost point to a alternative directory I should change both the 'Documentroot' AND 'Directory' paths The

[users@httpd] How to properly block IP ranges server wide?

2011-01-13 Thread Norman Peelman
Hello all, I've got a server with name based virtualhosts. I am getting spammers from various countries and would like to block these IP ranges. But I can't seem to figure out how to block them. How can I block them by default for the entire server? Where do I put the: Order Allow,Deny

Re: [users@httpd] Help with config

2011-01-13 Thread Simone Caruso
On 13/01/2011 17:03, Bob Wilson wrote: On 13/01/2011 13:27, Simone Caruso wrote: On 13/01/2011 13:41, Bob Wilson wrote: Can any one help with the initial configuration of Apache? I was told that to make localhost point to a alternative directory I should change both the 'Documentroot' AND 'Di

Re: [users@httpd] Help with config

2011-01-13 Thread Bob Wilson
On 13/01/2011 17:02, Nick Kew wrote: On 13 Jan 2011, at 12:41, Bob Wilson wrote: Can any one help with the initial configuration of Apache? Get the error message from apache. Open a command window, and run "apache -X" in it. That should either work (in which case your problem isn't apache at

Re: [users@httpd] Help with config

2011-01-13 Thread Nick Kew
On 13 Jan 2011, at 12:41, Bob Wilson wrote: > Can any one help with the initial configuration of Apache? Get the error message from apache. Open a command window, and run "apache -X" in it. That should either work (in which case your problem isn't apache at all) or give a meaningful error messa

Re: [users@httpd] Help with config

2011-01-13 Thread Bob Wilson
On 13/01/2011 13:27, Simone Caruso wrote: On 13/01/2011 13:41, Bob Wilson wrote: Can any one help with the initial configuration of Apache? I was told that to make localhost point to a alternative directory I should change both the 'Documentroot' AND 'Directory' paths The original info in ht

Re: [users@httpd] simple newbie

2011-01-13 Thread Jack Andrews
hi joost, thanks for your help. this works for me now: --- /etc/apache2/sites-enabled/000-default.bak 2011-01-14 01:57:49.482223496 +1100 +++ /etc/apache2/sites-enabled/000-default 2011-01-14 01:59:11.190323876 +1100 @@ -7,7 +7,7 @@ AllowOverride None -

Re: [users@httpd] simple newbie

2011-01-13 Thread Joost de Heer
On Thu, January 13, 2011 15:35, Jack Andrews wrote: > i tried adding: > > > Options +ExecCGI > AddHandler cgi-script .cgi > > > to /etc/apache2/apache2.conf [...] > [Fri Jan 14 01:32:54 2011] [error] [client 192.168.1.3] Options > ExecCGI is off in this directory: /var/www/index.cgi You pro

Re: [users@httpd] simple newbie

2011-01-13 Thread Jack Andrews
On Fri, Jan 14, 2011 at 1:13 AM, Joost de Heer wrote: > - Is there a special reason why you want to use .htaccess instead of > adding the directive to the central configuration? no, not really... so i tried adding: Options +ExecCGI AddHandler cgi-script .cgi to /etc/apache2/apache2.conf

Re: [users@httpd] simple newbie

2011-01-13 Thread Joost de Heer
On Thu, January 13, 2011 13:28, Jack Andrews wrote: > hi guys, > > a total newbie question. > > i have created a cgi script 'index.cgi' in /var/www: > > root@duo:/var/www# ls -l > total 8 > -rwxr-xr-x 1 root root 69 2011-01-13 23:09 index.cgi > -rw-r--r-- 1 root root 177 2011-01-13 22:31 index.htm

Re: [users@httpd] Problem with ldap authentication against domino server

2011-01-13 Thread Sebastian Reitenbach
On Thursday, January 13, 2011 01:38:54 pm Eric Covener wrote: > On Thu, Jan 13, 2011 at 3:16 AM, Sebastian Reitenbach > > wrote: > > On Tuesday, January 11, 2011 02:38:31 pm Eric Covener wrote: > >> > Or on the other hand, is it possible to tell mod_authnz_ldap to bind > >> > as the user instead

Re: [users@httpd] Help with config

2011-01-13 Thread Simone Caruso
On 13/01/2011 13:41, Bob Wilson wrote: Can any one help with the initial configuration of Apache? I was told that to make localhost point to a alternative directory I should change both the 'Documentroot' AND 'Directory' paths The original info in httpd.conf works OK DocumentRoot "C:/Program

Re: [users@httpd] Help with config

2011-01-13 Thread Devraj Mukherjee
Hi Bob, Are you able to post error messages from your HTTPD error log? Thanks. On Thu, Jan 13, 2011 at 11:41 PM, Bob Wilson wrote: > Can any one help with the initial configuration of Apache? > > I was told that to make localhost point to a alternative directory I > should change both the 'Docu

Re: [users@httpd] simple newbie

2011-01-13 Thread Jack Andrews
hi eric, thanks for your reply. i added AddHandler cgi-script .cgi to my .htaccess file, but httpd still returns the contents of index.cgi (not the result) On Thu, Jan 13, 2011 at 11:41 PM, Eric Covener wrote: > > Options +ExecCGI > > > > Requires two directives: http://httpd.apache.org/docs/

Re: [users@httpd] simple newbie

2011-01-13 Thread Eric Covener
> Options +ExecCGI > Requires two directives: http://httpd.apache.org/docs/2.2/howto/cgi.html -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apach

[users@httpd] Help with config

2011-01-13 Thread Bob Wilson
Can any one help with the initial configuration of Apache? I was told that to make localhost point to a alternative directory I should change both the 'Documentroot' AND 'Directory' paths The original info in httpd.conf works OK DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/A

Re: [users@httpd] RedirectMatch

2011-01-13 Thread Eric Covener
On Thu, Jan 13, 2011 at 5:07 AM, Jørn wrote: > Hello, > > I got a problem with using RedirectMatch. > > The following RedirectMatch line works well: > RedirectMatch 301 /Foto/Album.*img_([0-9]*)\. > "http://www.dahl-stamnes.net/Foto/r_img.php?img=$1"; > > But now I want to add another RedirectMatc

Re: [users@httpd] Problem with ldap authentication against domino server

2011-01-13 Thread Eric Covener
On Thu, Jan 13, 2011 at 3:16 AM, Sebastian Reitenbach wrote: > On Tuesday, January 11, 2011 02:38:31 pm Eric Covener wrote: >> > Or on the other hand, is it possible to tell mod_authnz_ldap to bind as >> > the user instead of anonymous to make the compare request? >> >> The manual tells you how to

[users@httpd] simple newbie

2011-01-13 Thread Jack Andrews
hi guys, a total newbie question. i have created a cgi script 'index.cgi' in /var/www: root@duo:/var/www# ls -l total 8 -rwxr-xr-x 1 root root 69 2011-01-13 23:09 index.cgi -rw-r--r-- 1 root root 177 2011-01-13 22:31 index.html and i've created a .htaccess: root@duo:/var/www# cat .htaccess Op

[users@httpd] RedirectMatch

2011-01-13 Thread Jørn
Hello, I got a problem with using RedirectMatch. The following RedirectMatch line works well: RedirectMatch 301 /Foto/Album.*img_([0-9]*)\. "http://www.dahl-stamnes.net/Foto/r_img.php?img=$1"; But now I want to add another RedirectMatch: RedirectMatch 301 ^/Foto/show.*album\=(.*)$ "http://

Re: [users@httpd] Problem with ldap authentication against domino server

2011-01-13 Thread Sebastian Reitenbach
On Tuesday, January 11, 2011 02:38:31 pm Eric Covener wrote: > > Or on the other hand, is it possible to tell mod_authnz_ldap to bind as > > the user instead of anonymous to make the compare request? > > The manual tells you how to use a userid/password. I rechecked the documentation, and I found

Re: [users@httpd] HTTP authentication using HTTP

2011-01-13 Thread Anders Melchiorsen
On Wed, 12 Jan 2011 00:33:42 -0500, Scott Gifford : > Tue, Jan 11, 2011 at 4:52 AM, Anders Melchiorsen >> I want to password protect some directories by forwarding the HTTP >> authentication to a different URL. That is, rather than using LDAP or >> MySQL as a backend, I want to use a CGI script (