Re: [us...@httpd] Two Name-Based Virtual Hosts : Two SSL Certificates?

2010-04-24 Thread Michael Ni
i think people have been saying SNI does not satisfy Safari browser. the ssl warning still pops up. can someone verify? On Sat, Apr 24, 2010 at 3:03 PM, Jason Nunnelley wrote: > On 4/24/10 4:42 PM, Wang, Mary Y wrote: > >> Crypto, >> >> Thanks for the info on SNI. I'm currently running on h

Re: [us...@httpd] Two Name-Based Virtual Hosts : Two SSL Certificates?

2010-04-24 Thread Michael Ni
i had the same issue, i would buy another ssl cert for your 2nd host. you also need another IP for your 2nd host. make sure your dns server are pointing to the right ips depending on the host you need to register two ssl certs make sure you have that SSLChain. thing in your virutal host so

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

2010-04-21 Thread Michael Ni
, 2010 at 5:25 PM, 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 >>> >>&g

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

2010-04-21 Thread Michael Ni
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 tried putting SSL in each but apache is using the first one registered.

Re: [us...@httpd] redirect all http to https

2010-04-20 Thread Michael Ni
RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R, L] or RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] many ways to do it On Tue, Apr 20, 2010 at 12:55 AM, Frank Bonnet wrote: > Hello > > I want to redi

Re: [us...@httpd] proxypass only https

2010-04-16 Thread Michael Ni
thank you On Fri, Apr 16, 2010 at 7:58 AM, Eric Covener wrote: > On Fri, Apr 16, 2010 at 10:56 AM, Michael Ni wrote: > > anyone know how can i do a > > > > ProxyPass /foo/http://foo.bar.com > > > > but only where protocol is http and n

[us...@httpd] proxypass only https

2010-04-16 Thread Michael Ni
anyone know how can i do a ProxyPass /foo/http://foo.bar.com but only where protocol is http and not https? so http://www.apache.org/foo/ would proxy to http://foo.bar.com but https://www.apache.org/foo/ would be denied i looked at ProxyPassMatch, but it didn't seem right

Re: [us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
days of my life On Mon, Apr 12, 2010 at 3:59 PM, Michael Ni wrote: > i checked the ports, when apache is down, its clear > i changed the virtual host to localhost:8886 and telnet localhost 8886 is > successful > > i turned off my antivirus, although it shouldn't affect lo

Re: [us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
apache, check netstat -plant for the process, then try to telnet to > the port on localhost. If that fails, it's probably a firewall issue. > > Frank. > > On 04/12/2010 06:01 PM, Michael Ni wrote: > >> yes my virtual host tag has 192.168.0.10:8886 <http://192.168.0.10:8

Re: [us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
rt has to do with your problem - not sure it > has antyhing to do with it. You need a Listen *:80 or 192.168.1.1:80 for > it to listen on port 80. > > > On 4/12/10 4:51 PM, Michael Ni wrote: > > tried it, still doesn't work, > > i dont think it needs to be that spe

Re: [us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
2.168.0.10:8886/>:8886? > > ---------- > *From:* Michael Ni > > *To:* users@httpd.apache.org > *Sent:* Mon, April 12, 2010 5:39:42 PM > *Subject:* Re: [us...@httpd] virtualhost not picking up for non port 80 > > yes i have > > Listen 8886 > in the httpd.conf file > > i

Re: [us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
t port. > > Frank. > > > On 04/12/2010 10:20 AM, Michael Ni wrote: > >> i added log in virtual host >>ErrorLog "logs/asdf-error.log" >>CustomLog "logs/asdf-access.log" common >> >> when i tried again, nothing shows up on

Re: [us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
ra/httpd-vhosts.conf:52) Syntax OK but it just won't pick up for some reason On Mon, Apr 12, 2010 at 7:12 AM, [triplepack] info (i...@pack3.ch) < i...@pack3.ch> wrote: > Am 12.04.2010 16:00, schrieb Michael Ni: > > I'm having difficulty on windows XP getting a virtualhost t

[us...@httpd] virtualhost not picking up for non port 80

2010-04-12 Thread Michael Ni
I'm having difficulty on windows XP getting a virtualhost to work with non port 80. it works when i use port 80 in the virtualhost but doesn't work with other ports. i have turned off my firewall, although this is private ip, shouldn't matter i have tried ports 8080, , 8000, and now with 8886.

Re: [us...@httpd] Can I have two virtual hosts with same servername?

2010-04-10 Thread Michael Ni
pache2.2/htdocs" ServerName www.foobar.com AddDefaultCharset Off Order deny,allow Allow from all ProxyPass/ ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ On Fri, Apr 9, 2010 at 10:31 AM, Nilesh Govindarajan wrote: > On 04/09/10 15:22, Mi

Re: [us...@httpd] Can I have two virtual hosts with same servername?

2010-04-09 Thread Michael Ni
04/09/10 15:14, Michael Ni wrote: > >> I have a java project that resides in tomcat. Recently we needed to add >> Wordpress (php project). >> >> We decided to go with Apache Server in front with virtual hosts with >> mod_proxy_ajp. >> >> So far I have

[us...@httpd] Can I have two virtual hosts with same servername?

2010-04-09 Thread Michael Ni
I have a java project that resides in tomcat. Recently we needed to add Wordpress (php project). We decided to go with Apache Server in front with virtual hosts with mod_proxy_ajp. So far I have gotten different server names to work http://www.foobar.com http://blog.foobar.com ServerName w