Re: [users@httpd] Reg Apache Access log size

2012-01-19 Thread Matus UHLAR - fantomas

On 19.01.12 12:40, SSRChandra Devagupthapu wrote:

Any one please suggest how to control the access_log in Apache web
server.


what do you mean how to control ? explain please
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Reg Apache Access log size

2012-01-19 Thread Igor Cicimov
Google for rotatelogs apache
 On Jan 19, 2012 6:11 PM, SSRChandra Devagupthapu 
ssrchandra.devagupth...@tatatel.co.in wrote:

  Dear All, 

 ** **

 Any one please suggest how to control the access_log in Apache web server.
 

 ** **

  

 Regards,

 SSR Chandra,

 Cognos Support,

 040-66678118.

 ** **

  ==
 i-choose online store at www.tataindicom.com
 Your Comfort. Your Convenience. Your Choice.
 ==

 DISCLAIMER:
 The information contained in this message (including any attachments) is
 confidential and may be privileged. If you have received it by mistake
 please notify the sender by return e-mail and permanently delete this
 message and any attachments from your system. Any dissemination, use,
 review, distribution, printing or copying of this message in whole or in
 part is strictly prohibited. Please note that e-mails are susceptible to
 change. TATA TELESERVICES LTD. (including its group companies) shall not be
 liable for the improper or incomplete transmission of the information
 contained in this communication nor for any delay in its receipt or damage
 to your system. TATA TELESERVICES LTD. (or its group companies) does not
 guarantee that the integrity of this communication has been maintained or
 that this communication is free of viruses, interceptions or interferences.



[users@httpd] Packet takes 42s to arrive in config with Apache Reverse Proxy

2012-01-19 Thread Jean-Christophe Van Nieuwenhoven
Hello,

Use Case : access to JEE app running WL sometimes takes more than 40s  (no-ssl)
Config : Browser -- Apache 2.0 RP -- WebLogic 10

The response takes 42s to come back to the client. 

Intriguing is the HTTP header of the response received by the client (between 
brackets : time stamp of packets on the client)

[ 12:31:26.277 ] - GET /mandates/extern/home.do HTTP/1.1  

[ 12:31:26.277 ] - TCP ACK 

[ 12:32:08.491 ] - HTTP/1.1 200 OK  
Date: Wed, 18 Jan 2012 11:31:26 GMT
Server: Apache
X-UA-Compatible: IE=EmulateIE8
Content-Type: text/html; charset=UTF-8; charset=UTF-8
Set-Cookie: 
JSESSIONID=VrTHPWtT398gwZwQdnQmkGQZxQMh5PPgGbtfGYf2KL1yJhgmBC9R!-1659218921; 
path=/; HttpOnly
Set-Cookie: ccffuser3=nl; expires=Sun, 05-Jun-2039 11:32:08 GMT; path=/
Set-Cookie: ccffuser3=nl; expires=Sun, 05-Jun-2039 11:32:08 GMT; path=/
Keep-Alive: timeout=10, max=496
Connection: Keep-Alive
Transfer-Encoding: chunked

So the date header lead me to think that WebLogic prepared the packet very 
quickly, so backend processing seemed quick. But then at the same time, the 
timestamps of the Set-Cookie headers are very intriguing since they directly 
refer to the reception timestamps. 

Question :
- could it be that Apache would manipulate the headers ?
- if not, am I right to conclude that WebLogic has prepared the packet 
immediately but delayed the submittal until the back-end was ready and filled 
in the Set-Cookie headers ?

Many thanks !

Jean-Christophe Van Nieuwenhoven
Belgium 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] rewrite rule

2012-01-19 Thread Eric Covener
On Wed, Jan 18, 2012 at 11:20 PM, Indraveni chebolu
indraveni.cheb...@gmail.com wrote:
 The HTML look perfectly alright.

Doesn't look right to me, your links are all absolute URLs.  They
aren't going to magically change when you access the server by IP
address.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] rewrite rule

2012-01-19 Thread Indraveni chebolu
My links are not absolute. They are all relative paths. When I am changing
the RewriteRule then all my links are changing as written in rule rather
than rendering as per accessed domain name.

On Thu, Jan 19, 2012 at 4:27 PM, Eric Covener cove...@gmail.com wrote:

 On Wed, Jan 18, 2012 at 11:20 PM, Indraveni chebolu
 indraveni.cheb...@gmail.com wrote:
  The HTML look perfectly alright.

 Doesn't look right to me, your links are all absolute URLs.  They
 aren't going to magically change when you access the server by IP
 address.

 -
 The official User-To-User support forum of the Apache HTTP Server Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




