Re: [users@httpd] Virtual hosts, include php.conf, DirectoryIndex failure

2017-04-20 Thread Luca Toscano
ouser > Web Administration > > > -Original Message- > > From: Marc Chamberlin [mailto:m...@marcchamberlin.com] > > Sent: Wednesday, April 19, 2017 15:58 > > To: users@httpd.apache.org > > Subject: [users@httpd] Virtual hosts, include php.conf, DirectoryIn

RE: [users@httpd] Virtual hosts, include php.conf, DirectoryIndex failure

2017-04-20 Thread Houser, Rick
berlin [mailto:m...@marcchamberlin.com] > Sent: Wednesday, April 19, 2017 15:58 > To: users@httpd.apache.org > Subject: [users@httpd] Virtual hosts, include php.conf, DirectoryIndex failure > > EXTERNAL EMAIL > > > Hi - While I have a work-around for this issue, I thought

[users@httpd] Virtual hosts, include php.conf, DirectoryIndex failure

2017-04-19 Thread Marc Chamberlin
Hi - While I have a work-around for this issue, I thought I would post it here to see what, if any, feedback I might get. Perhaps I am doing something wrong? I run a rather complex server environment where I use both Apache HTTPD and Apache Tomcat servers in combination and host a number of v

Re: [users@httpd] Virtual Hosts not working

2014-05-20 Thread Mackey, Harold A.
tpd.apache.org>" mailto:users@httpd.apache.org>> Date: Monday, May 19, 2014 at 11:51 PM To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" mailto:users@httpd.apache.org>> Subject: Re: [users@httpd] Virtual Hosts not working Check ypur ports.conf for th

Re: [users@httpd] Virtual Hosts not working

2014-05-19 Thread Curtis Maurand
Check ypur ports.conf for the NameVirtualHost directive. On May 19, 2014 9:39:39 PM EDT, Peter Biggerstaff wrote: >Hi All, > >I am tearing my hair out trying to get virtual hosts to work, but >apache >seems to be ignoring the /etc/apache2/sites-enabled config files. > >I have been trying all mo

Re: [users@httpd] Virtual Hosts not working

