[users@httpd] htcacheclean vs just "delete all files where mtime > xx days"

2011-05-13 Thread Geoff Millikan
Dear List, We were running this: htcacheclean -n -t -i -d720 -p /var/httpd/proxy -l 20480M But we found it: 1. Takes ~100MB of virtual memory to run 2. Doesn't have logic (documented) to what's being deleted 3. Takes many hours to run even when not deleting anything (even without the -n swi

Re: [users@httpd] question maybe conceptual on virtual hosting

2011-05-13 Thread David Mehler
Hi, Thanks a lot. All my virtual host issues are now resolved. Thanks. Dave. On 5/13/11, Jeroen Geilman wrote: > On 05/14/2011 01:13 AM, David Mehler wrote: >> Hello, >> >> Thank you for your reply. From what your telling me the below is >> wrong. Is the only correction I have to make the elim

Re: [users@httpd] question maybe conceptual on virtual hosting

2011-05-13 Thread Jeroen Geilman
On 05/14/2011 01:13 AM, David Mehler wrote: Hello, Thank you for your reply. From what your telling me the below is wrong. Is the only correction I have to make the elimination of the duplicate sections in the virtual hosts or do I have to take out more? An SSL NameVirtualHost will only func

Re: [users@httpd] question maybe conceptual on virtual hosting

2011-05-13 Thread David Mehler
Hello, Thank you for your reply. From what your telling me the below is wrong. Is the only correction I have to make the elimination of the duplicate sections in the virtual hosts or do I have to take out more? Thanks. Dave. # httpd.conf # location of the web server tree DocumentRoot "/var/www/

Re: [users@httpd] Adwords reports 3 times as many 'clicks' as the server log shows served.

2011-05-13 Thread Xavier Gallagher
The look at raw logs. They look fine to me. Of course, i won't see missing lines, but what I see looks valid 178.106.142.121 - - [07/May/2011:20:11:48 -0400] "GET /First-Chapter-Do-Not-Lick-The-Phones.html HTTP/1.1" 200 35170 "-" "Mozilla/5.0 (X11; U; Linux armv7l; en-GB; rv:1.9.2.3pre) Gecko/20

Re: [users@httpd] Adwords reports 3 times as many 'clicks' as the server log shows served.

2011-05-13 Thread Yehuda Katz
On Fri, May 13, 2011 at 3:52 PM, Jeroen Geilman wrote: > On 05/13/2011 09:16 PM, Xavier Gallagher wrote: > >> I retrieve my logs via cpanel, if that is relevant. >> > You'd need to look at real server logs - not something dished up by a > crapanel. > As far as I know, cPanel has a single apache

Re: [users@httpd] question maybe conceptual on virtual hosting

2011-05-13 Thread Jeroen Geilman
On 05/13/2011 06:50 AM, David Mehler wrote: Hello, I've got a question on virtual hosts. I'm running httpd 2.2.3 on a rhel5 machine. I believe from what I've read that when one sets up a virtual host that the Listen and other directives in httpd.conf are no longer valid. Listen may only be used

Re: [users@httpd] Adwords reports 3 times as many 'clicks' as the server log shows served.

2011-05-13 Thread Jeroen Geilman
On 05/13/2011 09:16 PM, Xavier Gallagher wrote: Dear Everyone, I am currently in debate with Google Adwords about the clicks I am being charged for. The issue is simple. I have specific landing pages for my Adwords adverts. My server logs show the landing page served 125 times, Adwords repor

[users@httpd] Adwords reports 3 times as many 'clicks' as the server log shows served.

2011-05-13 Thread Xavier Gallagher
Dear Everyone, I am currently in debate with Google Adwords about the clicks I am being charged for. The issue is simple. I have specific landing pages for my Adwords adverts. My server logs show the landing page served 125 times, Adwords reports 360 'clicks'. There should be a 1-to-1 mapping

Re: [users@httpd] Custom Message

2011-05-13 Thread Mark Montague
On May 13, 2011 11:08 , Carmel wrote: I am using a "htaccess" file to limit certain IP from accessing my server. This is the format of the file: order allow,deny deny from X.X.X.X allow from all This is working perfectly. Is there anyway I can have a custom message displayed when a site lis

[users@httpd] Custom Message

2011-05-13 Thread Carmel
I am still trying to learn how Apache works so please bear with me. I am using a "htaccess" file to limit certain IP from accessing my server. This is the format of the file: order allow,deny deny from X.X.X.X allow from all This is working perfectly. Is there anyway I can have a custom messag

Re: [users@httpd] Problem with Files and Auth?

2011-05-13 Thread Knute Johnson
On 05/13/2011 02:14 AM, Tom Evans wrote: On Thu, May 12, 2011 at 6:45 PM, Knute Johnson wrote: I'm trying to use the Files directive to force auth for the index.html file and I'm getting the following error message if I don't specify the file name in the request. If I do it works fine. Author

[users@httpd] Setting secure permissions on web content

2011-05-13 Thread David Mehler
Hello, I've got an apache server and I'm loading in web content. I'm wanting to make several linux groups webdev for one and add users. That group should be able to write files, and have the group ownership set so the permissions are consistent. I'm also needing apache to be able to see these files

RE: [users@httpd] Hostname provided via SNI and hostname provided via HTTP are different

2011-05-13 Thread Satish Burnwal (sburnwal)
I did not get your question fully but for your info, I am just making a call to the web server page over https running on windows vista using my own client (not browser). -Satish -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Friday, May 13, 2011 7:09 PM To: user

Re: [users@httpd] Hostname provided via SNI and hostname provided via HTTP are different

2011-05-13 Thread Eric Covener
On Fri, May 13, 2011 at 9:32 AM, Satish Burnwal (sburnwal) wrote: > I am having an issue of SNI mismatch. Apache error log says: > Hostname TESThost.cisco.com provided via SNI and hostname > testhost.cisco.com provided via HTTP are different. What client sends them differently in your case?

[users@httpd] Hostname provided via SNI and hostname provided via HTTP are different

2011-05-13 Thread Satish Burnwal (sburnwal)
I am having an issue of SNI mismatch. Apache error log says: Hostname TESThost.cisco.com provided via SNI and hostname testhost.cisco.com provided via HTTP are different. My apache and openssl versions are: [root@CAS482 ~]# httpd -version Server version: Apache/2.2.17 (Unix) Server built: Feb 2

Re: [users@httpd] consistent 403 for home directory

2011-05-13 Thread Matthew Coleman
That was it, didn't check all the way from the root. Silly, but I'm glad I asked. Thank you! On Fri, May 13, 2011 at 5:53 AM, Eric Covener wrote: > > Checked file permissions on the directory in home; they are all 755. > > Every directory from the root to your directory must be executable by

Re: [users@httpd] consistent 403 for home directory

2011-05-13 Thread Eric Covener
> Checked file permissions on the directory in home; they are all 755. Every directory from the root to your directory must be executable by the apache user. - The official User-To-User support forum of the Apache HTTP Server Pr

Re: [users@httpd] Help! Huge httpd process memory usage (VSS 2.5 GB each process)

2011-05-13 Thread Eric Covener
On Fri, May 13, 2011 at 4:15 AM, List Member wrote: > Hi List, > > We have recently compiled and have been running httpd v2.2.17 + Worker > MPM on a RHEL system (32 bit Kernel with HugeMem & 32 GB of memory). > The Apache behaves fine and we have been using default MPM settings > for worker, also

[users@httpd] consistent 403 for home directory

2011-05-13 Thread Matthew Coleman
Hey everyone; >From my Googling, this is a very common problem, but I haven't been able to find an effective solution. I'm trying to get Apache working on a fresh Fedora 14 install. I'm wanting it to be able to access an additional directory in my home directory, workspace, where I keep Eclipse

Re: [users@httpd] Problem with Files and Auth?

2011-05-13 Thread Tom Evans
On Thu, May 12, 2011 at 6:45 PM, Knute Johnson wrote: > I'm trying to use the Files directive to force auth for the index.html file > and I'm getting the following error message if I don't specify the file name > in the request.  If I do it works fine. > > Authorization Required > > This server co

[users@httpd] Help! Huge httpd process memory usage (VSS 2.5 GB each process)

2011-05-13 Thread List Member
Hi List, We have recently compiled and have been running httpd v2.2.17 + Worker MPM on a RHEL system (32 bit Kernel with HugeMem & 32 GB of memory). The Apache behaves fine and we have been using default MPM settings for worker, also most of the modules are dynamically loaded and enabled. But eac

Re: [users@httpd] Chroot a virtual host

2011-05-13 Thread --[ UxBoD ]--
- Original Message - > Hi, > Some times ago I played with exaclty your configuration. > > If you strace the httpd process you can see that it's searching some > files under /usr/share related to date and time. > Here an extract of my chroot with files Icopied under my chroot > > /chroot/u

Re: [users@httpd] Chroot a virtual host

2011-05-13 Thread Marco Pizzoli
Hi, Some times ago I played with exaclty your configuration. If you strace the httpd process you can see that it's searching some files under /usr/share related to date and time. Here an extract of my chroot with files Icopied under my chroot /chroot/usr/share/zoneinfo/Europe/Rome /chroot/usr/sha

[users@httpd] Help with SuExec and FastCGI

2011-05-13 Thread --[ UxBoD ]--
Hi, After having real issues with Apaches 2.2 Chroot feature and Joomla I am going to see if I have better luck with SuExec and FCGI. I believe I have it configured correctly but am receiving the following error: [Fri May 13 08:29:29 2011] [warn] [client XXX] (104)Connection reset by

Re: [users@httpd] Chroot a virtual host

2011-05-13 Thread --[ UxBoD ]--
- Original Message - > Hello, > > On 20.04.11 00:47, --[ UxBoD ]-- wrote: > > I have noticed that when running Joomla, or in-fact any browsing > > capable > > PHP code, I am able to navigate above my virtual host document root > > and > > look at other virtual host files. > > > > How woul