[users@httpd] Re: mod_disk_cache: File list occasionally displayed instead of index.php (suhosin, suphp, mod_cache, mod_security)

2012-01-19 Thread Jan Ingvoldstad
On Fri, Nov 11, 2011 at 10:57, Jan Ingvoldstad frett...@gmail.com wrote:


 Has anyone seen similar problems?


I can't hear the crickets, but apparently, the answer is no.

Does anyone then have any useful suggestions on how to go about debugging
this?

The documentation for the caching modules is a bit on the thin side.
-- 
Jan


Re: [users@httpd] rewrite rule

2012-01-19 Thread Eric Covener
On Thu, Jan 19, 2012 at 7:36 AM, Indraveni chebolu
indraveni.cheb...@gmail.com wrote:
 My links are not absolute. They are all relative paths. When I am changing
 the RewriteRule then all my links are changing as written in rule rather
 than rendering as per accessed domain name.

mod_rewrite doesn't change the links in your HTML. The HTML has your
domain name in the links.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re:5

2012-01-19 Thread Peter Milanese

..   http://clinica-fertilidad.com/work.link.php?uyahoo=13j9

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] AllowOverride

2012-01-19 Thread congo thomas
Hello world,

am i the only one with this trouble?

br
congo thomas

On Tue, January 17, 2012 13:52, congo thomas wrote:
 I am having the Directory / set to None for allowoverride.
 My problem persists in having this set:

 VirtualHost *:80
 ...
 Directory /var/www/website/
 AllowOverride FileInfo
 /Directory
 ...
 /VirtualHost

 - following restart apache, and then (executed as website-user in this
 case):
 $ touch /var/www/website/.htaccess
 $ chmod 644 /var/www/website/.htaccess
 $ cat IfModule mod_rewrite.c
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
 /IfModule  /var/www/website/.htaccess


 For instance this should work:
 http://website/hello-world/ - however, that gives my 404, hence the
 htaccess file is not respected.
 So when I go to Directory / and adjust setting for AllowOverride to
 FileInfo instead of None, then http://website/hello-world/ works fine and
 returns 200.
 In other cases its basic auth using htpasswd file that is not respected
 due to this global option being set to None. Is there another flag that i
 should raise, to allow overriding globals, inside a vhost container?


 Thomas



 On Tue, January 17, 2012 00:58, Igor Cicimov wrote:
 This should absolutely work. From the documentation:

 For security and performance reasons, do not set AllowOverride to
 anything
 other than None in your Directory / block. Instead, find (or create)
 the
 Directory block that refers to the directory where you're actually
 planning to place a .htaccess file.

 What is exactly not working and how are you testing?

 On Tue, Jan 17, 2012 at 9:42 AM, congo thomas apa...@thva.dk wrote:

 Hello world,

 I am being bullied by the security considerations of a standard apache
 installation on centos-5.6 and rhel-6 aswell - these apache are recent
 flavors from the respective repos of these platforms.

 The problem is this snippet from httpd.conf
 ##
 Directory /
  Options FollowSymLinks
  AllowOverride None
 /Directory
 ##
  are causing any htaccessfile not to be respected, then one might
 think,
 i
 will adjust that in my vhost for this particular directory where i have
 a
 .htaccess file. However that just will not work, nor with AllowOverride
 FileInfo or AllowOverride All, like so:
 Directory /var/www/website/
  AllowOverride FileInfo
 /Directory

 So i thought to put it inside httpd.conf with the exact catalogue name
 that is used in the vhostsfile - not event that allows respecting of
 the
 presence of .htaccess file in the catalogue.

 The goal is to disallow the reading of htaccessfiles (AllowOverride
 None)
 in all directories served, besides the one at /var/www/website, its
 okay
 if they are not read from /var/www/websites/congo/.
 Not that i have a few vhost containers, so the generic solution would
 be
 appreciated to implement.

 Ive spend hours locating the problem, and hours trying various
 combinations and browsing suggestions through - no solution yet...



 br
 congo


 -
 The official User-To-User support forum of the Apache HTTP Server
 Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org






 -
 The official User-To-User support forum of the Apache HTTP Server Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] AllowOverride

