[us...@httpd] Server Side Includes is not coming when protocol changed to https

2009-07-22 Thread Sameer Ravindra
Hi, I am using Server Side Includes in apache, it is working fine in "http". But when I switch from http to https the page is not included. I am including header.jsp and footer.jsp using Its loading fine when protocol is http. But when I switch from http to https it's not showing heade

[us...@httpd] ProxyPass and dns lookups for workers

2009-07-22 Thread Robert Zimmerman
Hello all, I've got a set up that has 2.2.6 httpd servers using ProxyPass http to a tomcat complex that employs a dns rotor and vips in front of the real tomcats. So in: ProxyPass / http://tomcatcomplex tomcatcomplex is a rotor with multiple IPs behind it, so if and when the IP for my worker beco

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Brian Kim
Hi all. The basic configuration is as follows (1) (2) (3)(4) Users switch (eth2 -- eth0) -- WWW Users located in (1) will access WWW via http Apache server in (3). For non-transparent proxy, every user across t

[us...@httpd] Proxying SSL

2009-07-22 Thread John Oliver
I believe I need to proxy SSL. I have one Apache server, with SSL, and am using ProxyPass to get https://server1/app/ to proxy to https://server2/app/ server2 is set up to use certificate details for authorization. I found http://httpd.apache.org/docs/2.2/mod/mod_ssl.html There are an awful lot

Re: [us...@httpd] SOLVED Re: [us...@httpd] How do I follow the XHTML Content-Type recommendations?

2009-07-22 Thread André Warnier
dar...@chaosreigns.com wrote: If a browser with a User-Agent containing "MSIE" there seems to be a contradiction in terms here.. ;-) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread André Warnier
Brian Kim wrote: The big picture for my http proxy is to install it to ISP level. It means users must not need to set up the proxy configuration In that sense, I thought a reverse proxy seems to be the transparent proxy. Is it right? Can you remind us exactly of what you want to do ? I am g

Re: [us...@httpd] 404's to robots.txt?

2009-07-22 Thread Evan Platt
At 06:03 PM 7/21/2009, you wrote: More than 1 docroot / log %{Host}i ? Ahh.. I believe that's it! Thank you and the others who suggested that, I believe that's it - I have a few subdomains I rarely use... My current httpd.conf is: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i \"%{User

[us...@httpd] SOLVED Re: [us...@httpd] How do I follow the XHTML Content-Type recommendations?

2009-07-22 Thread Darxus
If a browser with a User-Agent containing "MSIE" requests a .html file, change its Content-Type to "text/html" (because application/xhtml+xml works in all other browsers): RewriteEngine on RewriteCond %{HTTP_USER_AGENT} .*MSIE.* RewriteCond %{REQUEST_URI} \.html$ RewriteRule .* - [T=text/html] -

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Bob Ionescu
2009/7/22 Brian Kim <09su.resea...@gmail.com>: > It means users must not need to set up the proxy configuration > > In that sense, I thought a reverse proxy seems to be the transparent proxy. > > Is it right? IMHO yes. To get such a transparent proxy working with mod_proxy you'll need to work-arou

[us...@httpd] Re: httpd.config "subroutine"

2009-07-22 Thread Dan Poirier
You can Include the same file repeatedly: http://httpd.apache.org/docs/2.2/mod/core.html#include -- Dan Poirier - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist

Re: [us...@httpd] httpd.config "subroutine"

2009-07-22 Thread Peter Schober
* Mike -- EMAIL IGNORED [2009-07-22 20:02]: > I have several and numerous > sections that have large sets of identical directives. > If there a way to define a "subroutine" in httpd.config > that can be called in these sections? There is http://httpd.apache.org/docs/2.2/en/mod/core.html#include

[us...@httpd] httpd.config "subroutine"

2009-07-22 Thread Mike -- EMAIL IGNORED
I have several and numerous sections that have large sets of identical directives. If there a way to define a "subroutine" in httpd.config that can be called in these sections? Thanks for your help. Mike. - The official User-T

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Brian Kim
The big picture for my http proxy is to install it to ISP level. It means users must not need to set up the proxy configuration In that sense, I thought a reverse proxy seems to be the transparent proxy. Is it right? On Wed, Jul 22, 2009 at 1:20 PM, Nick Kew wrote: > Brian Kim wrote: >> >> Hi.

