[users@httpd] Query Response Time

2013-07-09 Thread Harsimranjit singh Kler
I am using Apache httpd 2.4.1 version.is there any log which specify Query response time for each request on httpd.I mean total time taken by httpd to process request?

Re: [users@httpd] Query Response Time

2013-07-09 Thread Nicolas Daniels
Sure, just use the CustomLog and LogFormat directive: http://httpd.apache.org/docs/current/mod/mod_log_config.html#customlog http://httpd.apache.org/docs/current/mod/mod_log_config.html#logformat http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats e.g: LogFormat %v %h %l %u %t

[users@httpd] mod_authn_file.so ELF file OS ABI invalid

2013-07-09 Thread Rommel Sharma
Hi All, I am getting the following error: httpd: Syntax error on line 54 of /path/httpd.conf: Cannot load /path/apache/modules/mod_authn_file.so into server: /path/apache/modules/mod_authn_file.so: ELF file OS ABI invalid I am using Apache Server version: Apache/2.2.3 and on RHEL 5.7

[users@httpd] Error while compiling HTTPD(version 2.2.7) on 64 bit machine.

2013-07-09 Thread Mangesh Sawant
Hi, getting following error: /bin/sh: /home/CODE/RBS_OPEN_SRC/branches/HTTPDSRC2.2.7/shlibtool: No such file or directory Config: ./configure --with-ldap --with-included-apr=./srclib/apr/ --with-included-apr=./srclib/apr-util/ --enable-mods-shared=all aaa ssl ldap cache proxy authn_alias

Re: [users@httpd] Error while compiling HTTPD(version 2.2.7) on 64 bit machine.

2013-07-09 Thread Eric Covener
Do you use a libtool release contemporary with 2.2.7? On Tue, Jul 9, 2013 at 7:37 AM, Mangesh Sawant m.v.saw...@gmail.com wrote: Hi, getting following error: /bin/sh: /home/CODE/RBS_OPEN_SRC/branches/HTTPDSRC2.2.7/shlibtool: No such file or directory Config: ./configure --with-ldap

[users@httpd] Issue with URL Rewriting

2013-07-09 Thread yvand
Hi all, I want to redirect all requests like /icon.png to /pictures/icon.png, if the file exists in the pictures folder. It seems really trivial but I didn't manage to set up. Here is my .htaccess : RewriteEngine On RewriteCond /pictures/%{REQUEST_FILENAME} -f RewriteRule ^(.+)

Re: [users@httpd] mod_authn_file.so ELF file OS ABI invalid

2013-07-09 Thread David Guerra
Are you using the mod_authn_file module? On Tue, Jul 9, 2013 at 4:10 AM, Rommel Sharma rsharm...@sapient.com wrote: Hi All, ** ** I am getting the following error: ** ** httpd: Syntax error on line 54 of /path/httpd.conf: Cannot load /path/apache/modules/mod_authn_file.so

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread Jens-U. Mozdzen
Hi yvand, Zitat von yvand yvand.sw...@gmail.com: Hi all, I want to redirect all requests like /icon.png to /pictures/icon.png, if the file exists in the pictures folder. It seems really trivial but I didn't manage to set up. Here is my .htaccess : RewriteEngine On RewriteCond

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread yvand
Thank you Jens-U. for your help. I enabled log for URL rewriting, here is what I get if I request /icon.png (DocumentRoot = /home/yvand/www) 127.0.0.1 - - [09/Jul/2013:14:41:28 +0200] [localhost/sid#f884e0][rid#11f2bc0/initial] (3) [perdir /home/yvand/www/] strip per-dir prefix:

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread Vincenzo D'Amore
Hi yvand, may be because if you request /icon.png the first RewriteCond cannot find the correct path. Please try fix the rewritecond with this: RewriteCond %{DOCUMENT_ROOT}/pictures%{REQUEST_FILENAME} -f 2013/7/9 yvand yvand.sw...@gmail.com Hi all, I want to redirect all requests like

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread Vincenzo D'Amore
It is quite weird... In your log it seems there isn't the rewritecond part... Which rewriteloglevel have you enabled? 2013/7/9 yvand yvand.sw...@gmail.com Thank you Jens-U. for your help. I enabled log for URL rewriting, here is what I get if I request /icon.png (DocumentRoot =

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread yvand
Thank you Vincenzo D'Amore for helping me. It is quite weird... In your log it seems there isn't the rewritecond part... Which rewriteloglevel have you enabled? I used rewriteloglevel 3. I changed it to 8 and noticed that it doesn't match as I expected ! With this htaccess : RewriteEngine

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread yvand
It works fine with this RewriteCond : RewriteCond %{DOCUMENT_ROOT}/pictures%{REQUEST_URI} -f Thank you all for your help! --yvand - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands,

[users@httpd] Apache 2.4 authentication issue

2013-07-09 Thread dweimer
I have updated my second server from Apache 2.2.x to Apache 2.4.x, first server went fine with no problems. The second server however is having difficulty with a few directories that I had password protected with basic authentication. I am using Apache 2.4.4 as its the current port on

Re: [users@httpd] Apache 2.4 authentication issue

2013-07-09 Thread dweimer
On 07/09/2013 10:21 am, dweimer wrote: I have updated my second server from Apache 2.2.x to Apache 2.4.x, first server went fine with no problems. The second server however is having difficulty with a few directories that I had password protected with basic authentication. I am using Apache

[users@httpd] phpmyadmin auth

2013-07-09 Thread Pol Hallen
Hey all! This is my first post :-) I need allow access of phpmyadmin to some users but I'm not sure which type of authentication use... Is it a good idea use ssl with client certificates? I see also auth cookie (debian 7 libapache2-mod-auth-memcookie) which should be best secure way to do this?

