RE: [us...@httpd] Apache memory hog

2009-04-03 Thread Tom Evans
On Fri, 2009-04-03 at 13:58 +0100, Adrian Marsh wrote: > Hi Andre, > > Thanks for the reply. No its definitely the httpd process. I see each thread > consuming hundreds of megs of RES memory being used in TOP. I just restarted > it and already each is consuming: > > 10006 apache15 0 27

Re: AW: [us...@httpd] Apache memory hog

2009-04-03 Thread Tom Evans
On Fri, 2009-04-03 at 16:21 +0200, Alessandro Fantuzzi wrote: > This thread confirms that apache by default doesnt free memory when > stopped. > http://marc.info/?l=apache-modules&m=108080705806751&w=2 > > We have a memory leak problem too, still we havent solved. > > We havent svn onthe server

RE: [us...@httpd] Apache memory hog

2009-04-03 Thread Tom Evans
On Fri, 2009-04-03 at 14:24 +0100, Adrian Marsh wrote: > Hi Tom, > > Well, at the moment the servers running very low on available memory: > > Mem: 12307068k total, 12121380k used, 185688k free, 286808k buffers > Swap: 2031608k total,0k used, 2031608k free, 11081692k cached > > He

Re: [us...@httpd] Custom http auth

2009-04-08 Thread Tom Evans
On Wed, 2009-04-08 at 14:43 +0200, m...@bortal.de wrote: > Hello List, > > is there a way to build or code or make a custom HTTP Auth? The plain > htaccess one looks ugly and has not all the features that i want. > > Are there any alternatives? > > Cheers, > Mario > http://httpd.apache.org/d

Re: [us...@httpd] LocationMatch inside VirtualHost? [solved: bug]

2009-04-14 Thread Tom Evans
I'm slightly confused, as the thread title says 'LocationMatch inside VirtualHost', which doesn't seem related? On Tue, 2009-04-14 at 06:19 -0400, Viaduct Productions wrote: > On 14-Apr-09, at 4:57 AM, André Warnier wrote: > > > So would you like to try again ? > > > Sure. I'll make it dead si

Re: [us...@httpd] LocationMatch inside VirtualHost? [solved: bug]

2009-04-14 Thread Tom Evans
On Tue, 2009-04-14 at 07:29 -0400, Viaduct Productions wrote: > On 14-Apr-09, at 7:00 AM, Tom Evans wrote: > > > I'm slightly confused, as the thread title says 'LocationMatch inside > > VirtualHost', which doesn't seem related? > > When I inser

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread Tom Evans
On Tue, 2009-04-14 at 07:49 -0700, ricardo13 wrote: > Hi all, > > I'm doing some tests with module rewrite (mod_rewrite), but I'm have > problems. > I typed the follow in http.conf: > > > RewriteEngine on > RewriteRule ^index.html$ new.html > > > When I type in browser localhost/inde

Re: [us...@httpd] cgi http complete header

2009-04-15 Thread Tom Evans
On Wed, 2009-04-15 at 17:40 +0300, Ruben Lihet wrote: > OK, but can mod_rewrite read the http-header ? I know mod_rewrite can > read get parameters, but I don't know if it's capable of reading the > http header. > http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond Other th

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Tom Evans
On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: > On 04/22/2009 10:17 PM, Eric Covener wrote: > > On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar > > wrote: > > > >>> Outside of htaccess, the pattern is compiled at startup, so you can't > >>> use variables (because they de

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Tom Evans
On Wed, 2009-04-22 at 23:22 +0800, Basil Mohamed Gohar wrote: > On 04/22/2009 11:11 PM, Tom Evans wrote: > > On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: > > > >> On 04/22/2009 10:17 PM, Eric Covener wrote: > >> > >>> On Wed,

Re: [us...@httpd] Server-Variables in CondPattern of RewriteCond directive

2009-04-22 Thread Tom Evans
On Wed, 2009-04-22 at 23:22 +0800, Basil Mohamed Gohar wrote: > On 04/22/2009 11:11 PM, Tom Evans wrote: > > On Wed, 2009-04-22 at 22:30 +0800, Basil Mohamed Gohar wrote: > > > >> On 04/22/2009 10:17 PM, Eric Covener wrote: > >> > >>> On Wed,

Re: [us...@httpd] Little explanation

2009-05-05 Thread Tom Evans
On Tue, 2009-05-05 at 12:07 -0300, Darvin Denmian wrote: > Hello list, > > i need some information about the above directives: > > > StartServers8 > MinSpareServers5 > MaxSpareServers 20 > ServerLimit 288 > MaxClients 256 > MaxR