[us...@httpd] [Fwd: Application Period for Travel Assistance to ApacheCon US 2009 Opens Soon]

2009-07-22 Thread William A. Rowe, Jr.
For our communities' attention, this is a few day's heads up before the applications actually open... Original Message Subject: Application Period for Travel Assistance to ApacheCon US 2009 Opens Soon Date: Wed, 22 Jul 2009 19:46:15 +1000 From: Gav... The Travel Assistance Com

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Nick Kew
Brian Kim wrote: Hi. All. I am a beginner. So I really need somebody's help. I have asked a question about the transparent http apache server. Nobody answers it yet, so I ask it again and add what I have done until now. I haven't answered, because I'd need to look it up, and I haven't found t

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Brian Kim
Hi. As Andre mentioned, the browser needs a configuration for proxy. However, the transparent proxy allows users to access WWW without any configuration. In fact, I am suing Forward Proxy now and the reverse proxy seems to be the proxy that I meant. Am I right? Can anybody make it sure? On Tu

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Nick Kew
Nicholas Sherlock wrote: An attacker can use precisely the same mechanism to serve their own certificate. Your website will have carefully trained the user in advance to ignore all security warnings and accept the rogue certificate. What a waste of time. The only thing you're protecting again

Re: [us...@httpd] Low priced certificate?

2009-07-22 Thread Lists
Mike -- EMAIL IGNORED wrote: I am thinking of securing part of my low volume web site with SSL. I wend to some certificate authorities, and I was blown away by the prices. Are there that are both cheap and widely recognized? Thanks for your help. Mike. So, all this education/lecturing on cert

[us...@httpd] Falling off the end of a directory listing

2009-07-22 Thread Paul Leder
I've spent the last hour Googling this, without success... Problem: is there some way to allow a directory listing which includes a 'parent' link, but *only* up to a specified top level? In more detail, I have a site which is rooted at /var/www/html/foo. There are some download files, which I

