Re: [us...@httpd] P3P policy for each virtual host

2009-05-14 Thread Tom Evans
On Thu, 2009-05-14 at 16:58 +0530, Paras Fadte wrote: > Hi, > > Is it possible to set different P3P policy for each of the virtual > hosts defined in Apache ? > > Thank you. > > -Paras > Yes. P3P is set either by including the info in an abbreviated form in a header, or by including a header

Re: [us...@httpd] After restart Vista, working Apache 2.2.11 stopped working, reinstall, google, etc to no avail

2009-05-15 Thread Tom Evans
On Fri, 2009-05-15 at 21:30 +0200, Abel Braaksma wrote: > I tried finding any corresponding httpd.exe and any other Apache entries > in registry, but none were found. I tried WinDbg with the symbol files, > but since I don't (yet) have a compilable installation of Apache, I'm > not sure if this

Re: [us...@httpd] tomcat without apache in front

2009-05-20 Thread Tom Evans
On Wed, 2009-05-20 at 07:55 -0600, si...@allumezinfotech.com wrote: > Any Suggestions please? > > > We have a single servlet application very light weight. > > > > It is just like that servlet is called with some parameter and it returns > > some file from "n" number of files on local file system.

Re: [us...@httpd] tomcat without apache in front

2009-05-21 Thread Tom Evans
On Wed, 2009-05-20 at 19:28 -0600, si...@allumezinfotech.com wrote: > This is pretty cool explanation .. thanks so much and absolutely my bad > this particular thing of port 80 should be asked in tomcat user group ;) > > But any thoughts on handling of load for tommcat and apache in this case : >

Re: [us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-21 Thread Tom Evans
On Wed, 2009-05-20 at 13:04 -0700, Pete Nesbitt wrote: > Hi, > We are changing one of our domain names which has about 150 host/subdomains. > Apache version is 2.0.52 on RHEL4 > > Current http_host's would look something like this: > service1.old-domain.com > service2.old-domain.com > host1.subdo

Re: [us...@httpd] virtual hosts and rewrite rules

2009-05-22 Thread Tom Evans
On Fri, 2009-05-22 at 06:32 +, Melanie Pfefer wrote: > Hi > > I have an apache instance where I defined several rewrite rules and > ProxyPassReverse that redirects to other web applications. > > I added a virtual host in the conf file > > NameVirtualHost *:80 > > ServerAdmin y...@example.

Re: [us...@httpd] REMOTE_USER and PROXY request

2009-05-28 Thread Tom Evans
On Thu, 2009-05-28 at 10:52 +0200, Efjestad, Dag wrote: > Hi. > > I can't get access to the REMOTE_USER value when I do a proxy request. The > value is empty. > RewriteRule ^/kongsberg(.*) http://aeoas02/kongsberg/%{LA-U:REMOTE_USER}$1 > [P,L] > > For rewrite against directory URL's I get the

RE: [us...@httpd] REMOTE_USER and PROXY request

2009-05-28 Thread Tom Evans
On Thu, 2009-05-28 at 13:58 +0200, Efjestad, Dag wrote: > No, when I do this the value in RewriteCond is null. > > From logfile: > lookahead: path=/kongsberg/ var=REMOTE_USER -> val= > RewriteCond: input='' pattern='(.*)' => matched > >

Re: [us...@httpd] Number of httpd process spikes

2009-05-28 Thread Tom Evans
On Thu, 2009-05-28 at 11:44 -0400, Jones, Keven wrote: > Hello, > > The number of httpd processes on my web server is at times spiking for > no apparent reason. I have setup > Monitoring and as an example: > Ps -ef |grep httpd|wc -l returns: > > 260 at 8:40 > 332 at 8:41 > 403 at 8:42 > 570 at

Re: [us...@httpd] IPv4 -> IPv6 name based proxy?

2009-05-29 Thread Tom Evans
On Fri, 2009-05-29 at 14:46 -0500, Brian Kroth wrote: > Hello all, > > I'm working on a project to redesign our web hosting infrastructure. > For various reasons our basic plan is to have a fleet of VMs that do > virtual hosting from an IPv6 only VLAN. Since most of the world is > still IPv4 we'l

Re: [us...@httpd] combining ldap and file authentication

2009-06-03 Thread Tom Evans
On Wed, 2009-06-03 at 06:55 -0700, dimce wrote: > Hi all Apache cracks, > > Is it possible to force both file and ldap authentication in Apache? > The idea is that first the user gets a password window and is asked for the > login details from a passwd file and after that he is asked for a ldap >

Re: [us...@httpd] combining ldap and file authentication

2009-06-04 Thread Tom Evans
On Thu, 2009-06-04 at 02:36 -0700, dimce wrote: > Hi Tom, > > Thanks for the good answer. > Since its a Tomcat application in the background, do you think I could do > the passwd authentication via Apache and then the LDAP authentication via > Tomcat(JNDI)? > > Regard

Re: [us...@httpd] Log output from fprintf(stdout, ...)

2009-06-05 Thread Tom Evans
On Thu, 2009-06-04 at 11:36 -0700, Vyacheslav Zholudev wrote: > I have an Apache Module which contains such methods like > fprintf(stderr, "%s\n", message); and fprintf(stdout, "%s\n", message); > > They are executed under certain circumstances, but I can't see the output in > the Apache's log fi

Re: [us...@httpd] Reverse Proxy: Max-Forwards has reached zero - proxy loop?

2009-06-10 Thread Tom Evans
On Tue, 2009-06-09 at 22:37 +0200, ml ml wrote: > Hi Nick, > > it still does not work if i use: > > > > ServerName webmail.example.com > SSLEngine on > SSLCertificateFile /usr/local/apache/conf/webmail.example.cert > SSLCertificateKeyFile /usr/local/apache/conf/webmail.example.key > > SSL

Re: [us...@httpd] mod_deflate mod_php/php-cgi

2009-06-10 Thread Tom Evans
On Wed, 2009-06-10 at 16:41 +0200, Andre Hübner wrote: > > > Tough to guess. Relevant Config, logs, and the request/response are a > > good start. > > > oh, it works now. if called php-script ist parsed by php-cgi it is not > enough to write AddOutputFilterByType in .htaccess > if i activated

Re: [us...@httpd] HTTP server scalability

2009-06-10 Thread Tom Evans
On Wed, 2009-06-10 at 09:10 -0700, Vinay Nagrik wrote: > Dear Group, > > How do web servers achieve scalability is bothering me for a long > time. My understanding is that an application can open one and only > one socket connection through four system calls (socket, bind, listen, > and accept).

Re: [us...@httpd] segfault while migrating from RHEL4 to centOS 4.2 on apache 2.2.4 as proxy

2009-06-11 Thread Tom Evans
On Thu, 2009-06-11 at 16:12 +0530, gmanohar wrote: > Hi, > > I need some help in migrating our existing code from RHEL4 to centOS 4.2. > We use apache configured as a proxy server and ,we have an out filter > module registered with apache 2.2.4, where we gets the page content and > do some process

Re: [us...@httpd] Apache with multiple instance of jboss on same server

2009-06-11 Thread Tom Evans
On Thu, 2009-06-11 at 04:34 -0700, nilesh p wrote: > Hi, > > We have Apache Web server which is to be linked to 2 jboss instances on the > same server. > We have made the entries in workers.properties file but what changes need to > be done in Jboss so that both instances are picked up by Apache l

Re: [us...@httpd] Re: Apache with multiple instance of jboss on same server

2009-06-11 Thread Tom Evans
On Thu, 2009-06-11 at 06:12 -0700, nilesh p wrote: > :) > Its like this, > > My workers.properties file is as below > > worker.list=loadbalancer > > > worker.loadbalancer.type=lb > #worker.loadbalancer.balance_workers=server1,server2,server3 > worker.loadbalancer.balance_workers=server2,server

