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

2011-01-28 Thread Christoph Anton Mitterer
Hi. I'm having a vhost, which is reachable via one canonical name, e.g. example.org, and also via several aliases, e.g. www.example.org, example.com, etc. I want that whenever requests are made via one of the aliases, that those are redirected to the canonical name. IMHO there are about the fol

RE: [users@httpd] mod_ssl, erratic performance

2011-01-28 Thread john.3.newton
- Igor Galić [mailto:i.ga...@brainsware.org] wrote: > >- "john 3 newton" wrote: > >> Solaris 10 >> Apache version: 2.2.11 & 2.2.17 (32 &64 bit) >> >> We recently moved our production webserver from a sparc platform >> (T2000) to an x86/64 platform (x2270-m2) and we have noticed an >> erra

RE: [users@httpd] mod_ssl, erratic performance

2011-01-28 Thread john.3.newton
On Thursday, January 27, 2011 11:24 AM, >Am 27.01.2011 16:34, schrieb Matus UHLAR - fantomas: >> On 22.01.11 00:53, john.3.new...@bt.com wrote: >>> >>> We recently moved our production webserver from a sparc platform (T2000) >>> to an x86/64 platform (x2270-m2) and we have noticed an erratic respo

RE: [users@httpd] mod_ssl, erratic performance

2011-01-28 Thread john.3.newton
> >random device can make a huge difference. What do you use for random data? >/dev/random or /dev/urandom? If the rofmer, try the latter if it helps. >-- >Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Matus - I have actually tried both, as well as builtin. I have also var

Re: [users@httpd] Apache2 replies with 301 moved permanently when non-default port 80 is used

2011-01-28 Thread Eric Covener
Look for Redirects elsehwere in your config, or for htaccess in your documentroot. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscr

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

2011-01-28 Thread Randy Tejas
Sorry I do not have control over software version as it is in a global solaris zone. I have been restarting with svcadm restart svc:/network/http:apache2 or /usr/apache2/bin/apachectl restart and it doesn't help. Netstat shows the right ip addresses: [root@cgappd81 logs]# netstat -an | grep '

[users@httpd] Apache2 replies with 301 moved permanently when non-default port 80 is used

2011-01-28 Thread Fabricio Gouvea
Hi, My ports.conf has: NameVirtualHost 10.77.0.77:8080 Listen 8080 and sites-available/default has: ServerName mysite.dyndns.org:8080 ServerAdmin webmaster@localhost DocumentRoot /home/ubuntu/wordpress But when I try to connect, either with 10.77.0.77:8080 or mysite.dynd

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread William A. Rowe Jr.
On 1/28/2011 2:03 PM, Sean Conner wrote: > It was thus said that the Great William A. Rowe Jr. once stated: >> On 1/28/2011 7:51 AM, Rich Bowen wrote: >>> >>> On Jan 28, 2011, at 8:44 AM, Skye Sweeney wrote: >>> Question: Is it possible to configure Apache and/or other components to allow

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread Sean Conner
It was thus said that the Great William A. Rowe Jr. once stated: > On 1/28/2011 7:51 AM, Rich Bowen wrote: > > > > On Jan 28, 2011, at 8:44 AM, Skye Sweeney wrote: > > > >> Question: Is it possible to configure Apache and/or other components to > >> allow a client to have a simple "bash shell" in

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread William A. Rowe Jr.
On 1/28/2011 7:51 AM, Rich Bowen wrote: > > On Jan 28, 2011, at 8:44 AM, Skye Sweeney wrote: > >> I have now been monitoring this distribution list for a month and now feel >> like I can ask my question... >> >> Recently my company has but a filter in their firewall to prevent any access >> t

Re: [users@httpd] mod_ssl and virtual host

2011-01-28 Thread bf...@free-man.net
thanks will see what I can do to make something work. = BJ Freeman Strategic Power Office with Supplier Automation Specialtymarket.com Systems Integrator-- Glad to Assist

Re: [users@httpd] mod_ssl, erratic performance