Re: [us...@httpd] A couple of questions about mod_authz_ldap

2009-05-07 Thread Tom Evans
On Wed, 2009-05-06 at 00:21 -0400, Edward Ned Harvey wrote: > I have mod_authnz_ldap_module loaded and working properly. Users can > login and navigate to pages where they are granted "Require User" but > when the user navigates to a page where they have no access, it > prompts them again to login

Re: [us...@httpd] A couple of questions about mod_authz_ldap

2009-05-11 Thread Tom Evans
access a page where they should not be authorized. > > Does anybody know of any way for me to change something and get better > behavior? I don't care about RFC's and whether browsers are conforming or > not. I only care about getting the desired behavior. > > Thanks again.

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Tom Evans
On Tue, 2009-05-12 at 18:24 +0530, Karthik kanna wrote: > Hi, > > I am using Apache 2.0.59 in AIX 5.3. Apache is running as "apache" > user-id, even the parent process is also running as "apache" user-id. > I am using non-standard ports like 8028/9028, so I do not require root > user to run the p

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Tom Evans
On Wed, 2009-05-13 at 11:52 +0530, Karthik Nanjangude wrote: > Hi > > This is what I did to http.conf > I now wanted to use *.jsp instead of *.html > > > > RewriteEngine on > RewriteLog "C:/APACHE/logs/rewrite.log" > RewriteLogLevel 9 > RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq

Re: [us...@httpd] Reverse proxy - Getting CGI environment variable on backend server

2010-04-09 Thread Tom Evans
On Fri, Apr 9, 2010 at 2:14 PM, Amit Panwar wrote: > Hi All, > > I'm using reverse proxy to forward request to my internal apache server, > which is working fine. > Here is my configuration on front apache server: > >   ProxyRequests Off >   ProxyPassInterpolateEnv On >   ProxyPass /someapp http:/

Re: [us...@httpd] Creating user in apache web server

2010-04-15 Thread Tom Evans
On Thu, Apr 15, 2010 at 11:50 AM, senthil kumar j wrote: > Hi there, > > Could you please tell me how to create user name pasword for apache web > server. > > Thanks in advance > Senthilkumar .J > http://httpd.apache.org/docs/2.2/programs/htpasswd.html # Create htpasswd -c /path/to/.htpasswd you

Re: [us...@httpd] Re: Apache module that enables ActiveX

2010-04-16 Thread Tom Evans
On Fri, Apr 16, 2010 at 11:13 AM, Mauri wrote: > I'm sorry but someone mayebe help me? > > There are apache module that enables ActiveX? > > Thanks for any suggest. > > Cheers, > Mauri > > > > 2010/4/15 Mauri >> >> Hi, >> I have a proxy with SSL that forward any request to a backend platform. >>

Re: [us...@httpd] Re: Apache module that enables ActiveX

2010-04-16 Thread Tom Evans
On Fri, Apr 16, 2010 at 11:43 AM, Mauri wrote: > in this moment I don't use any others modules. I use mod_proxy and mod_ssl, > only. > Then you mean that the apache mod_proxy don't blocks any activex request? > I don't have any problems in this request: > client --> SERVERA mod_proxy (ex.192.168.0

Re: [us...@httpd] Re: Apache module that enables ActiveX

2010-04-16 Thread Tom Evans
On Fri, Apr 16, 2010 at 12:28 PM, Mauri wrote: > I'm checking about security context. > The html request is the same. > I have set LogLevel to debug. In attach the log during the activex request. > There aren't errors. > > I use I.E. 7 as browser, only. > > If I connect to SERVERB the browser get

Re: [us...@httpd] Combining mod_jk and Location Directives

2010-04-19 Thread Tom Evans
On Mon, Apr 19, 2010 at 4:22 PM, Nick Tkach wrote: > Is it possible, for a given URL that's being directed to mod_jk, to lock it > down so that you can only access it from a particular subnet? > > For example, let's say I have an app with JkMounts defined: > > JkMount /myapp worker1 > JkMount /my

Re: [us...@httpd] Running script from configuration file of Apache2

2010-04-21 Thread Tom Evans
On Wed, Apr 21, 2010 at 11:24 AM, Petr Hracek wrote: > Hello *, > > I would like to ask you on the one interesting think: > I need to proxy the requests to the specified url to a dynamically generated > address. > Instead of: > >     ProxyPass  http://192.0.2.25:8080/CBAdmin/ >     ProxyPassRever

Re: [us...@httpd] HTTPS only for login page (when apache front tomcat)