Re: [us...@httpd] Stable Release of Apache

2009-06-11 Thread Tom Evans
On Thu, 2009-06-11 at 07:57 -0700, Mohit Anchlia wrote: > I see that apache 2.2.11 has been released but how do I find out if > that's a stable release and something I can consider deploying in > production? All releases of apache are stable releases; that is the definition of a release. The apach

Re: [us...@httpd] Stable Release of Apache

2009-06-11 Thread Tom Evans
On Thu, 2009-06-11 at 08:24 -0700, Mohit Anchlia wrote: > Thanks. So if I already have some earlier version of 2.2 installed > then does the apache install upgrades by applying patch or is it a new > installation? No, if you are just downloading the tarball from httpd.apache.org, then it is a new

Re: [us...@httpd] New DOS HTTP tool

2009-06-19 Thread Tom Evans
On Thu, 2009-06-18 at 08:48 +0100, Nick Kew wrote: > On 17 Jun 2009, at 21:59, Julien Pauli wrote: > > > Any suggestions, ideas ? ;) > > OhBugger. I meant to test-drive this before it went (fully) public. > > If you want to be helpful with this, you might like to test-drive > how the following

Re: [us...@httpd] Apr_bucket_read() failed when uploading files

2009-06-22 Thread Tom Evans
On Mon, 2009-06-22 at 17:57 +0200, Mark wrote: > Dear folks. > > I'm epxeriencing a very serious bug/error when uploading files with a > browser (via CGI.pm) on an Apache 2 server at awardspace.com. > > [myhost.com] [Fri Jun 19 20:45:23 2009] [error] [client 1.2.3.4] > (104)Connection reset by pe

Re: [us...@httpd] Apache 1.x & 2.x vulnerability against simple DoS attacks

2009-06-23 Thread Tom Evans
On Tue, 2009-06-23 at 15:11 +0200, Bastien LEGRAS wrote: > Hi, > > I just tried the perl script against my 2.2 apache under ubuntu 8.04 > and found I could make my apache server unavailable in 30 sec with the > little hack script you can find here http://ha.ckers.org/slowloris/ > > Has anyone hea

Re: [us...@httpd] Apache 1.x & 2.x vulnerability against simple DoS attacks

2009-06-23 Thread Tom Evans
On Tue, 2009-06-23 at 16:36 +0100, Damian Myerscough wrote: > Hello, > > > Isn't the 'event MPM' experimental? > > > Wouldn't 'worker MPM' work better? > > 2009/6/23 Tom Evans > On Tue, 2009-06-23 at 15:11 +0200, Bastien