2012-01-19 Thread Darryle Steplight
From my understanding, if you put  AllowOverride None , then you are
instructing Apache to not allow any htaccess file to be respected.
This will be affected by all your .htaccess  files since you have it
in the directory directive. Chance it to AllowOverride All for
.htaccess to start kicking in. Or just create a new directory
directive with the proper directory path that you want your .htaccess
files to start working. Of course don't forget to restart apache
afterwards.

On Thu, Jan 19, 2012 at 3:19 PM, congo thomas apa...@thva.dk wrote:
 Hello world,

 am i the only one with this trouble?

 br
 congo thomas

 On Tue, January 17, 2012 13:52, congo thomas wrote:
 I am having the Directory / set to None for allowoverride.
 My problem persists in having this set:

 VirtualHost *:80
 ...
 Directory /var/www/website/
 AllowOverride FileInfo
 /Directory
 ...
 /VirtualHost

 - following restart apache, and then (executed as website-user in this
 case):
 $ touch /var/www/website/.htaccess
 $ chmod 644 /var/www/website/.htaccess
 $ cat IfModule mod_rewrite.c
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
 /IfModule  /var/www/website/.htaccess


 For instance this should work:
 http://website/hello-world/ - however, that gives my 404, hence the
 htaccess file is not respected.
 So when I go to Directory / and adjust setting for AllowOverride to
 FileInfo instead of None, then http://website/hello-world/ works fine and
 returns 200.
 In other cases its basic auth using htpasswd file that is not respected
 due to this global option being set to None. Is there another flag that i
 should raise, to allow overriding globals, inside a vhost container?


 Thomas



 On Tue, January 17, 2012 00:58, Igor Cicimov wrote:
 This should absolutely work. From the documentation:

 For security and performance reasons, do not set AllowOverride to
 anything
 other than None in your Directory / block. Instead, find (or create)
 the
 Directory block that refers to the directory where you're actually
 planning to place a .htaccess file.

 What is exactly not working and how are you testing?

 On Tue, Jan 17, 2012 at 9:42 AM, congo thomas apa...@thva.dk wrote:

 Hello world,

 I am being bullied by the security considerations of a standard apache
 installation on centos-5.6 and rhel-6 aswell - these apache are recent
 flavors from the respective repos of these platforms.

 The problem is this snippet from httpd.conf
 ##
 Directory /
  Options FollowSymLinks
  AllowOverride None
 /Directory
 ##
  are causing any htaccessfile not to be respected, then one might
 think,
 i
 will adjust that in my vhost for this particular directory where i have
 a
 .htaccess file. However that just will not work, nor with AllowOverride
 FileInfo or AllowOverride All, like so:
 Directory /var/www/website/
  AllowOverride FileInfo
 /Directory

 So i thought to put it inside httpd.conf with the exact catalogue name
 that is used in the vhostsfile - not event that allows respecting of
 the
 presence of .htaccess file in the catalogue.

 The goal is to disallow the reading of htaccessfiles (AllowOverride
 None)
 in all directories served, besides the one at /var/www/website, its
 okay
 if they are not read from /var/www/websites/congo/.
 Not that i have a few vhost containers, so the generic solution would
 be
 appreciated to implement.

 Ive spend hours locating the problem, and hours trying various
 combinations and browsing suggestions through - no solution yet...



 br
 congo


 -
 The official User-To-User support forum of the Apache HTTP Server
 Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
      from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org






 -
 The official User-To-User support forum of the Apache HTTP Server Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
       from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org





 -
 The official User-To-User support forum of the Apache HTTP Server Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
      from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




-- 
--
May the Source be with you.

-
The official User-To-User 

Re: [users@httpd] howto exclude localhost from authenication

2012-01-19 Thread Gregory Machin
Thanks that worked for me :-)

On Wed, Jan 18, 2012 at 9:49 PM, Guillaume Rossolini
g.rossol...@gmail.com wrote:
 On Wed, Jan 18, 2012 at 9:26 AM, Gregory Machin g...@linuxpro.co.za wrote:

 Hi.
 I have a virtual host, that is configured with ldap authentication,
 and this works well. The problem is that internal calls on the server
 to the virtual host now require authentication as well.

 How can I excluded  localhost and selected sources from authentication
 so that back-end processes don't require authentication ?

 Thanks

 GM


 Hi,

 You might want to try Satisfy. After the require valid-user directive,
 add the following:
 Allow from 127.0.0.1
 Satisfy Any

 (You can add several Allow from before the Satisfy directive)

 Documentation is
 here: http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

 Regards,


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] AllowOverride