2011-01-28 Thread Igor Galić
- "john 3 newton" wrote: > Solaris 10 > Apache version: 2.2.11 & 2.2.17 (32 &64 bit) > > We recently moved our production webserver from a sparc platform > (T2000) to an x86/64 platform (x2270-m2) and we have noticed an > erratic response time for downloads of files using SSL. This seems to

Re: [users@httpd] problem in Loadbalancing using mod_jk (configuration of worker.properties attached)

2011-01-28 Thread Igor Galić
- "Jehan Badshah" wrote: > Dear all Hi, > Following is the configuration of worker.properties file, mod_jk questions should go to us...@tomcat.apache.org If you ask them here, you'll generally hear: Use mod_proxy_(ajp|http) -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brain

Re: [users@httpd] mod_ssl and virtual host

2011-01-28 Thread Igor Galić
- "Martin Kuba" wrote: > Dne 28.1.2011 02:51, bf...@free-man.net napsal(a): > > The certificate is not trusted because it is self-signed. > > The certificate is only valid for free-man.net > > > > what am I doing wrong? > > You can not use name-based virtual hosts for SSL if your Apache is

Re: [users@httpd] setting variables for mod_proxy_ajp

2011-01-28 Thread Igor Galić
- "Martin Kuba" wrote: > Hi all, Hi Martin, > no response so far, but I have figured it myself, the right directive > is Thank you for this post. > RewriteRule .* - [E=AJP_SSL_CLIENT_S_DN:%{SSL:SSL_CLIENT_S_DN}] > > Cheers > > Martin > > Dne 12.1.2011 12:36, Martin Kuba napsal(a): > >

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

2011-01-28 Thread J.Lance Wilkinson
I've got a set of identical webservers, all Apache 2.2.6, with configurations such that authorized IP addresses are allowed access to locations handled by the server-info and server-status handlers. These work fine when visiting the individual servers. Now I put a load balancer in front of the

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

2011-01-28 Thread Igor Galić
- "Randy Tejas" wrote: > Hello, > > I'm seeing a problem in my logs where there are extra numbers at the > end of an ip address: > > 10.56.194.252194.252 > 10.56.195.63.195.63 > > Apache seems to be duplicating the last two octects. Anybody seen this > before and how to fix? > > Server v

Re: [users@httpd] kill hanging CGIs

2011-01-28 Thread Igor Galić
- "Matus UHLAR - fantomas" wrote: > Hello, > > we provide our users possibility to upload their own CGI scripts, > using > suexec (in a limited environment, for security reasons). > > I found that a user uploaded CGI that calls flock() function which > sometimes > makes the CGI hang for a

Re: [users@httpd] How to properly block IP ranges server wide?

2011-01-28 Thread Igor Galić
- "Norman Peelman" wrote: > Hello all, > > I've got a server with name based virtualhosts. I am getting > spammers > from various countries and would like to block these IP ranges. But I > can't seem to figure out how to block them. How can I block them by > default for the entire serve

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

2011-01-28 Thread Randy Tejas
Hello, I'm seeing a problem in my logs where there are extra numbers at the end of an ip address: 10.56.194.252194.252 10.56.195.63.195.63 Apache seems to be duplicating the last two octects. Anybody seen this before and how to fix? Server version: Apache/2.0.63 Server built: Oct 24 2010 13

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread Nick Kew
On 28 Jan 2011, at 13:44, Skye Sweeney wrote: > I have now been monitoring this distribution list for a month and now feel > like I can ask my question... > > Recently my company has but a filter in their firewall to prevent any access > to any outside computer over SSH or FTP. This has broke

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread Len Parker
Rich is 100% correct. However, if all else fails, google "Anyterm". It works for me. Len On Fri, 2011-01-28 at 08:51 -0500, Rich Bowen wrote: > On Jan 28, 2011, at 8:44 AM, Skye Sweeney wrote: > > > I have now been monitoring this distribution list for a month and now feel > > like I can ask m

Re: [users@httpd] Reverse Proxy will multiple IPs in same subnet

2011-01-28 Thread Saxa Egea
El 28/01/2011 14:04, Giles Coochey escribió: On 28/01/2011 13:43, Giles Coochey wrote: Hi, I'm setting up a reverse proxy with multiple IP addresses. Multiple instances of apache listen on multiple IP addresses in the same subnet. My question is... If a reverse proxy is setup to listen on

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread Rich Bowen
On Jan 28, 2011, at 9:04 AM, Skye Sweeney wrote: > "Long talk with IT" has happened more than once with the IT staff!. But I > work at a company of 30K people and IT is non yielding. Only RSA tunnels are > allowed and then only into the company. All outgoing ports are blocked > including such

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread Skye Sweeney
"Long talk with IT" has happened more than once with the IT staff!. But I work at a company of 30K people and IT is non yielding. Only RSA tunnels are allowed and then only into the company. All outgoing ports are blocked including such things as network time protocol. About the only things that se

Re: [users@httpd] Remote shell access via Apache

2011-01-28 Thread Rich Bowen
On Jan 28, 2011, at 8:44 AM, Skye Sweeney wrote: > I have now been monitoring this distribution list for a month and now feel > like I can ask my question... > > Recently my company has but a filter in their firewall to prevent any access > to any outside computer over SSH or FTP. This has br

[users@httpd] Remote shell access via Apache

2011-01-28 Thread Skye Sweeney
I have now been monitoring this distribution list for a month and now feel like I can ask my question... Recently my company has but a filter in their firewall to prevent any access to any outside computer over SSH or FTP. This has broken my ability to access my home computer to do such things as

Re: [users@httpd] Reverse Proxy will multiple IPs in same subnet

2011-01-28 Thread Giles Coochey
On 28/01/2011 13:43, Giles Coochey wrote: Hi, I'm setting up a reverse proxy with multiple IP addresses. Multiple instances of apache listen on multiple IP addresses in the same subnet. My question is... If a reverse proxy is setup to listen on eth0:1 with IP address 10.4.4.10 and eth0 is

[users@httpd] Reverse Proxy will multiple IPs in same subnet

2011-01-28 Thread Giles Coochey
Hi, I'm setting up a reverse proxy with multiple IP addresses. Multiple instances of apache listen on multiple IP addresses in the same subnet. My question is... If a reverse proxy is setup to listen on eth0:1 with IP address 10.4.4.10 and eth0 is 10.4.4.5 in the same subnet. From a firewa

Re: [users@httpd] setting variables for mod_proxy_ajp

2011-01-28 Thread Martin Kuba
Hi all, no response so far, but I have figured it myself, the right directive is RewriteRule .* - [E=AJP_SSL_CLIENT_S_DN:%{SSL:SSL_CLIENT_S_DN}] Cheers Martin Dne 12.1.2011 12:36, Martin Kuba napsal(a): Hi all, I am trying to pass an arbitrary environment variable from Apache (2.2) to Tomc

Re: [users@httpd] Apache 2.x authentication and mod_rewrite

2011-01-28 Thread Rich Bowen
> I have an app that I run that distinguishes between users by appending a cgi > variable to the end of a URL, so I setup a .htaccess file in the root of my > web directories (/var/www/html) as follows: > > RewriteEngine on > RewriteBase / > RewriteRule ^foo/(.*)$ some/really/long/url/$1?tenant_

Re: [users@httpd] Missing static contents on 1st page hit with Apache+mod_jk

2011-01-28 Thread Nick Kew
On 28 Jan 2011, at 09:54, Setya wrote: > Any help would be greatly appreciated. What do you see in your logs? -- Nick Kew Available for work, contract or permanent http://www.webthing.com/~nick/cv.html - The official User-T

[users@httpd] Missing static contents on 1st page hit with Apache+mod_jk

2011-01-28 Thread Setya
Hi all, I use Apache 2.2.17 as load balancer using mod_jk in front of Glassfish, when I 1st hit the site, all static contents (images, etc) are always missing, so the page is displayed in plain white background & black foreground. Only after I refresh or hit the same page again then all static co