Re: [us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-24 Thread Tom Evans
On Wed, 2009-06-24 at 08:09 -0500, Elmar Krieger wrote: > >> Dear Apache users, > >> > >> I'm forced to write yet another program that downloads HTTP files from > >> an > >> Apache server, > > ... > > Naive question : why would you do that, when there are probably at least > > 10 existing libraries

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread Tom Evans
On Thu, 2009-06-25 at 10:17 -0500, William A. Rowe, Jr. wrote: > André Warnier wrote: > > fredk2 wrote: > >> Would'nt you think that a (simple) timer for the header could fend off > >> some > >> of the effect. Can't we assume that if it takes more than 3 second to > >> enter > >> the header we do

Re: [us...@httpd] Zeus Subserver Equivalent in Apache2?

2009-06-29 Thread Tom Evans
On Mon, 2009-06-29 at 15:08 +0100, Monkey Daemon wrote: > Hi all, > > I'm looking into our options going forward for our web-hosting > cluster. > > We're currently running Zeus Web Server using sub servers. > > The idea behind webservers is that you can have a directory layout > that looks like:

[us...@httpd] Passing REMOTE_USER from reverse proxy to app server

2009-07-07 Thread Tom Evans
Hi all httpd 2.2.11, prefork MPM, FreeBSD 7.2 I'm trying to pass the REMOTE_USER variable, as determined by the reverse proxy, to a backend application server. The main reason to do this is to offload authnz to the proxy, and to keep all this centralised in one place. The authn module that will a

[us...@httpd] Re: Passing REMOTE_USER from reverse proxy to app server

2009-07-07 Thread Tom Evans
On Tue, 2009-07-07 at 14:42 +0100, Tom Evans wrote: > Hi all > > httpd 2.2.11, prefork MPM, FreeBSD 7.2 > > I'm trying to pass the REMOTE_USER variable, as determined by the > reverse proxy, to a backend application server. The main reason to do > this is to offload a

Re: [us...@httpd] Passing REMOTE_USER from reverse proxy to app server

2009-07-07 Thread Tom Evans
On Tue, 2009-07-07 at 14:47 +0100, Nick Kew wrote: > Tom Evans wrote: > > > [chop] > > That rewrite stuff happens before authentication. > You would need to put your rewriterules inside a > to activate them after it's happened. > Isn't that the point of %

Re: [us...@httpd] load balancing with 2 HTTPS portal servers

2009-07-09 Thread Tom Evans
On Thu, 2009-07-09 at 12:24 +0300, Nedim Ozan Tekin wrote: > > Hi all, > I have already two successfully working jboss portal servers. > e.g. https://10.10.0.138:8443/portal > https://10.10.0.139:8443/portal they work, there is no problem.. > > But now , what i want is to be able to use (i

Re: [us...@httpd] Configuring Apacher Server for Tomcat

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 16:45 +0600, alee amin wrote: > I am trying to configure the server for some project and it is written > in project documentation that i need to add following thing in the > httpd.conf file > > ProxyPass / ajp://localhost:8009/ > ProxyPassMatch ^(/photos/.*\.jpg)$ ! > > now

Re: [us...@httpd] Configuring Apacher Server for Tomcat

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 16:45 +0600, alee amin wrote: > I am trying to configure the server for some project and it is written > in project documentation that i need to add following thing in the > httpd.conf file > > ProxyPass / ajp://localhost:8009/ > ProxyPassMatch ^(/photos/.*\.jpg)$ ! > > now

Re: [us...@httpd] Configuring Apache Web Server with Tomcat

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 20:44 +0600, alee amin wrote: > I am trying to configuring apache webserver with tomcat using AJP but > i am not sure am i doing it right or not. > > > Here are the steps that i followed > > > - Enabled required module in httpd.conf file > LoadModule proxy_module modules

Re: [us...@httpd] Directory Permssions

2009-07-15 Thread Tom Evans
On Tue, 2009-07-14 at 12:45 -0700, ML wrote: > Hi Doug, > > >> So does that prevent crawling and browsing, but does allow if I > >> click a link or include a file it will work? > >> > > > > No, it prevents the directory and all files within from being served > > by the webserver at all. Anythi

Re: [us...@httpd] Re: mod_perl is hard to set up on gentoo; this even messes up vim

2009-07-15 Thread Tom Evans
On Wed, 2009-07-15 at 03:08 -0700, Kevin O'Gorman wrote: > On Wed, Jul 15, 2009 at 3:06 AM, Kevin O'Gorman wrote: > > More info: > > Even though the perl and libperl emerges seemed to go okay, they also > > fail on startup, with pretty much the same complaint about this > > Errno.pm file. On looki

Re: [us...@httpd] Directory Permssions

2009-07-15 Thread Tom Evans
On Wed, 2009-07-15 at 07:46 -0700, ML wrote: > Hi Tom, > > >> Say I have a directory of files that contain my MySQL connection > >> information, queries, etc, etc. > >> > >> How do I prevent people from browsing the directory but allow the > >> files to still be used when I include them in a page.

Re: [us...@httpd] Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread Tom Evans
On Wed, 2009-07-15 at 21:17 +0600, alee amin wrote: > I want apache httpd running on front and wants to forward the > jsp/servlet requests to tomcat only. I want my static pages and photos > to be processed by apache and want to configure it through mod_ajp > > > > > I have come up with some se

Re: [us...@httpd] log rotation

2009-07-16 Thread Tom Evans
On Thu, 2009-07-16 at 09:37 +, Melanie Pfefer wrote: > hi folks, > > could you please advise on what solutions (preferably without using > third-party tool) you use to rotate apache logs? > > I see rotatelogs under bin/ Could you please advise on its usage? > > Is there a config option in h

Re: [us...@httpd] Serving partial data of in-memory common data set

2009-07-27 Thread Tom Evans
On Mon, 2009-07-27 at 09:01 -0700, S.A. wrote: > Hello, > > We have a requirement of serving fixed set of data elements (text, images, > audio, video, etc) to a group of users coming at about the same time, but > each user requesting different set of data elements from the given data set. > > Dat

Re: [us...@httpd] Serving partial data of in-memory common data set

2009-07-28 Thread Tom Evans
On Mon, 2009-07-27 at 21:29 -0700, S.A. wrote: > > --- On Mon, 7/27/09, Tom Evans wrote: > > > From: Tom Evans > > Subject: Re: [us...@httpd] Serving partial data of in-memory common data set > > To: users@httpd.apache.org > > Date: Monday, July 27, 2009, 1:0

Re: [us...@httpd] Symbolic links not working.

2009-07-28 Thread Tom Evans
On Tue, 2009-07-28 at 19:02 +0200, Steven Lobbezoo wrote: > Hi, > > After scanning all other docs, I still cannot figure out how to do the > following: > (Apache 2.2.4 on a Suse 11.0 box) > > I have a directory (in my server tree) with a web application. > I have several virtual host (about 20 at

Re: [us...@httpd] Symbolic links not working.

2009-07-29 Thread Tom Evans
On Wed, 2009-07-29 at 14:27 +0200, Steven Lobbezoo wrote: > Ok, so i tried that (the statement as below, but with my linked from > directory. > The result is the same : no dice. > > To be perfectly clear : > I have this : > /srv/www/htdocs/sottovento > where sottovento is the root directory for my

Re: [us...@httpd] Don't require authentication on a subfolder

2009-07-31 Thread Tom Evans
On Thu, 2009-07-30 at 13:49 -0600, Scott Brady wrote: > I'm trying to find a way to require authentication (using > mod_auth_sspi) on an entire website except for one specific folder, > which I want freely accessible. However, I've been having issues > getting that to work. I've tried setting SSPI

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Tom Evans
On Tue, 2009-08-04 at 15:05 +, Mike -- EMAIL IGNORED wrote: > On Tue, 04 Aug 2009 08:22:14 +0200, André Warnier wrote: > > [...] > >> > > You could first check the obvious, such as whether in your Apache/Centos > > config, you are not *asking* the server to do these DNS lookups. Look > > here

Re: [us...@httpd] permission problem

2009-08-21 Thread Tom Evans
On Thu, 2009-08-20 at 22:02 -0400, Chuck Crisler wrote: > I seem to have a permission problem with apache. I am running FC9 and > apache 2.2.11, mod_perl 2.0.4 and perl/V5.10.0. I am trying to work with > apache/perl/mason/mySQL but continually encounter permission failures. > Apache runs under use

Re: [us...@httpd] Proposal to Optionally Block DNS

2009-08-24 Thread Tom Evans
On Sun, 2009-08-23 at 00:31 +, Mike -- EMAIL IGNORED wrote: > I propose this upgrade to Apache: > > Options +NoDNS > > Prevents Apache from initiating DNS activity for > any reason. > > I am now running my server with all DNS blocked > by iptables. Performance is thereby substantially > i

Re: [us...@httpd] File does not exist error in my error log

2009-08-24 Thread Tom Evans
On Mon, 2009-08-24 at 17:28 +0530, Kamaraj, Jayakumar wrote: > Hi, > > I recently upgraded from apache 1.3.37 to 1.3.41 ,I didn't change > any of the configuration parameter. > When I am using the apache 1.3.37 ,my http logs contain only 404 > request, but there is no equivalent error li

Re: [us...@httpd] Please suggest a module which can check for X-Forwarded ip address , functionality similar to mod_qos or mod_bw

2009-08-25 Thread Tom Evans
On Tue, 2009-08-25 at 22:05 +0530, Soumendu Bhattacharya wrote: > Hi , > > Does anyone know of a module similar > to mod_qos or mod_bw which can limit bandwidth/no. of connections > based on X-Forwarded for IP address. We have an external site which is > behind Akam

Re: [us...@httpd] Handling 404 errors

2009-08-26 Thread Tom Evans
On Wed, 2009-08-26 at 12:23 +0100, Andrew Hole wrote: > Hi guys! > > Actually our web application has a retry mechanism based on http > status code returned to client. Just an example: > - An http request is made to http://web/software_A_folder/file.swf > - if the file doesn't exist (http 404) on

Re: [us...@httpd] Handling 404 errors

2009-08-26 Thread Tom Evans
On Wed, 2009-08-26 at 15:23 +0100, Andrew Hole wrote: > Your solutions looks very useful, but i'm afraid about impact on > server performance. > > Do you have any idea about the impact on performance? > > Thanks a lot > > On Wed, Aug 26, 2009 a

Re: [us...@httpd] Setting proxy parameters via mod_rewrite

2009-08-26 Thread Tom Evans
On Wed, 2009-08-26 at 08:33 -0400, Tim Funk wrote: > Let's say I have the following rule: > > ProxyPass /foo balancer://cluster5/foo stickysession=JSESSIONID > > I want to use RewriteRule for my proxy directives. So I'd say this: > > RewriteRule ^/(foo.*) balancer://cluster5/$1 [P] > > But how

Re: [us...@httpd] creating a proxy

2009-08-26 Thread Tom Evans
On Wed, 2009-08-26 at 16:48 +0200, Etienne wrote: > hi all, > > I would like to enable a proxy on my server with port forwarding. > The idea is to connect to my server through putty with ssh tunnel > forwarding localhost:80 to myproxyserver.com:80 > I have enabled proxy module with a2enmod proxy c

Re: [us...@httpd] 'require' keyword

2009-09-02 Thread Tom Evans
On Wed, 2009-09-02 at 15:23 +, Melanie Pfefer wrote: > Hi > > The config file looks like > > > DAV svn > SVNParentPath ... > Options FollowSymLinks > AuthBasicProvider ldap > AuthLDAPUrl ... > > Require valid-user > > AuthType Basic > AuthName "Please enter your credentials" > > > >

Re: [us...@httpd] Problem of "Could not open temp post file '/tmp/_wl_proxy"

2009-09-09 Thread Tom Evans
On Wed, 2009-09-09 at 02:23 -0700, thomas2004 wrote: > Hi all, > > Sometimes as I send WS-request to our WS via web-server we got error message > as follow. Has someone experience to fix such a problem? > > * > Tue Sep 8 11:32:42 2009 Temp Post File name = > [/tmp/_wl_pro

Re: [us...@httpd] Case sensitive URLs

2009-09-10 Thread Tom Evans
On Thu, 2009-09-10 at 15:40 +0100, Andrew Hole wrote: > Hi guys! > > How can I ensure case sensitive URLs? > > I've test.html at DocumentRoot. I want a "File not found" error when I > invoke http://host/TEST.html. > > Thanks a lot > A. You need to use a case sensitive file system, ie not window

Re: [us...@httpd] Word boundaries in regexps (Apache bug?)

2009-09-15 Thread Tom Evans
On Tue, 2009-09-15 at 12:52 +0200, André Warnier wrote: > Victor Porton wrote: > ... > > > > > > I am not sure which add-on module of Apache, and which version you are > talking about, but are you sure that the above right-hand side is > interpreted as a regexp, as opposed to a simple string ?

Re: [us...@httpd] Apache2 header information clear/hide

2009-09-16 Thread Tom Evans
On Wed, 2009-09-16 at 16:40 +0200, Szabolcs Balla wrote: > Hi, > > Is there any way to clear header information when I using ProxyPass > and ProxyPassReverse? > Here is ngreped info: > T xxx.xxx.xxx.xxx:46087 -> xxx.xxx.xxx.xxx:80 [AP] > GET / HTTP/1.1..Host: forwarded.domain..User-Agent: > Mozi

Re: [us...@httpd] How to read a GET VAR into mod_headers

2009-09-17 Thread Tom Evans
On Wed, 2009-09-16 at 12:41 -0500, David Taveras wrote: > Hello, > > A portion of our users are coming in our sites with a query string get > var. I want to read that VAR and convert it to a cookie for permanent > use in the future. > > How do I read a get var and pass it to mod_headers ? > > Bt

Re: [us...@httpd] SO_ACCEPTFILTER

2009-09-17 Thread Tom Evans
On Thu, 2009-09-17 at 10:23 +0200, Jos Chrispijn wrote: > [Apache apache-1.3.41_1] > > Last night my Apache server went down. Can use apachectl start, but > doesn't come up again. > > My httpd-error.log file says: > (2)No such file or directory: make_sock: for port 80, setsockopt: > (SO_ACCEPTFI

Re: [us...@httpd] VirtualHost? or redirects

2009-09-17 Thread Tom Evans
On Thu, 2009-09-17 at 14:27 +, Ralf W. wrote: > Hello Group. I'm trying to understand the following setup. > I have a main server, www.somedomain.com > [DocumentRoot /var/www/www.somedomain.com/htdocs/], within the server > I want to redirect to specific pages by using www2.somedomain.com, > w

Re: [us...@httpd] Problem with settings of Proxy

2009-09-22 Thread Tom Evans
On Tue, 2009-09-22 at 14:59 +0200, Petr Hracek wrote: > Unfortunatelly I have found that we have a system where is installed > apache 1.3. > It would be good to have solution for both. Apache 1.3 and Apache 2.2 > > regards > Petr If you take 1.3 and add the missing features, then you would have 2

Re: [us...@httpd] Log to DBMS other than MySQL? [was Re: how to get logs per vhosts ?]

2009-09-22 Thread Tom Evans
On Tue, 2009-09-22 at 10:04 -0400, Mark H. Wood wrote: > On Tue, Sep 22, 2009 at 02:28:51PM +0200, Serge Fonville wrote: > > I'd consider logging to a database instead > > > > Read into mod_log_mysql > > http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch

Re: [us...@httpd] Apache 2.2 + Ldap

2009-09-24 Thread Tom Evans
On Thu, 2009-09-24 at 05:55 -0700, Luis Clemente wrote: > Hi all, > >Someone knows how I can setting the apache 2.2. server to authenticated in > a Ldap server? Here is my httpd.conf Ldap configuration: > > > AuthBasicProvider ldap > AuthType basic > AuthLDAPURL "ldap://ldapser

Re: [us...@httpd] Cache issues

2009-09-28 Thread Tom Evans
On Mon, 2009-09-28 at 06:25 -0400, Phil Pinkerton wrote: > > Jonathan Zuckerman wrote: > > On Fri, Sep 25, 2009 at 10:54 AM, Phil Pinkerton > > wrote: > > > >> On Fri, Sep 25, 2009 at 12:45 PM, Jonathan Zuckerman > >> > >> wrote: > >> > >>> On Fri, Sep 25, 2009 at 6:15 AM, Phil Pinkert

Re: [us...@httpd] apache2 vhst problem -- Symbolic link not allowed

2009-09-29 Thread Tom Evans
On Tue, 2009-09-29 at 17:30 +0530, J. Bakshi wrote: > Hello list, > > I have a typical problem in my apache2 server running on opensuse 11 > server. I like to add the Followsymlinks option in vhost. Previously I > put the setting in .htaccess and it was running fine. But to get the > performance

Re: [us...@httpd] Apache 2.2.13, OpenSSL 0.9.8k, Linux, [error] Unable to initialize TLS servername

2009-10-02 Thread Tom Evans
On Thu, 2009-10-01 at 13:24 -0500, Rodney Beede wrote: > So I have a 64-bit Linux system (Oracle Unbreakable 5.4) where I am > trying to compile Apache 2.2.13 with Openssl 0.9.8k with mod_ssl as a > shared module. > I setup my Openssl as follows: > ./config --prefix=/software/openssl shared enable-

Re: [us...@httpd] group authorization via LDAP

2009-10-02 Thread Tom Evans
On Thu, 2009-10-01 at 17:18 -0400, Tony Rice (trice) wrote: > I'm trying to convert from DBM file based authentication and > authorization to LDAP based authentication and authorization in Apache > 2.2.11. > > We've already got a large number of .htaccess files with specific > configs for individu

Re: [us...@httpd] Apache issue - Filename format

2009-10-06 Thread Tom Evans
On Tue, 2009-10-06 at 07:30 -0700, bhasker yadav wrote: > Hi All, > > Can you please have a look at the below issue and give me a solution. > Also i have attached the screen shots of the issue. > > Thanks. > > --- On Wed, 9/2/09, bhasker yadav > wrote: > > > From: bhasker ya

Re: [us...@httpd] application/x-javascript vs application/javascript

2009-10-07 Thread Tom Evans
On Wed, 2009-10-07 at 23:19 +0800, howard chen wrote: > Hello, > > Why in some Apache httpd, JavaScript is sent by Content Type = > application/x-javascript, but some httpd is application/javascript? > > Both are 2.2. > > > Thanks. > The mime type of a file sent from disk is determined by apa

Re: [us...@httpd] .htaccess files not working from internet? intranet access fine

2009-10-13 Thread Tom Evans
On Mon, 2009-10-12 at 00:57 +0300, Kaya Saman wrote: > Hi, > > this is my first post here :-) > > basically I have google'd this issue a bit and finally realized that > there was no viable solution that I could deduce results from! > > I have a few servers running apache and some folders which

Re: [us...@httpd] Help with apache reporting the wrong Port number

2009-10-16 Thread Tom Evans
On Fri, 2009-10-16 at 11:10 +0100, Gareth Brown wrote: > Hi All, > > Sorry if this is a known issue, but I have searched Google/forums etc > and found no clear answer. > > *The problem I have > *My Apache is accepting http traffic on port 81, but reporting it as > port 80 - via the PHP command:

Re: [us...@httpd] apache rewrite question

2009-10-26 Thread Tom Evans
On Mon, 2009-10-26 at 17:20 +0530, J. Bakshi wrote: > Hello, > > Here in my debian lenny box rewrite stuff is working well in .htaccess file. > > For viewvc ( web based svn ) I have the following config . ( Not a vhost ) > > `` > ScriptAlias /svn /usr/lib/cgi-bin/viewv

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-27 Thread Tom Evans
On Tue, 2009-10-27 at 07:28 +0100, André Warnier wrote: > Krist van Besien wrote: > > On Mon, Oct 26, 2009 at 9:01 PM, André Warnier wrote: > >> The other way I could think of would be to use virtual hosts, like > >> > >> Listen 80 HTTP > >> Listen 443 HTTPS > >> > >> NameVirtualHost *:80 > >> >

Re: [us...@httpd] redirect occurs after authorization !!!

2009-10-27 Thread Tom Evans
On Tue, 2009-10-27 at 12:07 +0530, J. Bakshi wrote: > Hello list, > > I have finally able to redirect the viewvc ( svn viewer ) to https. here > is the configuration > > `` > ScriptAlias /test /usr/lib/cgi-bin/viewvc.cgi > > > RewriteEngine on > RewriteCond %{HTTP

Re: [us...@httpd] Apache's strange

2009-10-27 Thread Tom Evans
On Tue, 2009-10-27 at 10:35 -0700, ricardo13 wrote: > I thought that discovered what was stabilizing Apache > > I wrote in httpd.conf: > MaxClient 4000 > > My question's, What value do I assign the value to unlimited MaxClient ??? 0 > ?? > > Ricardo > > There is this wonderful thing called th

Re: [us...@httpd] STDERR issue with Apache 2.0.4 under mod_perl

2009-11-16 Thread Tom Evans
On Sun, Nov 15, 2009 at 6:02 PM, Shibi NS wrote: > > The configuration in httpd.conf look like this > > > my $app_home = $ENV{APPS_HOME}; > my $config= > ConfigLoader::include("$app_home/conf/myapp.pl"); > > my $elog = '"| rotatelog

Re: [us...@httpd] Question about mod_ajp and mod_jk ProxyPassReverse

2009-11-17 Thread Tom Evans
On Tue, Nov 17, 2009 at 3:21 PM, wrote: > Guys, > > We are switching out mod_ajp for mod_jk and have ran into a wall with > ProxyPass and ProxyPassReverse. > > With mod_ajp we have this setting > > > > BalancerMember ajp://tomcat05:8009 smax=20 min=0 max=10 loadfactor=1 > flushpackets=on rout

Re: [us...@httpd] Question about redirects using RewriteMatch

2009-11-19 Thread Tom Evans
On Thu, Nov 19, 2009 at 2:13 PM, Diego, Emil wrote: > There are some sections of the site that I wanted to setup aliases for so > when you browse to www.bus.miami.edu/businessmiami/, > www.bus.miami.edu/inthenews/ and www.bus.miami.edu/embapr/ you > automatically get redirected to the specified p

Re: [us...@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

2009-11-20 Thread Tom Evans
On Fri, Nov 20, 2009 at 4:42 AM, Peter de Groot < peter.de.gr...@det.wa.edu.au> wrote: > > I am going to get back to the author of the app, and see what he can > do to change the source HTML. > The last three replies *were* from the author :) Cheers Tom

Re: [us...@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

2009-11-20 Thread Tom Evans
On Fri, Nov 20, 2009 at 9:30 AM, Tom Evans wrote: > On Fri, Nov 20, 2009 at 4:42 AM, Peter de Groot < > peter.de.gr...@det.wa.edu.au> wrote: > >> >> I am going to get back to the author of the app, and see what he can >> do to change the source HTML. >> >

Re: [us...@httpd] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized

2009-11-20 Thread Tom Evans
On Fri, Nov 20, 2009 at 9:25 AM, Peter de Groot < peter.de.gr...@det.wa.edu.au> wrote: > > No ... > Log Level is set to warn. > > > The second parameter in the log message is the level that the message was logged at. Maybe there is another LogLevel directive somewhere that is overriding what you t

Re: [us...@httpd] Testing virtual hosts on a virtual machine

2009-11-24 Thread Tom Evans
On Tue, Nov 24, 2009 at 5:39 PM, Florent Georges wrote: > Hi, > > I am using a virtual box (Ubuntu server 9.10 with VMware Fusion) > to test a web server. No problem to install Apache on this > Ubuntu box, of course. And I can access the default page after > an install by using http://xxx.xxx.

Re: [us...@httpd] Invalid command error Load balancer on Solaris 10

2009-11-25 Thread Tom Evans
On Wed, Nov 25, 2009 at 1:04 PM, Onur Ağın wrote: > Hi, > > I have compiled and installed apache httpd sources on solaris 10. > My configure statement was: > > I am trying to test load balancing... > ./configure -prefix=/export/home0/xxx/httpserver --enable-proxy > --enable-proxy-connect --enable

Re: [us...@httpd] Apache httpd replication / proxy mirror server?

2009-11-25 Thread Tom Evans
On Wed, Nov 25, 2009 at 2:09 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Hi Guys > > Is it possible somehow to use httpd for replicate files between servers ? > > We have a use case where a user will place a file on one of the apache > servers and then it should get replicated

Re: [us...@httpd] ProxyPass - mod_proxy

2009-11-25 Thread Tom Evans
"It doesn't work" is useless. If you want help, explain what you tried, what happens when you try that, and provide your configuration and logs. Otherwise, the only response anyone can give is "It works just fine for me". Cheers Tom

Re: RE: [us...@httpd] mod_proxy issue - intermittent 502 response

2009-11-27 Thread Tom Evans
On Fri, Nov 27, 2009 at 9:52 AM, Cristian Pini wrote: > Thx for taking the time to read the post. > > You're right in that it's difficult to determine whether Apache is the > problem, however, there's nothing sitting between the proxy and the app > server and the only things that are running on t

Re: [us...@httpd] Re: SSL on Apache 2.2.14

2009-11-30 Thread Tom Evans
On Mon, Nov 30, 2009 at 10:17 AM, wrote: > > Is this still very small and purple?  According to the raw HTML it is > #FF so perhaps you need to adjust your monitor. > > Is top-posting forbidden in this list?  Is there a list of rules > somebody can direct me to? > A: Because it messes up the

[us...@httpd] Marked as spam?

2009-12-01 Thread Tom Evans
I just tried to reply to a message on the "how to get multiple SSL with name based vhost" discussion, but it was marked as spam I don't think I mentioned anything particularly spam worthy.. Full copy of the raw email (as gmail remembers it) is at http://pastebin.com/m7aba774b Cheers Tom --

Re: [us...@httpd] Marked as spam?

2009-12-01 Thread Tom Evans
On Tue, Dec 1, 2009 at 2:27 PM, Sascha Kersken wrote: > Hi, > >> I just tried to reply to a message on the "how to get multiple SSL >> with name based vhost" discussion, but it was marked as spam I >> don't think I mentioned anything particularly spam worthy.. >> >> Full copy of the raw email

Re: [us...@httpd] Passing remote client IP address to backend server and session stickness

2009-12-01 Thread Tom Evans
On Tue, Dec 1, 2009 at 4:29 PM, Ruiyuan Jiang wrote: > Hi, Haroon > > Where do you see Apache 2.3? I don't see on the office Apache web site. > Also where should I apply: > > <%= request.getHeader("X-Forwarded-For") %> > > In my Apache reverse proxy server? Thanks. > > Ryan > Apache 2.3 is apache

Re: [us...@httpd] Passing remote client IP address to backend server and session stickness

2009-12-01 Thread Tom Evans
On Tue, Dec 1, 2009 at 5:01 PM, Ruiyuan Jiang wrote: > Thanks, Tom > > I will check with my developers here. By the way, is apache done differently > for X-Forwarded-For than the rest reverse proxy vendors? > > Ryan > No. Cheers Tom

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-12-02 Thread Tom Evans
On Wed, Dec 2, 2009 at 3:11 AM, J. Bakshi wrote: > Hello Krist, > > Thanks for your example. I have tried to implement it but as I mentioned > before whatever be the server name it always opens the site which apache > has detected as default.  Here is the output from  " apache2ctl -S" > > ` ` ` >

Re: [us...@httpd] Reverse proxying is problematic

2009-12-02 Thread Tom Evans
On Wed, Dec 2, 2009 at 11:02 AM, Robert Schenck wrote: > I know this is a long read...but I really need help, and felt the best way > for anyone to help me remotely is to explain the issues in their entirety. tl;dr > > Please explain any fixes in a step-by-step process. Again, I'm new to this. >

Re: [us...@httpd] Reverse proxying is problematic

2009-12-02 Thread Tom Evans
On Wed, Dec 2, 2009 at 12:23 PM, Robert Schenck wrote: > I'm get "Access Forbidden" when trying to access proxysrv1/aip and > proxysrv1/apl > > This is my updated vhost file: > > http://paste.ubuntu.com/333080/ > Your ServerName directives are not valid. When you get an 'Access Forbidden' messag

Re: [us...@httpd] powermail problem after upgrading to 1.4.17

2009-12-03 Thread Tom Evans
On Thu, Dec 3, 2009 at 10:11 AM, J. Bakshi wrote: >  Dear list, > > I have upgraded poermail to // 1.4.17.  After up-gradation  the  "form" > field has been changed !!!  Before it was  nore...@mydomain.com and the > related setting is > > ` ` ` > plugin.powermail.email.noreply = nore...@mydomain.c

Re: [us...@httpd] list of apache modules ?

2009-12-03 Thread Tom Evans
On Thu, Dec 3, 2009 at 1:48 PM, vishesh kumar wrote: > Dear all > > I am using RHEL 5.2 and newbie in apache, as a preliminary step i executed > following command to list apache modules > > root# httpd -l > > It showed me following output, > > core.c > prefork.c > http_core.c > mod_so.c > >   

Re: [us...@httpd] writing modules?

2009-12-03 Thread Tom Evans
On Thu, Dec 3, 2009 at 2:35 PM, Zachary Uram wrote: > Morning, > > I would like to make my own apache module (in C) for Linux but have no > idea where to start. Any guides on doing this? > > Thanks! > Zach > I'd read some books: http://www.amazon.co.uk/Apache-Modules-Book-Application-Development

Re: [us...@httpd] writing modules?

2009-12-03 Thread Tom Evans
On Thu, Dec 3, 2009 at 4:23 PM, Rich Bowen wrote: > > On Dec 3, 2009, at 09:56 , John Hudak wrote: > > I assume you are developing for Apache 2? > You might want to do some searching and reading on Apache modules API: > http://www.linuxdocs.org/HOWTOs/Apache-Overview-HOWTO-12.html > http://modules

  1   2   3   4   5   6   7   >