Re: [users@httpd] phpmyadmin auth

2013-07-09 Thread David Guerra
Lock down to IP only and use SSL. You can't get any better than that. On Tue, Jul 9, 2013 at 4:24 PM, Pol Hallen apach...@fuckaround.org wrote: Hey all! This is my first post :-) I need allow access of phpmyadmin to some users but I'm not sure which type of authentication use... Is it a

Re: [users@httpd] phpmyadmin auth

2013-07-09 Thread Pol Hallen
Lock down to IP only and use SSL. You can't get any better than that. hi and thanks for reply :-) I can't :-( Users has dynamic IP Pol - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands,

Re: [users@httpd] phpmyadmin auth

2013-07-09 Thread David Guerra
Then I'd just use SSL and htpasswd to block access. On Tuesday, July 9, 2013, Pol Hallen wrote: Lock down to IP only and use SSL. You can't get any better than that. hi and thanks for reply :-) I can't :-( Users has dynamic IP Pol

Re: [users@httpd] phpmyadmin auth

2013-07-09 Thread Jerry K
configure a local VPN, and only allow access from the VPN IP range is one possible Plan B. Reviewing my own log files, its amazing how many malware hits there are for this particular software product. What ever you do, be as safe/secure as you can. Good Luck Jerry On 07/ 9/13 03:56 PM,

Re: [users@httpd] phpmyadmin auth

2013-07-09 Thread Jim Albert
On 7/9/2013 5:21 PM, Jerry K wrote: configure a local VPN, and only allow access from the VPN IP range is one possible Plan B. Reviewing my own log files, its amazing how many malware hits there are for this particular software product. What ever you do, be as safe/secure as you can. Good

Re: [users@httpd] phpmyadmin auth

2013-07-09 Thread Jim Albert
On 7/9/2013 5:46 PM, Jim Albert wrote: On 7/9/2013 5:21 PM, Jerry K wrote: configure a local VPN, and only allow access from the VPN IP range is one possible Plan B. Reviewing my own log files, its amazing how many malware hits there are for this particular software product. What ever you do,

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread yvand
I got a new question. Imagine my website is in a subfolder of document root's directory. For example, document root is /home/yvand/www, and my website is in /home/yvand/www/mysite. How can I redirect URL like /mysite/icon.png to /mysite/pictures/icon.png ? I tried to adapt .htaccess file so :

Re: [users@httpd] Issue with URL Rewriting

2013-07-09 Thread Eric Covener
RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/mysite/pictures%{REQUEST_URI} -f RewriteRule ^(.+) /mysite/pictures/$1 [L] Unfortunately it doesn't work, because %{REQUEST_URI}contains also /mysite... Indeed if I request /mysite/icon.png, the input of RewriteCond is

RE: [users@httpd] mod_authn_file.so ELF file OS ABI invalid

2013-07-09 Thread Rommel Sharma
No, there is no requirement as such. From: David Guerra [mailto:imdavidgue...@gmail.com] Sent: Tuesday, July 09, 2013 6:48 PM To: users@httpd.apache.org Subject: Re: [users@httpd] mod_authn_file.so ELF file OS ABI invalid Are you using the mod_authn_file module? On Tue, Jul 9, 2013 at 4:10 AM,