2014-05-19 Thread Greg Rundlett (freephile)
Actually, you could have named it ANYTHING.conf Apache is only "seeing" files that end in .conf as per your include directive: IncludeOptional sites-enabled/*.conf So, if you want to disable a site config called example.conf, you can do so by renaming it example.conf.disabled and reloading Apach

Re: [users@httpd] Virtual Hosts not working

2014-05-19 Thread Peter Biggerstaff
Every time you spend a whole morning on something, then give up and mail someone, you find the solution right after! Had to rename the file to 000-default.conf which was missing! On 2014-05-20 13:39, Peter Biggerstaff wrote: Hi All, I am tearing my hair out trying to get virtual hosts to work

[users@httpd] Virtual Hosts not working

2014-05-19 Thread Peter Biggerstaff
Hi All, I am tearing my hair out trying to get virtual hosts to work, but apache seems to be ignoring the /etc/apache2/sites-enabled config files. I have been trying all morning to get it to work, and here is the current state: IncludeOptional sites-enabled/*.conf is in the /etc/apache2/apa

Re: [users@httpd] virtual hosts questions

2013-10-23 Thread Paolo De Michele
I can not help anyone? thanks in advance On 10/23/2013 10:11 AM, Paolo De Michele wrote: hi everybody, I have several difficulties to configure virtual hosts on my server with a public static IP my virtualhost have been populated as well (not by me): 1.conf DocumentRoot /opt/observium/h

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-23 Thread Matthew Bachmann
:00 AM, Tushar Chavan wrote: > > > > Date: Tue, 22 Oct 2013 08:26:57 -0400 > > From: d...@bellsouth.net > > To: users@httpd.apache.org > > Subject: [users@httpd] Virtual Hosts and SSL Puzzler > > > > I have 3 virtual hosts that for all I can see are configur

RE: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-23 Thread Tushar Chavan
> Date: Tue, 22 Oct 2013 08:26:57 -0400 > From: d...@bellsouth.net > To: users@httpd.apache.org > Subject: [users@httpd] Virtual Hosts and SSL Puzzler > > I have 3 virtual hosts that for all I can see are configured identically > other the the obviously needed differences

[users@httpd] virtual hosts questions

2013-10-23 Thread Paolo De Michele
hi everybody, I have several difficulties to configure virtual hosts on my server with a public static IP my virtualhost have been populated as well (not by me): 1.conf DocumentRoot /opt/observium/html/ CustomLog /opt/observium/logs/access_log combined ErrorLog /opt/observium/logs/erro

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Chris Gordon
Thank you for the enlightenment Yehuda! I must not be meeting one of the SNI prerequisites (maybe LD_LIBRARY_PATH, maybe TLS Extensions) because I get a warning message on startup about using * and Name Based Hosting with SSL. I have a secure workaround so as long as it works and security is

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Dennis Putnam
On 10/22/2013 10:03 AM, Yehuda Katz wrote: > If the sites you are referencing allow you to access them over https, > that will solve the problem. > My prefered solution is to omit the http: altogether. If a url just > starts with "//example.com/rest/of/url > ", the b

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Yehuda Katz
On Tue, Oct 22, 2013 at 10:08 AM, Chris Gordon wrote: > To answer your questions: > *"Doesn't the SSLCertificate parameter for each VH say which cert to use*? > > > Yes, but how does Apache know which VH to get the cert from until it has > used a cert to decrypt the SSL? It just used the first

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Chris Gordon
I think the previous poster, I shift deleted the mail but I think it is a prominent poster here 'Pete Houston' who had a very good point. It could just be that you have mixed content. You can use a development mode of a browser to find any links to http content, that will certainly break the p

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Yehuda Katz
If the sites you are referencing allow you to access them over https, that will solve the problem. My prefered solution is to omit the http: altogether. If a url just starts with "//example.com/rest/of/url", the browser will use the appropriate protocol automatically. - Y On Tue, Oct 22, 2013 at

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Dennis Putnam
On 10/22/2013 9:44 AM, Yehuda Katz wrote: > On Tue, Oct 22, 2013 at 9:39 AM, Dennis Putnam > wrote: > > Thanks. That might make more sense (at least to me). After more > reading, > I am not sure that I don't have SNI capable version of httpd already > ins

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Yehuda Katz
On Tue, Oct 22, 2013 at 9:39 AM, Dennis Putnam wrote: > Thanks. That might make more sense (at least to me). After more reading, > I am not sure that I don't have SNI capable version of httpd already > installed (how do I tell?). The pages that work are very simple but the > one that doesn't is

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Dennis Putnam
On 10/22/2013 9:12 AM, Pete Houston wrote: > On Tue, Oct 22, 2013 at 08:26:57AM -0400, Dennis Putnam wrote: >> I get a gray globe indicating >> partial encryption which does not prevent eavesdropping. I have no clue >> how to debug this or even where to look. Can someone point me in the >> right di

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Yehuda Katz
On Tue, Oct 22, 2013 at 9:10 AM, Chris Gordon wrote: > SSL wraps http and you need a cert to decrypt the data sent via SSL. If > you have 3 virtual hosts and you are using Name Based Virtual Hosting how > does the Apache web server know which cert to use to decrypt and read the > header so it c

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Dennis Putnam
On 10/22/2013 9:10 AM, Chris Gordon wrote: > Sorry, brevity is not my strong point. > > Because I do not know what your certs look like as far as what > domain(s) are considered CNs I'm going to guess it has something to do > with the following... > > SSL wraps http and you need a cert to decr

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Pete Houston
On Tue, Oct 22, 2013 at 08:26:57AM -0400, Dennis Putnam wrote: > I get a gray globe indicating > partial encryption which does not prevent eavesdropping. I have no clue > how to debug this or even where to look. Can someone point me in the > right direction? Thanks. This is usually indicative of a

Re: [users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Chris Gordon
Sorry, brevity is not my strong point. Because I do not know what your certs look like as far as what domain(s) are considered CNs I'm going to guess it has something to do with the following... SSL wraps http and you need a cert to decrypt the data sent via SSL. If you have 3 virtual host

[users@httpd] Virtual Hosts and SSL Puzzler

2013-10-22 Thread Dennis Putnam
I have 3 virtual hosts that for all I can see are configured identically other the the obviously needed differences. The same is true of the 3 crt files. ServerName public.mydomain.com DocumentRoot /var/www/html SSLEngine on SSLCertificateFile /etc/httpd/SSL/public

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-06 Thread John McIntyre
> NameVirtualHost *:80 ##$ fine > > ##$ << you need *:80 here ! All right! It seems to be working, and I am confused, since I could have sworn that that was my configuration. Anyway, many thanks! J.

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-05 Thread Stefan Pielmeier
Ok, I had similar problems. When seeing your original config, it triggers following comments (after ##$) from me: NameVirtualHost *:80 ##$ fine ##$ << you need *:80 here ! ServerAdmin r...@domain1.com DocumentRoot /var/www/html ServerName domain1.com ErrorLog /var/log/http

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-05 Thread Eric Covener
On Sat, Oct 5, 2013 at 3:22 PM, John McIntyre wrote: > > Okay, if you're not doing ssl on domain2 then, no, that's not related. I > thought maybe from the post title that you were asking about virtual hosts > for ssl and that gets complicated depending on exactly what you're trying to > do. > > >

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-05 Thread John McIntyre
> Okay, if you're not doing ssl on domain2 then, no, that's not related. I > thought maybe from the post title that you were asking about virtual hosts > for ssl and that gets complicated depending on exactly what you're trying to > do. Guys, coming back at you with this, as I still can't get

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-02 Thread Eric Covener
On Wed, Oct 2, 2013 at 1:35 AM, John McIntyre wrote: > Le 1 octobre 2013 à 22:25, Eric Covener a écrit : > > Don't use domains or IP addresses inside or > NameVirtualHost. It's causing two sets of name-based vhosts. Use > *:80. > > > Hi, > When I did that, and restarted the server and then wen

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread John McIntyre
Le 1 octobre 2013 à 22:25, Eric Covener a écrit : > Don't use domains or IP addresses inside or > NameVirtualHost. It's causing two sets of name-based vhosts. Use > *:80. Hi, When I did that, and restarted the server and then went to my URL, I got a warning about the certificate not being ap

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread Eric Covener
Don't use domains or IP addresses inside or NameVirtualHost. It's causing two sets of name-based vhosts. Use *:80. On Tue, Oct 1, 2013 at 4:06 PM, John McIntyre wrote: > So I'm still unable to serve that domain2.com :( > > > > > Le 1 octobre 2013 à 18:04, Nick Tkach a écrit : > > Okay, if yo

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread John McIntyre
So I'm still unable to serve that domain2.com :( Le 1 octobre 2013 à 18:04, Nick Tkach a écrit : > Okay, if you're not doing ssl on domain2 then, no, that's not related. I > thought maybe from the post title that you were asking about virtual hosts > for ssl and that gets complicated depen

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread Nick Tkach
Okay, if you're not doing ssl on domain2 then, no, that's not related. I thought maybe from the post title that you were asking about virtual hosts for ssl and that gets complicated depending on exactly what you're trying to do. On Tue, Oct 1, 2013 at 11:57 AM, John McIntyre wrote: > Hi, > Tha

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread John McIntyre
Hi, Thanks for that. Unfortunately, even after the changes, entering domain2.com on a browser still goes directly to domain1.com. No, I don't have any intention to do SSL on domain2.com. Is this causing a problem? D. Le 1 octobre 2013 à 17:29, Nick Tkach a écrit : > Well, question is, are

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread Nick Tkach
Well, question is, are you trying to have domain2.com *also* do that same http->https ( http://domain2.com to https://domain2.com )? If so, do you have separate certificates for each (domain1 and domain2)? On Tue, Oct 1, 2013 at 10:36 AM, Pete Houston wrote: > On Tue, Oct 01, 2013 at 04:25:05P

[users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread John McIntyre
Hi, I have an apache 2.2.15 instance running on a CentOS 6.4 server. This server is (or will be, if I ever get it working...) two domains. One of them has an SSL certificate, and one doesn't. I've been struggling with this for two days solid, and if my research is correct, then the SSL handshake

Re: [users@httpd] Virtual Hosts Possible for SSL ?

2013-10-01 Thread Pete Houston
On Tue, Oct 01, 2013 at 04:25:05PM +0100, John McIntyre wrote: > Am I doomed to failiure, or is what I'm trying to do, actually possible? No, you are almost there. The problem is that for some reason you have an asterisk in your VirtualHost declaration for domain2. Change that the the actual IP ad

Re: [users@httpd] Virtual Hosts and SSL Config: Hoist Common Directives Above Server Blocks?

2012-09-12 Thread Igor Cicimov
On Sep 9, 2012 10:58 PM, "Tom Browder" wrote: > > I'm trying to clean up my conf files after getting an all-SSL server > with several virtual hosts working. > > At the moment, for each server block, I have this: > > > > SSLEngine on > > SSLCACertificateFile/path/to/ca.pem > SSLCertific

Re: [users@httpd] Virtual Hosts and SSL Config: Hoist Common Directives Above Server Blocks? [SOLVED]

2012-09-11 Thread Tom Browder
On Mon, Sep 10, 2012 at 10:00 PM, Igor Cicimov wrote: > On Sun, Sep 9, 2012 at 10:57 PM, Tom Browder wrote: >> >> I'm trying to clean up my conf files after getting an all-SSL server >> with several virtual hosts working. ... >> Can I hoist the common SSL cert. stuff out of the server blocks to a

Re: [users@httpd] Virtual Hosts and SSL Config: Hoist Common Directives Above Server Blocks?

2012-09-10 Thread Igor Cicimov
On Sun, Sep 9, 2012 at 10:57 PM, Tom Browder wrote: > I'm trying to clean up my conf files after getting an all-SSL server > with several virtual hosts working. > > At the moment, for each server block, I have this: > > > > SSLEngine on > > SSLCACertificateFile/path/to/ca.pem > SSLCer

[users@httpd] Virtual Hosts and SSL Config: Hoist Common Directives Above Server Blocks?

2012-09-09 Thread Tom Browder
I'm trying to clean up my conf files after getting an all-SSL server with several virtual hosts working. At the moment, for each server block, I have this: SSLEngine on SSLCACertificateFile/path/to/ca.pem SSLCertificateFile /path/to/server.crt SSLCertificateKeyFile /path/

Re: [users@httpd] virtual hosts with different JkExtract ssl values

2012-05-30 Thread Charles Richard
Thanks for the help! As silly as this sounds, I thought i had tried the scenario I had above and that it hadn't worked but after I read the documentation you sent, it didn't explicitly specify that JkExtract could not be used in a virtual host so I tried it and it worked! Thanks, Charles On Tue,

Re: [users@httpd] virtual hosts with different JkExtract ssl values

2012-05-29 Thread Igor Cicimov
JkExtractSSL is On by default. You can read the JkExtractSSL definition in the connector documentation: http://tomcat.apache.org/connectors-doc/reference/printer/apache.html Looks like you can play with Apache SSLOptions parameter: "In order to make SSL data available for mod_jk in Apache, you n

[users@httpd] virtual hosts with different JkExtract ssl values

2012-05-29 Thread Charles Richard
Hi, I have a bit of a complex setup in which i need a same front end apache server to use different virtual hosts name (wildcard SSL) to redirect to either Liferay, Glassfish or Tomcat. This could be a misconfiguration on my part but I seem to need for my regular tomcat server that JkExtractSSL b

Re: [users@httpd] Virtual hosts

2011-11-30 Thread Martin Barry
$quoted_author = "Stormy" ; > > I just rem'd out all the "NameVirtualHost 192.168.0.90:80" and now > the warning has changed to: > > paul@nelson:/etc/apache2/sites-available$ sudo /etc/init.d/apache2 restart > * Restarting web server apache2 > [Wed Nov 30 15:02:51 2011] [warn] VirtualHost 192.168

Re: [users@httpd] Virtual hosts

2011-11-30 Thread Stormy
At 02:36 PM 11/30/2011 -0500, Mark Montague wrote: On November 30, 2011 14:16 , Stormy wrote: Just finished setting up a new server (Ubuntu 11.10) and copied/pasted all conf files for Apache2 from an older fully functional server (Ubuntu 10.04). All the virtual hosts are functioning, but on ap

Re: [users@httpd] Virtual hosts

2011-11-30 Thread Mark Montague
On November 30, 2011 14:16 , Stormy wrote: Just finished setting up a new server (Ubuntu 11.10) and copied/pasted all conf files for Apache2 from an older fully functional server (Ubuntu 10.04). All the virtual hosts are functioning, but on apache2 restart I get the following warning (the old

[users@httpd] Virtual hosts

2011-11-30 Thread Stormy
Just finished setting up a new server (Ubuntu 11.10) and copied/pasted all conf files for Apache2 from an older fully functional server (Ubuntu 10.04). All the virtual hosts are functioning, but on apache2 restart I get the following warning (the old server gives no warnings, just a clean restar

Re: [users@httpd] Virtual Hosts on physical servers

2011-07-19 Thread Patrick Proniewski
On 19 juil. 2011, at 07:36, Patrick Proniewski wrote: >> Patrick, Do you know of any examples on how to configure this? > > I'm going to take a look at my old config files, I've done that years ago, > may be I've still some valuable pointers. I was not able to find my old config files (10 year

Re: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Patrick Proniewski
gt;> Date: Mon, 18 Jul 2011 23:16:36 +0200 >> To: users@httpd.apache.org; jc_denton_1...@hotmail.com >> Subject: Re: [users@httpd] Virtual Hosts on physical servers >> >> Your proxy can be an Apache Server, with mod_proxy, setup to forward client >> requests for w

Re: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Patrick Proniewski
account too. >> From: patrick.proniew...@univ-lyon2.fr >> Date: Mon, 18 Jul 2011 23:16:36 +0200 >> To: users@httpd.apache.org; jc_denton_1...@hotmail.com >> Subject: Re: [users@httpd] Virtual Hosts on physical servers >> >> Your proxy can be an Apache Server, wit

RE: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Peter B
Patrick, Do you know of any examples on how to configure this? > From: patrick.proniew...@univ-lyon2.fr > Date: Mon, 18 Jul 2011 23:16:36 +0200 > To: users@httpd.apache.org; jc_denton_1...@hotmail.com > Subject: Re: [users@httpd] Virtual Hosts on physical servers > > Hi, >

RE: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Peter B
: Mon, 18 Jul 2011 23:16:36 +0200 > To: users@httpd.apache.org; jc_denton_1...@hotmail.com > Subject: Re: [users@httpd] Virtual Hosts on physical servers > > Hi, > > On 18 juil. 2011, at 21:20, Peter B wrote: > > > I have a single IP address, with multiple web server

Re: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Patrick Proniewski
Hi, On 18 juil. 2011, at 21:20, Peter B wrote: > I have a single IP address, with multiple web servers, so I somehow need > www.hello.com to go to server1 and www.test.com to go to server2. As long as you have only one public IP address, you'll have to put a device (sofware or hardware) betwe

RE: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Peter B
Thanks Dave, I'll check this out. > Date: Mon, 18 Jul 2011 13:20:59 -0700 > From: g...@uniserve.com > To: users@httpd.apache.org; p...@openstrike.co.uk > Subject: Re: [users@httpd] Virtual Hosts on physical servers > > Quoting Pete Houston : > > > Content-Ty

RE: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Peter B
Hi Pete, I checked out that page, but that only covers virtual hosts on the same server, not other servers. > Date: Mon, 18 Jul 2011 20:35:52 +0100 > From: p...@openstrike.co.uk > To: users@httpd.apache.org > Subject: Re: [users@httpd] Virtual Hosts on physical servers > &

Re: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Dave Stevens
Quoting Pete Houston : Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, It sounds like you want name-based virtual hosts. See http://httpd.apache.org/docs/2.2/vhosts/name-based.html Peter For several years now I've bee

Re: [users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Pete Houston
Hello, It sounds like you want name-based virtual hosts. See http://httpd.apache.org/docs/2.2/vhosts/name-based.html Pete On Tue, Jul 19, 2011 at 07:20:15AM +1200, Peter B wrote: > > I have a single IP address, with multiple web servers, so I somehow need > www.hello.com to go to server1 and w

[users@httpd] Virtual Hosts on physical servers

2011-07-18 Thread Peter B
Hi All, I'm setting up some servers for web hosting (they are vbox virtual servers) and need a little help with virtual hosts. I could find examples on how to set up virtual hosts for most scenarios, but not my one, which is as follows: I have a single IP address, with multiple web servers, s