2012-01-19 Thread Igor Cicimov
As I said this should work and AllowOverride for / should be set to none.
The only explanation is that you are using Apache version 2.0 where
AllowOverride Fileinfo doesn't apply to Rewrite statements. See the
difference between 2.0 and 2.2:

http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride

Igor

On Fri, Jan 20, 2012 at 7:35 AM, Darryle Steplight dstepli...@gmail.comwrote:

 From my understanding, if you put  AllowOverride None , then you are
 instructing Apache to not allow any htaccess file to be respected.
 This will be affected by all your .htaccess  files since you have it
 in the directory directive. Chance it to AllowOverride All for
 .htaccess to start kicking in. Or just create a new directory
 directive with the proper directory path that you want your .htaccess
 files to start working. Of course don't forget to restart apache
 afterwards.

 On Thu, Jan 19, 2012 at 3:19 PM, congo thomas apa...@thva.dk wrote:
  Hello world,
 
  am i the only one with this trouble?
 
  br
  congo thomas
 
  On Tue, January 17, 2012 13:52, congo thomas wrote:
  I am having the Directory / set to None for allowoverride.
  My problem persists in having this set:
 
  VirtualHost *:80
  ...
  Directory /var/www/website/
  AllowOverride FileInfo
  /Directory
  ...
  /VirtualHost
 
  - following restart apache, and then (executed as website-user in this
  case):
  $ touch /var/www/website/.htaccess
  $ chmod 644 /var/www/website/.htaccess
  $ cat IfModule mod_rewrite.c
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  /IfModule  /var/www/website/.htaccess
 
 
  For instance this should work:
  http://website/hello-world/ - however, that gives my 404, hence the
  htaccess file is not respected.
  So when I go to Directory / and adjust setting for AllowOverride to
  FileInfo instead of None, then http://website/hello-world/ works fine
 and
  returns 200.
  In other cases its basic auth using htpasswd file that is not respected
  due to this global option being set to None. Is there another flag that
 i
  should raise, to allow overriding globals, inside a vhost container?
 
 
  Thomas
 
 
 
  On Tue, January 17, 2012 00:58, Igor Cicimov wrote:
  This should absolutely work. From the documentation:
 
  For security and performance reasons, do not set AllowOverride to
  anything
  other than None in your Directory / block. Instead, find (or create)
  the
  Directory block that refers to the directory where you're actually
  planning to place a .htaccess file.
 
  What is exactly not working and how are you testing?
 
  On Tue, Jan 17, 2012 at 9:42 AM, congo thomas apa...@thva.dk wrote:
 
  Hello world,
 
  I am being bullied by the security considerations of a standard apache
  installation on centos-5.6 and rhel-6 aswell - these apache are recent
  flavors from the respective repos of these platforms.
 
  The problem is this snippet from httpd.conf
  ##
  Directory /
   Options FollowSymLinks
   AllowOverride None
  /Directory
  ##
   are causing any htaccessfile not to be respected, then one might
  think,
  i
  will adjust that in my vhost for this particular directory where i
 have
  a
  .htaccess file. However that just will not work, nor with
 AllowOverride
  FileInfo or AllowOverride All, like so:
  Directory /var/www/website/
   AllowOverride FileInfo
  /Directory
 
  So i thought to put it inside httpd.conf with the exact catalogue name
  that is used in the vhostsfile - not event that allows respecting of
  the
  presence of .htaccess file in the catalogue.
 
  The goal is to disallow the reading of htaccessfiles (AllowOverride
  None)
  in all directories served, besides the one at /var/www/website, its
  okay
  if they are not read from /var/www/websites/congo/.
  Not that i have a few vhost containers, so the generic solution would
  be
  appreciated to implement.
 
  Ive spend hours locating the problem, and hours trying various
  combinations and browsing suggestions through - no solution yet...
 
 
 
  br
  congo
 
 
  -
  The official User-To-User support forum of the Apache HTTP Server
  Project.
  See URL:http://httpd.apache.org/userslist.html for more info.
  To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   from the digest: users-digest-unsubscr...@httpd.apache.org
  For additional commands, e-mail: users-h...@httpd.apache.org
 
 
 
 
 
 
  -
  The official User-To-User support forum of the Apache HTTP Server
 Project.
  See URL:http://httpd.apache.org/userslist.html for more info.
  To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
from the digest: users-digest-unsubscr...@httpd.apache.org
  For additional commands, e-mail: