[users@httpd] Re: header unset server does not work

2013-06-12 Thread fredk2
WOW!! very nice - thank you - I wasn't close at all :-) Your code does work on my test servers. -- View this message in context: http://apache-http-server.18135.x6.nabble.com/header-unset-server-does-not-work-tp5006287p5006351.html Sent from the Apache HTTP Server - Users mailing list archi

Re: [users@httpd] Using Apache 2.0 with mod_ssl and custom engine on openssl

2013-06-12 Thread coolcuzu
Thank you Daniel. I've found a patch that enables passing arguments to the dynamic engine. I'll go with it. I appreciate your help. Erman On 6/12/2013 3:53 PM, Daniel Ruggeri wrote: Erman; You are correct - there are no ways to pass arguments via the configuration file. You could use env

Re: [users@httpd] Using Apache 2.0 with mod_ssl and custom engine on openssl

2013-06-12 Thread Daniel Ruggeri
Erman; You are correct - there are no ways to pass arguments via the configuration file. You could use environment entries to avoid hard coding things in your engine, though. -- Daniel Ruggeri On 6/11/2013 12:01 PM, coolcuzu wrote: > Thank you Daniel for your help. > > I believe a bad part (or

Re: [users@httpd] service httpd fullstatus

2013-06-12 Thread David Guerra
For anyone else's info, I posted about the issue here with how I was able to fix it. http://frustratedtech.com/post/52800628881/service-httpd-fullstatus-not-providing-the-correct On Wed, Jun 12, 2013 at 1:23 PM, David Guerra wrote: > Mike, > > You set me in the correct direction. > > The site

Re: [users@httpd] service httpd fullstatus

2013-06-12 Thread David Guerra
Mike, You set me in the correct direction. The site is running drupal and has these rewrite rules. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] I added the following and now it

Re: [users@httpd] service httpd fullstatus

2013-06-12 Thread Mike Rumph
Hello David, What is the variable STATUSURL set to in your apachectl script? - http://httpd.apache.org/docs/2.2/programs/apachectl.html#options What server-status settings do you have in your configuration? - http://httpd.apache.org/docs/2.2/mod/mod_status.html#enable Thanks, Mike On 6/12/201

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
you're right I did not have htaccess override set to allow, I just fixed it too; yeah, them busters are giving me headache lately, Thanks again! On Wed, Jun 12, 2013 at 9:17 AM, David Guerra wrote: > Glad I could help. > > Your issue is probably that you don't have htaccess override set to all

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Glad I could help. Your issue is probably that you don't have htaccess override set to allow. :) Kick those bots! On Wed, Jun 12, 2013 at 12:16 PM, motty cruz wrote: > I am not using virtual host, I'm adding to .htaccess in the root directory > of web site. > > but after adding this to my htt

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
I am not using virtual host, I'm adding to .htaccess in the root directory of web site. but after adding this to my httpd.conf file it worked perfectly fine. Thank you very much David for your help, -Motty On Wed, Jun 12, 2013 at 9:09 AM, David Guerra wrote: > Yes, it should work just fine.

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Yes, it should work just fine. Are you putting this in the virtual host? On Wed, Jun 12, 2013 at 12:08 PM, motty cruz wrote: > Thanks for your help David, > > can this be accomplish in httpd.conf? > > Thanks, > > > On Wed, Jun 12, 2013 at 9:07 AM, motty cruz wrote: > >> 192.168.9.43 - - [12/J

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
Thanks for your help David, can this be accomplish in httpd.conf? Thanks, On Wed, Jun 12, 2013 at 9:07 AM, motty cruz wrote: > 192.168.9.43 - - [12/Jun/2013:09:05:23 -0700] "GET /wp-login.php HTTP/1.1" > 200 1085 > > I am still able to get access from a different IP than the one allow in > .h

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
192.168.9.43 - - [12/Jun/2013:09:05:23 -0700] "GET /wp-login.php HTTP/1.1" 200 1085 I am still able to get access from a different IP than the one allow in .htaccess as you suggest: order deny,allow Deny from all allow from 192.168.8.4 On Wed, Jun 12, 2013 at 9:01 AM, David Guerra wrote: > T

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Try this format: order deny,allow Deny from all allow from xx.xxx.xx.xx allow from xx.xxx.xx.xx On Wed, Jun 12, 2013 at 11:52 AM, motty cruz wrote: > Hello David, > > this is the content on .htaccess > # BEGIN WordPress > > RewriteEngine On > RewriteCond %{REQUEST_METHOD} POST > RewriteCon

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
Hello David, this is the content on .htaccess # BEGIN WordPress RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_REFERER} !^http://(.*)?mydomain\.com [NC] RewriteCond %{REQUEST_URI} ^/(.*)?wp-login\.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/(.*)?wp-admin$ RewriteRule ^(.*)$

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Flop Allow and Deny so that your IP is whitelisted after the Deny from all. On Wed, Jun 12, 2013 at 11:20 AM, motty cruz wrote: > Hello, > I am trying to block a directory from being access except my IP but I had > being unsuccessful in doing so, please help: First I place this in > httpd.conf

[users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
Hello, I am trying to block a directory from being access except my IP but I had being unsuccessful in doing so, please help: First I place this in httpd.conf Options Indexes FollowSymLinks Options ALL -Indexes IndexIgnore * AllowOverride None Order allow,deny Allow from a

[users@httpd] service httpd fullstatus

2013-06-12 Thread David Guerra
Hello, I'm having an issue where when calling apachectl fullstatus I'm actually downloading a text version of the website homepage instead of actually showing the status information. I'm unsure what changes have occurred recently, but this really is an odd issue that I can't find information to f

Re: [users@httpd] Re: header unset server does not work

2013-06-12 Thread Jeff Trawick
On Wed, Jun 12, 2013 at 9:18 AM, fredk2 wrote: > Thank you both for the replies. > > I have used mod_security in the past, but concerned it would be > missimplemented. > > 1/ Do you think that AddServerHeader directive will ever be added to the > core Apache ? > ??? > > 2/ would someone readin

[users@httpd] Re: header unset server does not work

2013-06-12 Thread fredk2
Thank you both for the replies. I have used mod_security in the past, but concerned it would be missimplemented. 1/ Do you think that AddServerHeader directive will ever be added to the core Apache ? 2/ would someone reading the "module writing" tutorials be able to create a module to modify or

Re: [users@httpd] Re: Cannot compile apr-util with ldap support

2013-06-12 Thread Igor Cicimov
On 12/06/2013 7:07 PM, "ysrini" wrote: > > Thanks Ismael, > The Linux admins at work do not install anything as 'root' unless it's > available from RHN repository > > Is there anyway I can install openldap as non-root user into a local > directory (on linux) without impacting the global openldap i

[users@httpd] Re: Cannot compile apr-util with ldap support

2013-06-12 Thread ysrini
Thanks Ismael, The Linux admins at work do not install anything as 'root' unless it's available from RHN repository Is there anyway I can install openldap as non-root user into a local directory (on linux) without impacting the global openldap installation? Infact, I would prefer to use the lates

Re: [users@httpd] Cannot compile apr-util with ldap support

2013-06-12 Thread Ismael Puerto
Hi Ysrni I think that you should install openldap-devel-2.3.43-25.el5_8.1 Best regards On 12/06/13 10:35, ysrini wrote: > Hi, > on Redhat EL5, I am trying to compile apr-util with LDAP support > (before building the Apache httpd) > > At /apps/mysoft/setup, > I have folders apr-1.4.6 and apr-ut

[users@httpd] Cannot compile apr-util with ldap support

2013-06-12 Thread ysrini
Hi, on Redhat EL5, I am trying to compile apr-util with LDAP support (before building the Apache httpd) At /apps/mysoft/setup, I have folders apr-1.4.6 and apr-util-1.5.2 with source code At /apps/mysoft/apache, I have empty folders with same name for the output of the above 'make install' apr-