2010-04-21 Thread Tom Evans
On Wed, Apr 21, 2010 at 11:38 AM, chamila piyasena wrote: > > Hi, > My application is running on tomcat. And I have fronted tomcat by Apache web > server using mod_jk. And I have successfully added https in apache to all > the pages in my application. But I want to https only for the login page. I

Re: [us...@httpd] Running script from configuration file of Apache2

2010-04-21 Thread Tom Evans
On Wed, Apr 21, 2010 at 2:21 PM, Petr Hracek wrote: > Is there any possibility how to work without RewriteRule > with turn on RewriteRule? > > thank you in advance > Petr > No, not really. Cheers Tom - The official User-To-Use

Re: [us...@httpd] multiple SSL on one computer - IP

2010-04-21 Thread Tom Evans
On Wed, Apr 21, 2010 at 11:48 PM, Michael Ni wrote: > i have a situation where I have only one computer (one IP) with > 2 virtual hosts > > one virtual host is static.foobar.com > > one virtual host is www.foobar.com > > both have separate ssl certs registered to the corresponding domain. > > i tr

Re: [us...@httpd] multiple SSL on one computer - IP

2010-04-22 Thread Tom Evans
On Thu, Apr 22, 2010 at 1:25 AM, Crypto Sal wrote: >  On 04/21/2010 08:11 PM, Tom Evans wrote: >> >> On Wed, Apr 21, 2010 at 11:48 PM, Michael Ni  wrote: >>> >>> i have a situation where I have only one computer (one IP) with >>> 2 virtual hosts >

Re: [us...@httpd] RedirectMatch and ProxyPass

2010-04-22 Thread Tom Evans
On Thu, Apr 22, 2010 at 12:55 PM, Eric Covener wrote: >> It seems that the request goes first through mod_proxy and then only through >> mod_alias, event it the mod_alias directives (RedirectMatch) appear first >> ... is it a normal behavior ? > > It's normal, and the precedence the modules are co

Re: [us...@httpd] Re: HTTPS only for login page (when apache front tomcat)

2010-04-22 Thread Tom Evans
On Thu, Apr 22, 2010 at 2:04 PM, Krist van Besien wrote: > There is in my opinion no good reason not to have https for the whole > session. The "performance" argument doesn't really apply anymore in a > time that you can buy several webservers for the cost of employing one > webserver specialist f

Re: [us...@httpd] Re: HTTPS only for login page (when apache front tomcat)

2010-04-22 Thread Tom Evans
On Thu, Apr 22, 2010 at 2:50 PM, Mark H. Wood wrote: > Consider that Google and Yahoo! receive traffic many orders of > magnitude greater than perhaps 99.9% of the rest of the Web.  What is a > performance problem for them may not be a performance problem for you. > I run a number of web servers a

Re: [us...@httpd] Alias, Virtual Host and 500 Internal Server Error

2010-04-23 Thread Tom Evans
On Fri, Apr 23, 2010 at 1:02 AM, Wang, Mary Y wrote: > Jason, > You are so right.  The problem was the DNS server didn't map to the correct > hostname (it was pointing to another host that was running Apache 1.3.27). > Now, I can relax a bit. > > Thanks > Mary > > It's probably not your server,

Re: [us...@httpd] mod_proxy_ajp (apache 2.2) config change not recognized by graceful

2010-04-24 Thread Tom Evans
On Sat, Apr 24, 2010 at 2:08 PM, wrote: > > Hi all, > > it seems mod_proxy / mod_proxy_ajp does not realize config changes while > doing a graceful restart. > > I need to connect to 2 ajp-services but only to one at one time, and need > current sessions pointing > to the appserver:18009, new sess

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Tom Evans
On Mon, Apr 26, 2010 at 2:11 PM, Mauri wrote: > > One more bit. Really? Sure it's not just the same things being repeated over and over again, without any testing or actual explanation of the problem? > > Why I don't get a secure connection on the browser? I type > https://mysite.com and get red

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Tom Evans
On Mon, Apr 26, 2010 at 3:15 PM, Mauri wrote: > > Thanks tom for the reply. > > about your request. This is the first call... others log is in > http://mysite.com/bla/bla/bla > > I want that only http header will be https://mysite.com/bla/bla/bla and not > http://mysite.com/bla/bla/bla > > many th

Re: [us...@httpd] Change authentication information

2010-04-27 Thread Tom Evans
On Tue, Apr 27, 2010 at 4:06 PM, Tamas, Gabor wrote: > > Hi, > > i' ve two machines, (A) is on the Internet site, which is a reverse proxy > for (B). There is a user based authentication, and i' d like (A) to change > the authentication details (only the username). So, for example if john > comes,

