Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Jeroen Geilman
On 11/15/2010 10:12 PM, Mohit Anchlia wrote: On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckermanjonas_li...@frukt.org wrote: On 2010-11-04 23:38, Mohit Anchlia wrote: 500 (Internal Server Error) Can't read entity body: Connection reset by peer Content-Type: text/plain Client-Date:

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Jeroen Geilman
On 11/15/2010 10:21 PM, Mohit Anchlia wrote: On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilmanjer...@adaptr.nl wrote: On 11/15/2010 10:12 PM, Mohit Anchlia wrote: On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckermanjonas_li...@frukt.org wrote: On 2010-11-04 23:38, Mohit

Re: [us...@httpd] last access time

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 09:21 PM, Peter Janovsky wrote: does apache modify the last access date of a resource obtained through a call to function ap_sub_req_lookup_file? That would be dependent on your filesystem, not apache. If you mount the filesystem with noatime, it will not be changed. -- J.

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 08:18 PM, Ahmed Bakir wrote: Hi all, For the application I am working on right now, I need to send large files between two servers via Apache. I am using reverse proxying to accomplish this. When I hammer my host with requests from the client (several requests in short

Re: [us...@httpd] HTTP PROCESS CONSUMING 100% cpu

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 09:39 PM, Ravi Markil wrote: Hi friends I recently installed xampp 1.7.1 application which has apache server. Starting the apache is consuming 100% of CPU starting from 20%,which is affecting the performance of my system. Please help me

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-17 Thread Jeroen Geilman
On 11/17/2010 10:23 PM, Ahmed Bakir wrote: Thanks for the responses! @jeroen: - There is no bandwidth difference between the connections. Both the client and the host are either running on the same machine or on the same LAN (I have tested on both and see the problem in both cases) - I have

Re: [us...@httpd] Apache Proxy Directives

2010-11-20 Thread Jeroen Geilman
On 11/20/2010 11:21 PM, Sachin Bhugra wrote: hi, I have compiled Apache 2.2.16 as follow: ./configure --prefix=/usr/local/httpd2.2.16 --with-mpm=prefork --with-mpm=worker --with-included-apr --enable-ssl --enable-proxy --enable-mods-shared=most proxy You can only build one MPM.

Re: [users@httpd] Apache Startup Problems with mod_wsgi : Missing Symbols ap_cleanup_scoreboard and ap_accept_lock_mech

2010-11-21 Thread Jeroen Geilman
On 11/21/2010 09:22 PM, Anurag Chourasia wrote: All, I hope you could help me with a mod_wsgi load error upon startup of apache. This is affecting one of our site Go Live and I would appreciate any help offered in this regard. The error upon startup of Apache is as follows root [zibal]%

Re: [us...@httpd] Server affinity instead of session affinity

2010-11-22 Thread Jeroen Geilman
On 11/22/2010 09:59 PM, Andrew Hole wrote: Hi guys! There is any available configuration to define server affinity instead of session affinity? Our architecture setup is based on multiple JVMs (tomcat) instances in each server (machine). The goal is to send all requests (within a session)

Re: [us...@httpd] interpreting Nessus scan results | TRACE TRACK?

2010-11-22 Thread Jeroen Geilman
On 11/22/2010 10:54 PM, egc wrote: Greetings -- Running 2.2.17 on a CentOS 5.5 host. All the usual security tweaks (or, at least the ones I'm familiar with) in place. Had our network types run a Nessus scan against the host - all fine, except for the following, which I'm having trouble

Re: [us...@httpd] Connection Issues

2010-11-30 Thread Jeroen Geilman
On 11/29/2010 11:25 PM, Travis Whitton wrote: Hi, We're experiencing some odd behavior regarding connections taking a long time to establish to our website. We've been running Apache in production for over three years now and have recently began experiencing issues where the server-status page,

Re: [us...@httpd] Want more info about logging works

2010-12-02 Thread Jeroen Geilman
On 12/01/2010 07:38 PM, ma...@manfbraun.de wrote: Hello ! I am just using this to log: LogFormat \ %{%F %T}t\t%v\t%p\t%h\t%{User-Agent} ... \ vhost_combined2 CustomLog |/usr/bin/mono /test/eco.exe /var/log/apache2/extra_log 86400 \ vhost_combined2 Okay. May I

Re: [us...@httpd] Module specific logging not working

2010-12-11 Thread Jeroen Geilman
On 12/10/10 7:25 PM, Dustin Chesterman wrote: Thanks for the reply. Adding the *RewriteOptions Inherit* directive worked perfectly for getting the mod_rewrite logging. Thanks for that. After looking more into the mod_jk logging issue, the logging is being written but not until I stop the

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-11 Thread Jeroen Geilman
On 12/10/10 12:55 PM, Mxrgus Pxrt wrote: I have SSL offloader, what checks wheather user came using HTTP or HTTPS (sends accordingly header.) As I want it to be transparent to application and available to .htaccess, I use apaches values. I want to overwrite them. Switching from HTTP to

Re: [us...@httpd] Virtual Servers Help

2010-12-20 Thread Jeroen Geilman
On 12/20/10 7:44 PM, Afsar Mohiuddin wrote: Given the facts. Any other ideas? Is there something that I should be trying. This is a network problem. Either your internet connection is down often, or somebody incompetent manages your network and/or name services. It's not an apache issue.

Re: [us...@httpd] httpd monitoring

2010-12-21 Thread Jeroen Geilman
On 12/21/10 12:42 PM, Hugo Gomes wrote: Hi all, I'm managing a web server, and time to time, my machine load average goes up, and when I run 'top' I see 1 or 2 httpd process consuming CPU and Memory. So my question is, there is any tools that i can monitored my machine and i

Re: [us...@httpd] Restricting config to a single virtualhost

2010-12-27 Thread Jeroen Geilman
On 12/24/10 5:34 PM, Lorenzo Milesi wrote: And what's wrong with having the config (included) in the SSL-only vhost alone? Because I would need to place those config files elsewhere, which means every time I upgrade the package I should take care of remembering where they are and update them.

Re: [us...@httpd] Restricting config to a single virtualhost

2010-12-28 Thread Jeroen Geilman
On 12/28/10 11:56 AM, Joost de Heer wrote: On Mon, December 27, 2010 13:25, Jeroen Geilman wrote: That's such nonsense. Package upgrades do not touch files that were modified manually. But they do recreate files if they're moved to a different location. And that was what OP was referring

Re: [us...@httpd] Re: httpd mod_jk cluster

2010-12-28 Thread Jeroen Geilman
On 12/28/10 3:18 PM, Don Hill wrote: What I really want to know is there a better design that I should use to gain performance. Umm.. switch to using mod_proxy_ajp, as the apache documentation suggests ? It offers a binary interface and much improved speed. for example 1.) create multiple

Re: [us...@httpd] cannot get UserDir to work

2010-12-30 Thread Jeroen Geilman
On 12/30/10 7:57 PM, Jeff Shearer wrote: I am not able to successfully implement UserDir in Apache. I am able to successfully reach the DocumentRoot. However, when I include the user's name following the domain, for example, *.com/wendellmoore, I receive a 404 error. Following is some

Re: [us...@httpd] [SOLVED] Re: egrep: /etc/bind/rndc.key: Permission denied

2010-12-31 Thread Jeroen Geilman
On 12/31/10 6:16 AM, Michelle Konzack wrote: After a second sleepless night I have found the egrep pig. On my VServers I generate a list for Hosts which are on the appropriated VServer. I do this by exec(egrep --no-filename --regexp=\(ORIGIN|CNAME.* . $VServer[0] .\.)\ /etc/bind/*,

Re: [users@httpd] ssl over https with ubuntu server 10.04

2011-01-15 Thread Jeroen Geilman
On 1/15/11 11:02 PM, Teun wrote: Hi everybody, I did follow a wiki to enable a secure ssl conection with my https://server/ How about the actual documentation: http://httpd.apache.org/docs/current/ssl/ But there is still a problem. Can you help me to analise the problem? Not without any

Re: [users@httpd] Log entries

2011-01-15 Thread Jeroen Geilman
On 1/14/11 9:31 AM, Jørn wrote: Hello, This may be a bit off-topic but... During the last months I have noticed this kind of entries in the apache log file: 84.48.198.105 - - [09/Jan/2011:12:41:24 +0100] GET

Re: [users@httpd] webservice clustering trouble

2011-01-15 Thread Jeroen Geilman
On 1/14/11 5:29 PM, Lukas Sklenar wrote: Hello, I have deployed 3 tomcat6.0.29 webapps, each of which exposes a webservice, and am using apache2.2 and mod_jk-1.2.31-httpd-2.2.3.so to cluster them - a performance exercise. 2.2.3 is quite old. Also, mod_jk is deprectaed in favour of

Re: [users@httpd] webservice clustering trouble

2011-01-16 Thread Jeroen Geilman
On 1/16/11 12:30 AM, Joost de Heer wrote: On 01/16/2011 12:19 AM, Jeroen Geilman wrote: On 1/14/11 5:29 PM, Lukas Sklenar wrote: Hello, I have deployed 3 tomcat6.0.29 webapps, each of which exposes a webservice, and am using apache2.2 and mod_jk-1.2.31-httpd-2.2.3.so to cluster them

Re: [users@httpd] http reference link

2011-01-19 Thread Jeroen Geilman
On 1/19/11 11:07 PM, George Christidis wrote: Hi, I have a question about the link google references for my website on search results. It appears as www.website.com\main_dir\?q=shab100500 That is very unlikely, as it is not a valid URL. It is probably listed as

Re: [users@httpd] Apache Reverse Proxy

2011-01-19 Thread Jeroen Geilman
On 1/18/11 10:29 PM, Christian Pascher wrote: Hi, I have a topology with two apache webservers. I want to set up a new server as a reverse proxy with caching and load balancing. mod_proxy_balancer will do nicely. As far as I know, this works fine with apache and I don't need extra software

Re: [users@httpd] Apache Reverse Proxy

2011-01-21 Thread Jeroen Geilman
On 1/21/11 12:51 PM, Christian Pascher wrote: So, if I want to provide HTTPS connections, it is possible to use a Apache Server as loadbalancer? It's always nice to get new requirements after the fact. You did not specify HTTPS before, did you ? AFAIK mod_proxy will handle both http-to-https

Re: [users@httpd] Redirect to the diff. servers.

2011-01-23 Thread Jeroen Geilman
On 1/23/11 6:46 PM, Tushar Chavan wrote: Hi Experts, We have below requirement. There are two portal servers . Portal 1 -- with url http://epsrm.xyz.com:5/irj Portal 2 --- with https://srmprd.xyz.com:5/irj Apache server is srmarp. Now can we redirect traffic from apache to

Re: [users@httpd] Password Protection Ignored

2011-01-23 Thread Jeroen Geilman
On 1/22/11 1:45 PM, --[ UxBoD ]-- wrote: Hi, I have a reports directory I wish to secure and have created the necessary .htaccess file: Don't. Just use the configuration file if you have access to it. It will make life so much easier. -- J.

Re: [users@httpd] Password Protection Ignored

2011-01-24 Thread Jeroen Geilman
On 1/24/11 9:38 AM, --[ UxBoD ]-- wrote: - Original Message - On 1/22/11 1:45 PM, --[ UxBoD ]-- wrote: Hi, I have a reports directory I wish to secure and have created the necessary .htaccess file: Don't. Just use the configuration file if you have access to it. It will make life

Re: [users@httpd] cleanest/fastest way of redirecting aliases to canonical server names

2011-01-29 Thread Jeroen Geilman
On 1/29/11 2:38 AM, Christoph Anton Mitterer wrote: Hi. I'm having a vhost, which is reachable via one canonical name, e.g. example.org, and also via several aliases, e.g. www.example.org, example.com, etc. I want that whenever requests are made via one of the aliases, that those are

Re: [users@httpd] problem with extra numbers after %h hostname/ip address in access_log

2011-01-29 Thread Jeroen Geilman
On 1/28/11 5:25 PM, Randy Tejas wrote: Hello, I'm seeing a problem in my logs where there are extra numbers at the end of an ip address: 10.56.194.252194.252 10.56.195.63.195.63 Apache seems to be duplicating the last two octects. Anybody seen this before and how to fix? Server version:

Re: [users@httpd] cleanest/fastest way of redirecting aliases to canonical server names

2011-01-29 Thread Jeroen Geilman
On 1/29/11 12:49 PM, Joost de Heer wrote: 2) - two vhosts, the first having only the canonical name as ServerName (no ServerAlias) 3) Two vhosts, the first having a bogus servername (e.g. 'redirecthost'), in which you do the redirection, and the second, which has the canonical name.

Re: [users@httpd] Incompatibilities between mod_remoteip and the server-info server-status handlers?

2011-01-29 Thread Jeroen Geilman
On 1/28/11 6:27 PM, J.Lance Wilkinson wrote: I've got a set of identical webservers, all Apache 2.2.6, with configurations such that authorized IP addresses are allowed access to locations handled by the server-info and server-status handlers. These work fine when visiting the individual

Re: [users@httpd] mod_dir with HTTPS

2011-01-29 Thread Jeroen Geilman
On 1/28/11 4:02 AM, Tao Lei wrote: Hello. It seems that mod_dir does not work properly with SSL (https). When working with http, there is no problem: If url http://www.abc.com/test; is requested, apache appends a / to the url and then respones to browser with code 301, telling it to request

Re: [users@httpd] One Apache for three diff. websites

2011-02-01 Thread Jeroen Geilman
On 2/1/11 8:54 AM, Tushar Chavan wrote: Hi Joost, 1 First point I tried but it did not work. Also you are correct , this is SAP system. 2/Use name based virtual hosts to separate the requests ?/ // Can you please give me hint consideting three diff. website? How to use /name based

Re: [users@httpd] Re: Domain Registrant's Details

2011-02-05 Thread Jeroen Geilman
On 2/5/11 5:56 AM, DW wrote: Thanks Mike for your quick reply. Is it easy to transfer the domain to my company? Will the registrar ask many questions and corporate documentations? It's relatively easy but still requires a written agreement from the owner or legal representative of the

Re: [users@httpd] Content Encoding Error :-

2011-02-13 Thread Jeroen Geilman
On 02/12/2011 06:27 AM, Tushar Chavan wrote: Hi Team, Below is my configuration : ProxyPass /irj http://idstrn:5/irj ProxyPassReverse /irj http://idstrn:5/irj But when I execute http://Apache _host/irj 1 I get blank page in internet explorer 2 I get below error in

Re: [users@httpd] suspicious proxy(?) URLs in logs

2011-03-12 Thread Jeroen Geilman
On 03/10/2011 02:16 PM, Rob De Langhe wrote: hi, while going occasionally through the access logs of a 2.2.17 Apache server, I noticed some URLs of remote locations where my server would have made a GET for ?! an example: 194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] GET

Re: [users@httpd] suspicious proxy(?) URLs in logs

2011-03-13 Thread Jeroen Geilman
On 03/13/2011 01:53 AM, Eric Covener wrote: On Thu, Mar 10, 2011 at 8:16 AM, Rob De Langhe rob.de.lan...@twistfare.be wrote: hi, while going occasionally through the access logs of a 2.2.17 Apache server, I noticed some URLs of remote locations where my server would have made a GET for ?!

Re: [users@httpd] Directories Being Probed Even When Index Listing Denied

2011-03-19 Thread Jeroen Geilman
On 03/19/2011 11:09 PM, ASAI wrote: Greetings, I am hosting a domain with no website which is a gateway for several applications. Directory indexes are turned off, however I noticed in the logs today that one the directories which has no reference to the outside world was probed. Is it

Re: [users@httpd] reverse proxy based on user agent

2011-03-24 Thread Jeroen Geilman
On 03/24/2011 05:14 PM, Carlos del Castillo wrote: Hello everyone, I have a web server that is load balancing two tomcat servers using the proxy module, all is working well but now I need to add a third one, but we need to send very specific user_agents to that third server. The URLs must be

Re: [users@httpd] Directories Being Probed Even When Index Listing Denied

2011-03-29 Thread Jeroen Geilman
On 03/21/2011 03:28 AM, aaron...@comcast.net wrote: If a PHP Shell can be uploaded. http://phpshell.sourceforge.net/ Then any thing www-data can do so can the shell user, As stated in my post about virtual hosts seeing each others document roots. If you post the root password on your website,

Re: [users@httpd] Re: What are accept.lock files?

2011-05-10 Thread Jeroen Geilman
On 05/10/2011 07:10 PM, Steven Ross wrote: Trying one more time. Does anyone know? On May 7, 2011, at 14:16 , Steven Ross wrote: I'm running the pre-installed Apache 2 on my Mac OS X 10.5.8 machine. The log directory (where it writes error and access logs) is at: /private/var/log/apache2/

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

2011-05-12 Thread Jeroen Geilman
On 05/12/2011 07: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 could not verify

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

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

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 duplicateDirectory / sections in the virtual hosts or do I have to take out more? An SSL NameVirtualHost

Re: [users@httpd] Need advice to choose a configuration

2011-05-22 Thread Jeroen Geilman
www.harvardbusiness.org | Cell:(978) 317-3614 On May 22, 2011, at 12:54 PM, Jeroen Geilman wrote: On 05/22/2011 05:43 PM, Isaac XxX wrote: Hi folks, I have to move some sites (10) from virtual hosts to a single dedicated machine. The number of sites will grow on time. I've two ways to implement it: 1

Re: [users@httpd] Files and DirectoryIndex conflict?

2011-05-28 Thread Jeroen Geilman
On 05/28/2011 08:51 PM, Knute Johnson wrote: I'm having a problem using the Files directive to require authentication on the index.html file. It doesn't work if it is requested with the index URL but does if the URL specifies the file directly. I can't believe that I'm the only person ever

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-01 Thread Jeroen Geilman
On 06/02/2011 01:05 AM, Geoff Millikan wrote: I want to make a catch-all virtual host (like the manual mentions below) which redirects any errant hostnames like http://oopsie.mydomain.com/ to our main hostname at http://www.mydomain.com/ But the below example doesn't work - I'm getting an

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Jeroen Geilman
On 06/02/2011 10:43 AM, Ravi Chandran wrote: hi all, I have recently downloaded apache http server 2.2, I had published some content for a project and its working also. Now my requirement is that this published content should be available across two networks. So for start, I want to make this

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Jeroen Geilman
, Jun 2, 2011 at 3:55 PM, Jeroen Geilman jer...@adaptr.nl mailto:jer...@adaptr.nl wrote: On 06/02/2011 10:43 AM, Ravi Chandran wrote: hi all, I have recently downloaded apache http server 2.2, I had published some content for a project and its working also. Now

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Jeroen Geilman
On 06/02/2011 01:00 PM, Ravi Chandran wrote: K, first of all I don't understand the meaning of Top Post. Can you specify in layman's term? It means post your replies either at the bottom of the previous message, or in-line, below the section you are replying to. Also, please attribute your

Re: [users@httpd] how many Location directives can you have?

2011-06-03 Thread Jeroen Geilman
On 06/03/2011 02:32 PM, Tommy Peterson wrote: Yes. Here is what I had to start with Please don't top-post. LocationMatch /drupal/online-courses\?id=\d AuthType shibboleth ShibRequireSession On ShibUseHeaders On require shibboleth /LocationMatch LocationMatch cannot match a

Re: [users@httpd] need some thoughts on trouble shooting httpd server hangup

2011-06-03 Thread Jeroen Geilman
On 06/03/2011 10:12 PM, Zaccone, Warren wrote: Have a problem where httpd server 2.2.15 stops responding to requests requiring server to be frequently restarted that has me going in circles. I was looking for some direction as to how to pursue. there are 8 workers running each consuming very

Re: [users@httpd] What triggers AUTH_TYPE to show up?

2011-06-07 Thread Jeroen Geilman
On 06/07/2011 10:21 PM, Tommy Peterson wrote: If I have the following Location directive and in the headers the Auth Type shows up accordingly it says [AUTH_TYPE] = shibboleth Location /drupal AuthType shibboleth ShibRequireSession On ShibUseHeaders On Require shibboleth

Re: [users@httpd] Apache 2.2 connections full

2011-06-07 Thread Jeroen Geilman
On 06/07/2011 10:59 PM, Rob Morin wrote: Hello all was not sure how to word my subject line... I posted a few weeks back on how could I increase performance of apache... I received quite a few replies and they all helped a bit... We even added an additional server to our server cluster to

Re: [users@httpd] .htaccess

2011-06-08 Thread Jeroen Geilman
On 06/08/2011 09:50 PM, dhottin...@harrisonburg.k12.va.us wrote: I currently use .htaccess to prompt for username and password and point it to an ldap database running on my mailserver. Im considering moving all my mail accounts to gmail. Does anyone know if it is possible to authenticate

Re: [users@httpd] PHP Not Working

2011-06-09 Thread Jeroen Geilman
On 06/09/2011 11:48 PM, Xavier Lopez wrote: Hi, I'm using Apache 2.2 on Ubuntu 10.04. I've checked that php mod is enabled. It is. I'm using virtual hosts. It serves all html files, but not php. Following is my VHost configuration: VirtualHost *:80 ServerName http://new.dev

Re: [users@httpd] PHP Not Working

2011-06-10 Thread Jeroen Geilman
On 06/10/2011 08:31 PM, zavelo...@gmail.com wrote: J, I couldn't figure out what exactly you meant when you typed in your Documentroot Directory. Did you mean in the block of text that contains the DocumentRoot Directive, or the Directory Directive containing the document root? I tried it both

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Jeroen Geilman
On 06/10/2011 09:05 PM, Wilson Hernandez wrote: Thanks for replying. I actually would like to have the main server locally and the backup server hosted somewhere else with: Amazon, Godaddy, etc... The cheapest way is to point the hostname to your home IP, and set a very short TTL, say 5

Re: [users@httpd] General question - Apache server-status page

2011-06-13 Thread Jeroen Geilman
On 06/13/2011 08:23 PM, Rob Morin wrote: If I see all the slots filled with W and C only, what would that indicate, this is during high traffic times.. As the legend at the bottom explains, W

Re: [users@httpd] General question - Apache server-status page

2011-06-13 Thread Jeroen Geilman
On 06/13/2011 09:01 PM, Rob Morin wrote: My problem is as it stands, the loads are too high already, at peek times our Dual Quad Core Xeons with 18 gigs of ram go as high as 100.00 and this is with a

Re: [users@httpd] General question - Apache server-status page

2011-06-13 Thread Jeroen Geilman
Morin Systems Administrator Infinity Labs Inc. (514) 387-0638 Ext: 207 From: Jeroen Geilman [mailto:jer...@adaptr.nl] Sent: Monday, June 13, 20

Re: [users@httpd] How to run a backup server?

2011-06-14 Thread Jeroen Geilman
On 06/14/2011 03:53 PM, Igor Galić wrote: - Original Message - Hmmm well in *that* case, seems like your choices are: 1. pay for VPS 2. relax your constraint about 5 TB of data 3. build a server center from the ground up with reliable power (among other things). Pays yer money, takes

Re: [users@httpd] Apache returns 200 to client in case of proxy timeout

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 08:52 AM, Moshe Ben-Shoham wrote: Hi, We're using Apache 2.2.15, with mod_proxy_http for proxying requests to backend processes. Here's the relevant configuration we use: ProxyMatch http://localhost:9001 That is not valid syntax for ProxyMatch, which requires a regular

Re: [users@httpd] htaccess hell

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 08:56 PM, Ian Zimmerman wrote: I (or rather my distro) enabled userdir as follows: LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so IfModule mod_userdir.c urgh UserDir public_html UserDir disabled root Directory /home/*/public_html

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 10:13 PM, Matus UHLAR - fantomas wrote: On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch in your Documentroot

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 10:23 PM, Matus UHLAR - fantomas wrote: On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch in your Documentroot

Re: [users@httpd] Subdomain redirection in Apache Virtual Hosting

2011-06-16 Thread Jeroen Geilman
On 06/16/2011 07:04 PM, Darren Kukulka wrote: Hi All, I have a general question regarding subdomain redirection with virtual hosts. Basically, we have a domain - let's call it sample.com http://sample.com - with several subdomains, xxx.sample.com http://xxx.sample.com and yyy.sample.com

Re: [users@httpd] need some thoughts on trouble shooting httpd server hangup

2011-06-16 Thread Jeroen Geilman
Slowlaris :( I know there are regulars here who do run it though, and I also know there are some solaris-specific quirks. thank you. *From:*Jeroen Geilman [mailto:jer...@adaptr.nl] *Sent:* Friday, June 03, 2011 6:48 PM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] need some thoughts

Re: [users@httpd] making exception in Location path

2011-06-17 Thread Jeroen Geilman
On 06/17/2011 10:38 PM, neubyr wrote: I have an authentication rule for entire site as follows: { Location / AuthType Basic ... ... Location } Is there any way to exclude only a particular path from this authentication realm. Any help or suggestions? Location /no/auth allow from

Re: [users@httpd] Subdomain redirection in Apache Virtual Hosting

2011-06-17 Thread Jeroen Geilman
(assuming you now have nameVirtualHost *:80, which you should): VirtualHost *:80 ServerName my.sub.domain Documentroot /some/where/else /VirtualHost I'm not well versed in mod_rewrite and regular expressions, etc On 16 June 2011 18:38, Jeroen Geilman jer...@adaptr.nl mailto:jer

Re: [users@httpd] What does Timeout in the httpd.conf file accomplish?

2011-06-19 Thread Jeroen Geilman
On 06/20/2011 02:38 AM, Zaccone, Warren wrote: Runningmultiple copies of this script concurrently brings httpd into a hang state, that it will not recover from without manually restarting the httpd server. ab-n 300 -c 300 http://myserver/mysite/loop.php You're requesting a single URL 300

Re: [users@httpd] subdomains

2011-07-05 Thread Jeroen Geilman
On 2011-07-05 15:20, Amira Othman wrote: Hi All, I am using httpd-2.2.3-43.3 That's pretty old. on centos 5.6. Ah, that explains that. I

Re: [users@httpd] limit access to certain query strings

2011-07-05 Thread Jeroen Geilman
On 2011-07-05 22:02, congo thomas wrote: Hello chiefs, How do i limit (allow/deny) access to certain query strings? Actual example: 1) I want to allow only 'user1' access to http://example.com/yadayada/?page=abc 2) I want to allow only 'user2' access to http://example.com/yadayada/?page=def 3)

Re: [users@httpd] subdomains

2011-07-06 Thread Jeroen Geilman
. From: Jeroen Geilman [mailto:jer...@adaptr.nl] Sent: Tuesday, July 05, 2011 10:23 PM To: users@httpd.apache.org Subject: Re: [users@httpd] subdomains

Re: [users@httpd] Apache2 slow with protfpd

2011-07-06 Thread Jeroen Geilman
On 2011-07-06 17:47, Guille wrote: I'm using: - Debian Squeeze - Server version: Apache/2.2.16 (Debian) - ProFTPD Version 1.3.3c - Net2FTP v 0.98 Hi guys i'm currently using a php script (Net2FTP) as a web FTP client. But i'm experiencing some issues when i try to access big files. I know this

Re: [users@httpd] Apache2 slow with protfpd

2011-07-06 Thread Jeroen Geilman
to connect via browser directly. ... so allow them to use a browser directly. Why does there have to be FTP in between ? Apache excels at serving files. 2011/7/6 Jeroen Geilman jer...@adaptr.nl mailto:jer...@adaptr.nl On 2011-07-06 17:47, Guille wrote: I'm using: - Debian Squeeze

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-08 Thread Jeroen Geilman
On 2011-07-07 19:54, Michael B Allen wrote: I want a request like: /base/path/to/target?foo=bar to invoke a particular PHP file for everything under /base. It seems the usual way (only way?) to do this is with something like: AddHandler php5-script .php AddType text/html .php

Re: [users@httpd] vhost names on logs

2011-07-11 Thread Jeroen Geilman
On 2011-07-11 15:52, Eric Covener wrote: On Mon, Jul 11, 2011 at 8:02 AM, Josu Lazkano josu.lazk...@barcelonamedia.org wrote: Hello list, I want to configure a lo system and I need to get the vhost name on the log files to separate them. See about adding %v and %V

Re: [users@httpd] Apache server not serving pages

2011-07-16 Thread Jeroen Geilman
On 2011-07-15 19:31, vinay tyagi wrote: Hello, I am using wamp stack on windows xp. Lately I installed norton 2012 trial antivirus but uninstalled it and moved back to my free avast antivirus. Now my wamp is not serving pages. Everything is working fine I have checked with netstat that the

Re: [users@httpd] Basic HTTP Authenication against Directory Server (Sun Directory Server)

2011-07-17 Thread Jeroen Geilman
On 2011-07-17 14:14, SSRChandra Devagupthapu wrote: HI, Thanks for the Update .Do you any other Way to do this. Write your own module. Regards, SSR Chandra, Cognos Support, 040-66678118. *From:*Juan Asensio

Re: [users@httpd] mod_proxy_balancer config for HTTP header based sticky sessions

2011-07-17 Thread Jeroen Geilman
On 2011-07-17 15:55, G Quiggin wrote: Hello there, I'm trying to write a mod_proxy_balancer config to implemented sticky sessions between multiple backend tomcat instances with stickyness provided by an HTTP header. eg 1st incoming request is processed by app and responds by setting a

Re: [users@httpd] Can we pass Remote user without authenication

2011-07-19 Thread Jeroen Geilman
On 2011-07-19 05:48, SSRChandra Devagupthapu wrote: Dear All, I need to pass remote user from Apache to Sun directory server for Single sign Implementation , the problem here is Windows User's database is not present in Sun directory server , HTTP does not have users. You may want to

Re: [users@httpd] Monit on vhost

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 17:28, Josu Lazkano wrote: Hello list, I am trying to configure a server with lots of vhost. I need to check if they are online with Monit, for this, I just create this on each vhost: Alias /monit/ /var/www/monit/ Directory /var/www/monit/ Options

Re: [users@httpd] Monit on vhost

2011-07-22 Thread Jeroen Geilman
Allow from 127.0.0.1 /Directory I am new on Apache and I just copy examples from the web. Thanks and best regards. *De:*Jeroen Geilman [mailto:jer...@adaptr.nl] *Enviado el:* jueves, 21 de julio de 2011 20:55 *Para:* users@httpd.apache.org *Asunto:* Re: [users@httpd] Monit

Re: [users@httpd] Monit on vhost

2011-07-25 Thread Jeroen Geilman
original- De: Jeroen Geilman [mailto:jer...@adaptr.nl] Enviado el: viernes, 22 de julio de 2011 19:04 Para: users@httpd.apache.org Asunto: Re: [users@httpd] Monit on vhost On 2011-07-22 09:46, Josu Lazkano wrote: Thanks for your reply, can you help with an example? OUTSIDE your vhosts

Re: [users@httpd] RewriteRule acts differently for different browsers

2011-07-25 Thread Jeroen Geilman
On 2011-07-25 20:45, James Moe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, apache v2.0 The reason for this redirection is that when I purchased the SSL certificate, I did not know to get one for than the domain's URL, sohnen-moe.com. A secure connection

Re: [users@httpd] RewriteRule acts differently for different browsers

2011-07-25 Thread Jeroen Geilman
On 2011-07-25 22:49, James Moe wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2011 12:14 PM, Jeroen Geilman wrote: You should not use rewriting for this, it is entirely unnecessary and only adds complexity. Instead, you add a new vhost for www.sohnen-moe.com, and do a blank

Re: [users@httpd] Detecting and limiting access to a mobile device using a 3G network

2011-07-27 Thread Jeroen Geilman
On 2011-07-27 01:36, Anurag Kapur wrote: Hi, I am looking for ways of detecting a specific mobile device (example: my iPhone and not my friends) accessing a resource on my publicly accessible Apache web server so that I can restrict access to certain devices only. That's easy - it's called

Re: [users@httpd] https redirection

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 08:28, vishesh kumar wrote: Hi Members suppose i have a site https://abc.com and i want if anyone write https://abc.com/xyz.com , it should redirected to https://xyz.com which is one same server. Redirect Permanent /xyz.com/ https://xyz.com/ Server wide certificate installed

Re: [users@httpd] https redirection

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 11:08, fedora wrote: I usually do redirections this way: in the web http://abc.com I insert into the body tag body onload=redix() somewhere in the javascripts for this page I have function redix() { if (window.location.search != ))

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 06:41, Darryle Steplight wrote: Trying adding this in your vhost, config file or .htaccess file addHandler x-httpd-php5 .php .htm .html Please get it right: FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch On Sat, Jul 30, 2011 at 12:20 AM, Rob

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 20:06, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include xyz.php NOT render the page as desired in the browser It just ignores the include. HTML does not have an include directive

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 23:21, Mark Rousell wrote: On 30/07/2011 19:54, Jeroen Geilman wrote: On 2011-07-30 20:06, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include xyz.php NOT render the page as desired

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 23:33, Stormy wrote: At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include xyz.php NOT render the page as desired in the browser It just ignores

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-31 00:54, Rob Stone wrote: Sorry I have created such a discussion around my use of the word include. In future I'll try to be semantically correct. By include I mean lines of code like this that are embedded into the source html. ?php include xyz.php; ? And that's exactly

  1   2   >