[us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Nicholas Sherlock
André Warnier wrote: It is my understanding that we could set up our own "certificate authority" (CA) and create our own server certificates. A customer browser, upon the first connection, would pop up some message indicating that it cannot verify this certificate, and offering maybe to "auth

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Peter Schober
* Joseph Morgan [2009-07-22 17:47]: > In the cert world, your customers would likely rather see that your > certs are signed by Verisign than by > "pimpmycert.com" As if they could tell the difference. If both root CAs are in the browser's root chain, why shouldn't they trust a certificate signe

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread János Löbb
On Jul 22, 2009, at 11:40 AM, Mark H. Wood wrote: On Wed, Jul 22, 2009 at 03:09:25PM +0200, André Warnier wrote: While not contradicting the essence of the above, I would like to know something for my own edification, if some expert could comment. I don't think of myself as an expert, but

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Joseph Morgan
>>That said, the most expensive gold-plated cert. you can buy may not be >>worth much more, in your application, than one you could get for half >>as much. This is absolutely correct...except that some may appreciate the fact that you're using the gold-plated cert. That is, it sounds much better

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Mark H. Wood
On Wed, Jul 22, 2009 at 03:09:25PM +0200, André Warnier wrote: > While not contradicting the essence of the above, I would like to know > something for my own edification, if some expert could comment. I don't think of myself as an expert, but I'm free with my opinions. :-) [a desire to secure c

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Mark H. Wood
On Wed, Jul 22, 2009 at 02:43:10PM +0200, Boyle Owen wrote: > It's worth remembering what a certificate is for; it is a document, > undersigned by a third-party, that confirms that you are who you say you > are. The third-party certificate signing authority is putting their > reputation on the line

[us...@httpd] ldap: Removing controls in sublocations

2009-07-22 Thread Markus Werle
Hi! After digging hard through docs and other resources it still remains unclear to me how to relax access restrictions in sublocations. >From http://httpd.apache.org/docs/2.2/en/mod/core.html#require I learned how >to do this for directories, but after some tries I get the impression this wor

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Nick Kew
André Warnier wrote: .. and to explicit the question even more : Deep down in Apache's "request record" for the current request, there is a field which contains the authenticated user-id for this request, thus available to any other Apache module (not only to cgi scripts). I have a doubt that

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
André Warnier wrote: Nick Kew wrote: Pascal S. Clermont wrote: A conjunction of network based auth + "SetEnvIf Remote_Addr "^192\.168\.1\.\d{1,3}$" REMOTE_USER=LOCAL_IP" might be suitable for my current needs. That looks like a re-invention of "Satisfy Any". If you are re-inventing a wheel,

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
Nick Kew wrote: Pascal S. Clermont wrote: A conjunction of network based auth + "SetEnvIf Remote_Addr "^192\.168\.1\.\d{1,3}$" REMOTE_USER=LOCAL_IP" might be suitable for my current needs. That looks like a re-invention of "Satisfy Any". If you are re-inventing a wheel, kudos for NOT doing t

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Peter Schober
* Nick Kew [2009-07-22 15:41]: > Pascal S. Clermont wrote: > > > A conjunction of network based auth + "SetEnvIf Remote_Addr > > "^192\.168\.1\.\d{1,3}$" REMOTE_USER=LOCAL_IP" might be suitable for my > > current needs. > > That looks like a re-invention of "Satisfy Any". > If you are re-inven

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Joseph Morgan
It sounds to me like you are hosting their sites... meaning you have virtual hosts, etc.? If I go to my bank and open a checking account... fine... it's "free". However, if I want a safe deposit box, I'll have to pay... unless... maybe if I keep X amount of money deposit accounts with the ba

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Nick Kew
Pascal S. Clermont wrote: A conjunction of network based auth + "SetEnvIf Remote_Addr "^192\.168\.1\.\d{1,3}$" REMOTE_USER=LOCAL_IP" might be suitable for my current needs. That looks like a re-invention of "Satisfy Any". If you are re-inventing a wheel, kudos for NOT doing the "usual thing"

[us...@httpd] [OT] [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Peter Schober
* Boyle Owen [2009-07-22 14:43]: > > -Original Message- > > From: news [mailto:n...@ger.gmane.org] On Behalf Of Nicholas Sherlock > > > > > > Jfyi: you might also try free and not widely recognized, > > > http://cacert.org/ > > > > Won't certificates signed by them be only useful for >

RE: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Boyle Owen
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Wednesday, July 22, 2009 3:09 PM > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Re: Low priced certificate? > > > We are a services company, and provide websites to select > customers, for > their ow

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Pascal S. Clermont
André Warnier wrote: Peter Schober wrote: * André Warnier [2009-07-22 13:29]: Require valid-user Order allow,deny Allow from 192.168.1 Satisfy Any" I don't think that this is exactly what the OP wanted. Then maybe Jim Fox's mod_auth_location will do? http://staff.washington.edu/fox/authloc

Re: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread André Warnier
Boyle Owen wrote: ... It's worth remembering what a certificate is for; it is a document, undersigned by a third-party, that confirms that you are who you say you are. The third-party certificate signing authority is putting their reputation on the line and has a moral (even a legal) obligation

RE: [us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Boyle Owen
> -Original Message- > From: news [mailto:n...@ger.gmane.org] On Behalf Of Nicholas Sherlock > > > > Jfyi: you might also try free and not widely recognized, > > http://cacert.org/ > > Won't certificates signed by them be only useful for > internally-deployed > apps? They're not a trust

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
Peter Schober wrote: * André Warnier [2009-07-22 13:29]: Require valid-user Order allow,deny Allow from 192.168.1 Satisfy Any" I don't think that this is exactly what the OP wanted. Then maybe Jim Fox's mod_auth_location will do? http://staff.washington.edu/fox/authlocation/ Yes. That lo

[us...@httpd] Re: Virtual Hosts and mod_cache

2009-07-22 Thread Dan Poirier
"Fábio Jr." writes: > Hello all. > > How can I set mod_cache to works in different ways in my different > Virtual Hosts? I just put the IfModule directive and the options The same as most anything in an Apache config. See http://httpd.apache.org/docs/2.2/sections.html -- Dan Poirier --

[us...@httpd] Re: Low priced certificate?

2009-07-22 Thread Nicholas Sherlock
Peter Schober wrote: * Mike -- EMAIL IGNORED [2009-07-22 01:46]: I am thinking of securing part of my low volume web site with SSL. I wend to some certificate authorities, and I was blown away by the prices. Are there that are both cheap and widely recognized? Jfyi: you might also try free a

[us...@httpd] Virtual Hosts and mod_cache

2009-07-22 Thread Fábio Jr.
Hello all. How can I set mod_cache to works in different ways in my different Virtual Hosts? I just put the IfModule directive and the options inside the VirtualHost or I must make a default config for all of them? Att. Fábio Jr. ---

Re: [us...@httpd] Low priced certificate?

2009-07-22 Thread Peter Schober
* Peter Schober [2009-07-22 12:29]: > Or STFW for cheap SSL certs. But you won't get below 60-80USD for a > year, I guess. FWIW, I think GoDaddy's TurboSSL seems to be as cheap as it gets (27USD per year, starting with 2 years). Don't know anything about their services or browser compatibility th

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Peter Schober
* André Warnier [2009-07-22 13:29]: > > Require valid-user > > Order allow,deny > > Allow from 192.168.1 > > Satisfy Any" > > > I don't think that this is exactly what the OP wanted. Then maybe Jim Fox's mod_auth_location will do? http://staff.washington.edu/fox/authlocation/ -peter ---

Re: [us...@httpd] Low priced certificate?

2009-07-22 Thread André Warnier
Peter Schober wrote: * Mike -- EMAIL IGNORED [2009-07-22 01:46]: I am thinking of securing part of my low volume web site with SSL. I wend to some certificate authorities, and I was blown away by the prices. Are there that are both cheap and widely recognized? Jfyi: you might also try free a

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
Peter Schober wrote: * Pascal S. Clermont [2009-07-21 21:53]: I want to secure some content from unauthorized access by using : " AuthType Basic AuthName "Authentication Required" AuthUserFile /etc/secret/auth.users Require valid-user " in one of my 's I would like to know if there is a possib

Re: [us...@httpd] Low priced certificate?

2009-07-22 Thread Peter Schober
* Mike -- EMAIL IGNORED [2009-07-22 01:46]: > I am thinking of securing part of my low volume > web site with SSL. I wend to some certificate > authorities, and I was blown away by the prices. > Are there that are both cheap and widely recognized? Jfyi: you might also try free and not widely rec

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Peter Schober
* Pascal S. Clermont [2009-07-21 21:53]: > I want to secure some content from unauthorized access by using : > " > AuthType Basic > AuthName "Authentication Required" > AuthUserFile /etc/secret/auth.users > Require valid-user > " > in one of my 's > > I would like to know if there is a possible w

[us...@httpd] Apache processor usage

2009-07-22 Thread Oliver Marshall
We've got a machine here showing high processor usage for the Apache process. Apache runs a few minor sites, but mainly it runs the SVN module for our SVN setup so I'm assuming it's that. However, is there a way in Apache that I can find out more about what module of Apache may be responsible ?

RE: [us...@httpd] Remote .htaccess

2009-07-22 Thread Boyle Owen
> -Original Message- > From: Jos Chrispijn [mailto:apa...@webrz.net] > Sent: Wednesday, July 22, 2009 1:31 AM > To: users@httpd.apache.org > Subject: [us...@httpd] Remote .htaccess > > Is it possible to use a .htaccess in a folder in which I define a > htpasswd path that physically is lo

RE: [us...@httpd] 404's to robots.txt?

2009-07-22 Thread Boyle Owen
> -Original Message- > From: Evan Platt [mailto:e...@espphotography.com] > Sent: Wednesday, July 22, 2009 1:56 AM > To: users@httpd.apache.org > Subject: [us...@httpd] 404's to robots.txt? > > So I've noticed quite a lot of connections from web spider programs. > I've had a robots.txt >