Re: [us...@httpd] Change authentication information

2010-04-27 Thread Tom Evans
On Tue, Apr 27, 2010 at 4:29 PM, Tom Evans wrote: > On Tue, Apr 27, 2010 at 4:06 PM, Tamas, Gabor wrote: >> >> Hi, >> >> i' ve two machines, (A) is on the Internet site, which is a reverse proxy >> for (B). There is a user based authentication, and i'

Re: [us...@httpd] HTML rendering capability

2010-04-28 Thread Tom Evans
On Wed, Apr 28, 2010 at 3:12 AM, rangeli nepal wrote: > Good Evening Everybody, > > I am not sure if I am asking this question at right forum or not. I am sorry > if it is not the right forum. > I am wondering "if there is way based on http headers to determine if the > requesting party has html r

Re: [us...@httpd] Redirecting / to non slash

2010-05-17 Thread Tom Evans
On Mon, May 17, 2010 at 5:31 PM, Kevin Castellow wrote: > I would take a look at this module: > http://httpd.apache.org/docs/2.2/mod/mod_dir.html > > Depending on how you built your Apache it should be there by default if you > used the "all" option for modules. > > It should do exactly what you a

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Tom Evans
On Sun, May 16, 2010 at 9:42 PM, Peter Halicky wrote: > Hi, > > I run a "LAMP" server with a few websites, one of them quite busy. I use > Ubuntu 8.04 with apache 2.2.8 > and PHP 5.2.4. The problem is this: about once a day, apache processes > cause the system load to go very > high (today it was

Re: [us...@httpd] Load balance three tomcats behind apache

2010-05-20 Thread Tom Evans
On Thu, May 20, 2010 at 12:58 PM, Mark Watts wrote: > On Thu, 2010-05-20 at 16:37 +0500, Nasir Zia wrote: >> hi, >> >> how can i configure a load balancer with one apache and three tomcats >> running behind apache. >> >> Apache version 2.2.15 >> tomcat version 6.0.26 >> >> Nasir > > LoadModule pro

Re: [us...@httpd] Re: Is this possible ?

2010-05-20 Thread Tom Evans
On Thu, May 20, 2010 at 3:24 PM, wrote: >  Let’s suppose this configuration > >  |Server1| <- |Server2| <- |Client| > >  A client sends a request that starts a script on Server2.The script ( > running on server2) >  will download a webpage from Server1. >  Is it possible to record Client

Re: [us...@httpd] client denied by server configuration, but sometimes works and sometimes not!

2010-05-25 Thread Tom Evans
On Tue, May 25, 2010 at 5:54 AM, Mario Mol wrote: > Well, > > i`ve done apt-get update , so its all fresh new. > > Could this be related to some of security mods? For example, mod-security, > qos, psad? > > Cheer,s > In order to serve a file, apache must be able to access it. Since your configura

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 9:50 AM, J. Bakshi wrote: > On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: >> I assume that you want to redirect abcd.mydomain.com to >> www.mydomain.com/?domain=abcd.mydomain.com >> Considering that scenario and limiting subdomains only to >> mydomain.com, the followin

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: > > Yes, I post here frequently and I get some really nice solution from > this list.  IS it an offense ? > > You don't ever look to see what your solution could be, by using the resources provided - eg the excellent manual. You simply ask your o

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 10:42 AM, J. Bakshi wrote: > On 05/27/2010 02:59 PM, Tom Evans wrote: >> On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: >> >>> Yes, I post here frequently and I get some really nice solution from >>> this list.  IS it an offense ? >

Re: [us...@httpd] mod_rewrite problem IP address coming in URL instead of domain name.

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 2:20 PM, Eric Covener wrote: > On Thu, May 27, 2010 at 8:36 AM, Krist van Besien > wrote: >> Hello, >> >> I'm not entirely sure what your problem is. There is not a single >> question in your mail. >> >> What is your problem? What are you trying to achieve? What are you >>

Re: [us...@httpd] VirtualHosts warning

2010-06-04 Thread Tom Evans
On Fri, Jun 4, 2010 at 3:13 PM, LuKreme wrote: > # apachectl -S > VirtualHost configuration: > wildcard NameVirtualHosts and _default_ servers: > *:*                    is a NameVirtualHost > … > Syntax OK > > > Is this something that needs fixing? I ask because everything appears to > work. And

Re: [us...@httpd] [Fwd: Reverse Proxy Configuration]

2010-06-07 Thread Tom Evans
On Sun, Jun 6, 2010 at 9:30 PM, John Iliffe wrote: > I sent the following request for help a couple of weeks back but so far > no response.  Maybe I didn't make the actual question clear :-( > Anyhow, I have done quite a bit of experimentation since with the > following non-results. > > What I'm t

Re: [us...@httpd] mod_authnz_ldap compile error on Solaris 10

2010-06-07 Thread Tom Evans
On Mon, Jun 7, 2010 at 2:11 AM, Igor Cicimov wrote: > Hi all, > > Wonder if someone has had similar problem compiling apache 2.2.15 source on > Solaris 10. > > > mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to have > LDAP support built in. To fix add --with-ldap to ./confi

Re: [us...@httpd] Re: VirtualHosts warning

2010-06-07 Thread Tom Evans
On Sat, Jun 5, 2010 at 6:55 AM, LuKreme wrote: > On 4-Jun-2010, at 08:20, Tom Evans wrote: >> >> On Fri, Jun 4, 2010 at 3:13 PM, LuKreme wrote: >>> # apachectl -S >>> VirtualHost configuration: >>> wildcard NameVirtualHosts and _default_ servers: >&

Re: [us...@httpd] Re: DNS Servers problem

2010-06-07 Thread Tom Evans
On Mon, Jun 7, 2010 at 2:55 PM, Jonesy wrote: > On Mon, 7 Jun 2010 06:15:05 -0700 (PDT), Peter Maguire wrote: > >>I am trying to find the DNS Server IPs for my computer. I tryed >>ipconfig /all and the tcp/ip settings but still no luck. This is the >>first time I've ever attempted to use my domain

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 9:48 AM, Jérémy ESCOLANO wrote: > Hi > I'm writing from france cuz i'm having a big problem with apache and ldap. > let me explain : > I would like to make an Apache server communicate in php with en openLDAP > server (both servers are under win srv 2003), using LDAPS proto

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 1:11 PM, Jérémy ESCOLANO wrote: > Actually this is about configuring Apache server to allow it to communicate > with LDAP server, that is why i'm asking here, but of course I'll try to get > so help on PHP list. > Though, I heard about a ldaprc and ldap.conf file for apache

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 1:11 PM, Tapas Mishra wrote: > Actually I have got quite confused. > I will tell from start. .. > > >        ServerName site1.mydomain.com >        ServerAdmin webmas...@localhost > >        ProxyRequests off >         >        Order deny,allow >        Allow from all >  

Re: [us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 2:56 PM, Matt Easton wrote: > Hello there, > > I've just joined this group as I'm trying more complicated things now than > I've done before in Apache! Please let me know if I'm not doing anything > right. Thanks for your time. > > I have two computers on a home network,

Re: [us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 3:08 PM, Tom Evans wrote: > Enable mod_proxy and mod_proxy_html, add this to the vhost you want mod_proxy_http > > Cheers > > Tom > - Th

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 8:44 AM, Tapas Mishra wrote: > On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans wrote: >> Then your vhost should look like this: >> >> >>    ServerName site1.mydomain.com >>    ServerAdmin webmas...@localhost >> >>    ProxyR

Re: [us...@httpd] ReWriteRules on apache for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 6:59 AM, Tapas Mishra wrote: > Hi, > > We installed mingle (an application running on port 8080) on a > computer on our LAN. > > It is accessible http://:8080 > > Some one can within LAN can see a URL > > http://192.168.1.5:8080/profile/login > > and a login page he gets. >

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 10:17 AM, Jérémy ESCOLANO wrote: > Thank you for your help, I wen't a bit deeper with my problèm > ... > I just want to make clear that I don't wan't to do LDAP authentification > with an apache folder but just do LDAPS with PHP. > I thank you in advance. > Then it has not

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra wrote: > So let me know what you want to know. Does this not work for you? ServerName site1.mydomain.com ServerAdmin webmas...@localhost ProxyRequests off Order deny,allow Allow from all ProxyPreserveHost On P

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 12:18 PM, Tapas Mishra wrote: > > Does this give some clue? Not really. HTTP doesn't work on filenames. I need to understand what your sites are sending, whether requests are going to the right server, etc etc. Since I can't access your servers, and don't know your appli

Re: [us...@httpd] Why my web application automatically switch to https?

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 1:59 PM, Luca Fagioli wrote: > Hi, > i can't figure out why a web application i'm working with, keep on switching > automatically from http to https after each jsp:forward. > > I've tried to add to web.xml the following snippet: > > > Any ideas? > > > Thanks, > Luca >

Re: [us...@httpd] FreeBSD apache problems

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 2:26 PM, Eric Covener wrote: > On Fri, Jun 11, 2010 at 9:20 AM, Peter Maguire wrote: >> Hi I have encountered a problem using apache 2.2 on freeBSD. Every >> time I start the server it says somthing like: >> Httpd: apr_sockaddr_info_get () failed for .LAN >> Httpd: could n

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
OK, that makes everything clearer. BTW, you are proxying /mingle/. That final / has meaning, please be precise about whether something has a trailing slash or not. Your first examples of attempting to access '/mingle/' through the proxy were requesting the URL '/mingle', which is why you got 404s.

Re: [us...@httpd] Apache prepending header + nonsense chars to all files

2010-06-14 Thread Tom Evans
Does it happen for all content, or just content loaded off disk? Do you have any SSL settings in the wrong place? If you don't use SSL at all, ensure 'SSLEngine Off' is set. Cheers Tom On Mon, Jun 14, 2010 at 4:36 PM, Michael Robinson wrote: > example: > > http://121.101.212.20/jquery.js > > t

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 1:42 PM, Tapas Mishra wrote: > http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html > >  is a link to a tutorial which mentions following use of ReWriteRule is wrong. > > RewriteEngine On > RewriteBase / > > RewriteCond %{HTTP_HOST} !^www\.askap

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 2:19 PM, Eric Covener wrote: > Who can guess if that silly page meant either of these subtle issues > with the recipe: > > *) ".+" in .htaccess won't match a request for "/", but I doubt that's > the operative part of the exercise. > *) You Should not redirect if HTTP_HOST

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 3:33 PM, Tapas Mishra wrote: > On Tue, Jun 15, 2010 at 6:49 PM, Eric Covener wrote: > >> *) You Should not redirect if HTTP_HOST is empty, for HTTP/1.0 >> clients, or you might loop. > >  I could not understand your statement HTTP_HOST empty can you be a > bit explanatory.

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 3:41 PM, Tapas Mishra wrote: >> >> HTTP/1.0 clients do not send a Host header in the request >>  => no host information can be inferred from a request >>  => HTTP_HOST will be empty. > but if HTTP_HOST is empty then from where is the reply coming from ? > I dont understand

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 3:56 PM, Tapas Mishra wrote: > On Tue, Jun 15, 2010 at 8:16 PM, Tom Evans wrote: >> >> I dont understand what you are asking? - the reply comes from apache. > I could not understand I am newcomer to apache.I have used Reverse > Proxy and othe

Re: [us...@httpd] .htaccess deny question

2010-06-24 Thread Tom Evans
On Thu, Jun 24, 2010 at 5:22 PM, Industrial Blue wrote: > Here you are: > > order allow,deny > deny from 12.3.80 > deny from 12.3.81 > ... > deny from *n\.example.com > ErrorDocument 403 "This IP is blocked." > allow from all > > > That's it!  Thanks for any help. > That is incorrect syntax. It w

Re: [us...@httpd] APR requesting login for images??

2010-06-28 Thread Tom Evans
On Mon, Jun 28, 2010 at 3:48 PM, Tony Anecito wrote: > Hi, > > I am using APR with tomcat 6.0.20 and I setup for performance reasons several > virtual hosts each pointing to a folder where a set of images resides. For > some reason when accessing the images (thumbnails) I get requests to logon t

Re: [us...@httpd] APR requesting login for images??

2010-06-28 Thread Tom Evans
On Mon, Jun 28, 2010 at 4:22 PM, Tony Anecito wrote: > Sorry, I said it wrong but I am using the Apache Portable Runtime. > > http://tomcat.apache.org/tomcat-6.0-doc/apr.html > > I hope that helps. > -Tony > This mailing list is for Apache httpd, not Apache Tomcat. Try here: http://tomcat.apache

Re: [us...@httpd] Reverse Proxy with partial paths possible

2010-06-30 Thread Tom Evans
On Wed, Jun 30, 2010 at 2:49 PM, Dirk Taggesell wrote: > Hi all, > > I run an Apache 2.2.11 for several virtual hosts and I configured > several reverse proxy directives which are working as intended. > > Now I received a request to configure some additional rules, like these: > > ProxyPass      

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tom Evans
On Thu, Jul 1, 2010 at 7:32 AM, Tapas Mishra wrote: > I have an application which is accessible on LAN as > http://192.168.1.5:8080/olat/ > > it is a java application > my proxy pass rule work correctly for this as follows > > >        ProxyPass /olat http://192.168.1.5:8080/olat >       ProxyPass

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tom Evans
Look at your configuration again. First, ProxyPass ProxyPass /olat http://192.168.1.5:8080/olat ProxyPassReverse /olat http://192.168.1.5:8080/olat This says, when someone requests a URL starting with '/olat', proxy to 'http://192.168.1.5:8080/olat' It also says to rewrite some header

Re: [us...@httpd] setting up a reverse proxy for sakai

2010-07-08 Thread Tom Evans
On Thu, Jul 8, 2010 at 10:52 AM, Tapas Mishra wrote: > I have a working instance of sakai on one of our clusters.Sakai can be read > here > http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7) > > > We would like the user to be able to reach it via Apache Reverse pr

Re: [us...@httpd] Re: How to regenerate 400 error code

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 2:01 PM, Sakthi Esakiappan wrote: > Any information guys... > > On 13 July 2010 10:16, Sakthi Esakiappan > wrote: >> >> Hello, >> >> Hack attempt is made in one of our server. The hacker used string >> "w00tw00t.at.ISC.SANS.DFind" to continuously generate 400 Bad request t

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 1:34 PM, Tapas Mishra wrote: > I am having some websites and by default a website whose vhost > configuration is first alphanumerically is being served. > I do not want this to happen. > i.e. when I am typing http://192.168.1.5/ > by default a website is being served > inst

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 1:23 PM, Tapas Mishra wrote: > I am having some applications which I have not developed. > The names are > docebolms http://www.dokeos.com/ > efront http://www.efrontlearning.net/ > dokeos http://www.dokeos.com/ > claroline http://www.claroline.net/ > atutor http://www.atut

Re: [us...@httpd] Help with mod_authz_host

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 1:13 PM, Joseph M. Morgan wrote: > This is an Apache 2.2 server running within a VM on CentOS. > > Both the authn_basic_module and the authn_host_module are loaded. > > I have the following directive: > > >Order deny,allow >Deny from 221.192.0.0/14 > > > Yet, toda

Re: [us...@httpd] Troubleshooting namebased virtual websites

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 3:16 PM, John Hudak wrote: > I am having an issue where none of the three virtual websites I've created > are being served when requested. I basically followed the approach > documented here: > http://www.debian-administration.org/articles/412 > > I am running Ubuntu server

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 3:21 PM, Tapas Mishra wrote: > On Tue, Jul 13, 2010 at 7:12 PM, Tom Evans wrote: > > >> Commonly, people set up the first vhost as a 'failure' vhost, that >> people only visit if they request a vhost that is not configured, >> which c

Re: [us...@httpd] Troubleshooting namebased virtual websites

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 3:39 PM, John Hudak wrote: > I just checked in apache2.confServerRoot "/etc/apache2" > That is where all the apache config information is located.  Doesn't > DocumentRoot dictate where the files to be served are located? > Thanks > J > Yep, it does. It was just somewha

Re: [us...@httpd] Help with mod_authz_host

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 3:27 PM, Joseph M. Morgan wrote: > On 7/13/2010 9:03 AM, Tom Evans wrote: >> >> On Tue, Jul 13, 2010 at 1:13 PM, Joseph M. Morgan >>  wrote: >> >>> >>> This is an Apache 2.2 server running within a VM on CentOS

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 4:28 PM, Tapas Mishra wrote: > Ok I am giving you the configuration > 2 Servers A and B > A (public IP) > B (LAN where all these applications are hosted) Log entries? From A and B. - The official User-To-

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 4:31 PM, Tapas Mishra wrote: > In this setup you have assumed server name default. > In case I want a request when does not match any of the ServerNames > I need to have a server name which is generating a redirect to an > index page which asks user to enter correct URL > d

Re: [us...@httpd] Help with mod_authz_host

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 5:07 PM, Joseph M. Morgan wrote: > OK... trying this > > >    Order deny,allow >    Deny from 221.192.0.0/14 > > > Anyone know how to test it???  Or do I just wait??? And... how will I know? > > Ah yes, testing it. You could additionally block another IP, just for testin

Re: [us...@httpd] Troubleshooting namebased virtual websites

2010-07-13 Thread Tom Evans
On Tue, Jul 13, 2010 at 4:58 PM, John Hudak wrote: > Yes, that is what is causing me to scratch my headWhy is it looking for > '/htdocs' > > The log files in the /logs directory are there for each namebased domain.  I > assume apache put them there when I restarted apache because I did not

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-14 Thread Tom Evans
On Wed, Jul 14, 2010 at 7:35 AM, Tapas Mishra wrote: > Any guesses now I have given all the response headers,logs and server > configurations > or any mistake in configurations on my side. > tl;dr I'm not interested in wading through thousands of line of your logs looking for something of note.

Re: [us...@httpd] failing to determine servers fully qualified doamin name

2010-07-15 Thread Tom Evans
On Thu, Jul 15, 2010 at 1:15 PM, Tapas Mishra wrote: > I do not have access to a DNS. > I have a machine on which apache2 is installed on Ubuntu10.04 > I have 2 domain names (both internal) > site1.domain.com > and site2.domain.com > > and 2 vhost files for both of them. > configuration of site1.d

Re: [us...@httpd] Apache Process Consuming High CPU resources

2010-07-15 Thread Tom Evans
On Thu, Jul 15, 2010 at 1:20 PM, Sakthi Esakiappan wrote: > > Hello Amol, > > Don't be innocent, never attach the configuration file in the group message. > It is too risky!!! > Where's the harm in that config file? I might have anonymised the company name, and server admin, but what else in the

Re: [us...@httpd] failing to determine servers fully qualified doamin name

2010-07-15 Thread Tom Evans
On Thu, Jul 15, 2010 at 2:41 PM, Tapas Mishra wrote: > My hostname and fqdns are different. > Did you read the manual entry I linked you to? It was specificly chosen to illustrate why apache emits that error message, and what you can do to fix the problem: """ If no ServerName is specified, then

Re: [us...@httpd] What IP address is this log entry coming from? (Is "::" a valid IP address?)

2010-09-01 Thread Tom Evans
On Tue, Aug 31, 2010 at 12:00 AM, Apache Issues wrote: > I'm using: > > CustomLog "/var/log/apache2/access_log" "%a %l %u %t \"%r\" %>s %b > \"%{Referer}i\"" > > And I occasionally see this right around the time the CPU starts running at > 100%: > > :: - - [27/Aug/2010:12:28:01 -0700] "GET /favico

Re: [us...@httpd] Intermittent crashing web server service

2010-09-02 Thread Tom Evans
On Sat, Aug 28, 2010 at 8:28 PM, Mike Schleif wrote: > I've a client running Apache on a MSWindows server with an intermittent > crashing web server service. > > [1] Names & Versions: > > OS Name    Microsoft® Windows® Web Server 2008 > Version    6.0.6002 Service Pack 2 Build 6002 > > C:\oracle\o

Re: [us...@httpd] Intermittent crashing web server service

2010-09-02 Thread Tom Evans
On Thu, Sep 2, 2010 at 4:12 PM, Mike Schleif wrote: > I'd settle for any ideas from the Apache community.  How would you > troubleshoot this as a web server issues? > > What is Apache error # 10038? That isn't an Apache error code, it is a windows error code (did you try googling for it?) that is

Re: [us...@httpd] Problem with ProxyPass

2010-10-07 Thread Tom Evans
On Thu, Oct 7, 2010 at 6:51 AM, Michelle Konzack wrote: > Good morning, > > I have to use a singel backup IP on a VHDSL and redirect the  whole  :80 > traffic to a DMZ where I want to use  "apache2"  as  proxy  to  redirect > traffic to some internal servers. > > I tried to use > > [ '/etc/apa

Re: [us...@httpd] Re: Problem with ProxyPass

2010-10-07 Thread Tom Evans
On Thu, Oct 7, 2010 at 1:27 PM, Michelle Konzack wrote: > Hello Tom Evans, > > Am 2010-10-07 10:55:59, hacktest Du folgendes herunter: >> On Thu, Oct 7, 2010 at 6:51 AM, Michelle Konzack >> wrote: >> > [ '/etc/apache2/conf.d/apache_proxy' ]---

Re: [us...@httpd] Re: Problem with ProxyPass

2010-10-07 Thread Tom Evans
On Thu, Oct 7, 2010 at 2:23 PM, Michelle Konzack wrote: > Forgotten one hing: > > If I change the >     > to >     > I get > > > > which mean, it has hit the DEFAULT VHost and never arrived at the config > of which mean, the  is > required. > > Thanks, Greetings and nice Day/Evening >    Michell

Re: [us...@httpd] Re: Problem with ProxyPass

2010-10-08 Thread Tom Evans
2010/10/8 Igor Galić : > ----- Tom Evans wrote: >> If you did not also add a NameVirtualHost for *:80, then that is to be >> expected. If you don't do any IP/port based virtual hosting, then it >> is usually easiest to do: >> >> NameVirtualHost * >> &

<    1   2   3   4   5   6   7   >