Re: [users@httpd] virtual host DocumentRoot being ignored

2020-12-13 Thread Lucien Gentis
You can also try to replace "IncludeOptional conf.d/*.conf" by "IncludeOptional /etc/httpd/conf.d/*.conf" Le 13/12/2020 à 18:26, Daniel Ferradal a écrit : check "apachectl -S" output to make sure what virtualhosts you are really using. El dom, 13 dic 2020 a las 15:20, Richard B. Pyne () escrib

Re: [users@httpd] virtual host DocumentRoot being ignored

2020-12-13 Thread Daniel Ferradal
check "apachectl -S" output to make sure what virtualhosts you are really using. El dom, 13 dic 2020 a las 15:20, Richard B. Pyne () escribió: > > Hi Lucien, > > Yes. that is the case. It is /etc/httpd/conf.d > > The last line of the main config file /etc/httpd/conf/httpd.conf file is > > IncludeO

Re: [users@httpd] virtual host DocumentRoot being ignored

2020-12-13 Thread Richard B. Pyne
Hi Lucien, Yes. that is the case. It is /etc/httpd/conf.d The last line of the main config file /etc/httpd/conf/httpd.conf file is IncludeOptional conf.d/*.conf On 12/13/2020 5:38 AM, Lucien Gentis wrote: Hello Richard, I don't know how CentOs configures httpd, but I suppose You have a main

Re: [users@httpd] virtual host DocumentRoot being ignored

2020-12-13 Thread Lucien Gentis
Hello Richard, I don't know how CentOs configures httpd, but I suppose You have a main config file which includes all config files contained in /etc/httpd/conf.d ; is it the case ? Le 13/12/2020 à 13:26, Richard B. Pyne a écrit : I know this has been asked numerous time, and I have read hours

[users@httpd] virtual host DocumentRoot being ignored

2020-12-13 Thread Richard B. Pyne
I know this has been asked numerous time, and I have read hours worth of post and guides with no success. I set up a new server running Apache 2.4.6 on CentOS 7.9 a while back with only one virtual host. The original vhost still works, but the second one ignores the host name. I have two virtu

[users@httpd] Virtual host macros and reverse proxy

2020-01-24 Thread Tom Browder
I have multiple virtual hosts for which I would like to use a reverse proxy to a dynamic application running constantly on my server. I would like to use a macro to do something like this pseudo code: $port = 16000 for each domain.tld map domain.tld to localhost:$port $por

Re: [users@httpd] virtual host

2018-09-28 Thread Carmel NY
On Fri, 28 Sep 2018 15:40:49 +0200, Sander Smeenk stated: >Quoting Carmel NY (carmel...@outlook.com): > >> >Please elaborate on the 'not working out so well' bit. > >> >> apachectl -S >> >> VirtualHost configuration: >> >> *:80 stem.example.net >> >> (/usr/local/etc/apache24/ex

Re: [users@httpd] virtual host

2018-09-28 Thread Ruben Safir
Sorry, I need to correct my English. Seems my fingers don't find the right keys all the time ;) On 9/28/18 7:10 AM, Carmel NY wrote: > Okay, on a stock FreeBSD installation, maybe on others too, there is an > index.html file in the document root that displays, In my experience you can't expect

Re: [users@httpd] virtual host

2018-09-28 Thread Ruben Safir
On 9/28/18 7:10 AM, Carmel NY wrote: > Okay, on a stock FreeBSD installation, maybe on others too, there is an > index.html file in the document root that displays, In my experience you can't expect a stock instllation to work, especially since you seem to be pointing at different directories tha

Re: [users@httpd] virtual host

2018-09-28 Thread Ruben Safir
On 9/28/18 5:21 AM, Sander Smeenk wrote: > Quoting Carmel NY (carmel...@outlook.com): >> This is my first attempt to set up a virtual host with apache24 on a >> FreeBSD 11.2 machine, and it is not working out so well. > > Please elaborate on the 'not working out so well' bit. > > >> Assuming a s

Re: [users@httpd] virtual host

2018-09-28 Thread Sander Smeenk
Quoting Carmel NY (carmel...@outlook.com): > >Please elaborate on the 'not working out so well' bit. > >> apachectl -S > >> VirtualHost configuration: > >> *:80 stem.example.net > >> (/usr/local/etc/apache24/extra/httpd-vhosts.conf:24) > >> *:443 example.net >

Re: [users@httpd] virtual host

2018-09-28 Thread Jonathon Koyle
Oh, I missed that my first time through. Is there anything in the log files that you specify in the virtual host? On Fri, Sep 28, 2018, 05:51 Carmel NY wrote: > On Fri, 28 Sep 2018 05:32:16 -0600, Jonathon Koyle stated: > > >On Fri, Sep 28, 2018, 05:10 Carmel NY wrote: > > > >> On Fri, 28 Sep

Re: [users@httpd] virtual host

2018-09-28 Thread Carmel NY
On Fri, 28 Sep 2018 05:32:16 -0600, Jonathon Koyle stated: >On Fri, Sep 28, 2018, 05:10 Carmel NY wrote: > >> On Fri, 28 Sep 2018 11:21:36 +0200, Sander Smeenk stated: >> >> >Quoting Carmel NY (carmel...@outlook.com): >> >> This is my first attempt to set up a virtual host with apache24 on a >> >

Re: [users@httpd] virtual host

2018-09-28 Thread Jonathon Koyle
I wonder if the :80 in the ServerName directive is causing you grief, since it isn't passed that way for http? On Fri, Sep 28, 2018, 05:10 Carmel NY wrote: > On Fri, 28 Sep 2018 11:21:36 +0200, Sander Smeenk stated: > > >Quoting Carmel NY (carmel...@outlook.com): > >> This is my first attempt to

Re: [users@httpd] virtual host

2018-09-28 Thread Carmel NY
On Fri, 28 Sep 2018 11:21:36 +0200, Sander Smeenk stated: >Quoting Carmel NY (carmel...@outlook.com): >> This is my first attempt to set up a virtual host with apache24 on a >> FreeBSD 11.2 machine, and it is not working out so well. > >Please elaborate on the 'not working out so well' bit. > >

Re: [users@httpd] virtual host

2018-09-28 Thread Sander Smeenk
Quoting Carmel NY (carmel...@outlook.com): > This is my first attempt to set up a virtual host with apache24 on a > FreeBSD 11.2 machine, and it is not working out so well. Please elaborate on the 'not working out so well' bit. > Assuming a site name of example.net, I tried to configure a simple

[users@httpd] virtual host

2018-09-28 Thread Carmel NY
This is my first attempt to set up a virtual host with apache24 on a FreeBSD 11.2 machine, and it is not working out so well. Assuming a site name of example.net, I tried to configure a simple vhost. ServerAdmin webmas...@example.net DocumentRoot "/usr/local/www/testdir" ServerName s

Re: [users@httpd] virtual host gives unexpected network read error

2018-01-31 Thread Luca Toscano
Hi David, 2018-01-29 19:45 GMT-08:00 David Mehler : > Hello, > > Can someone take a look at the below virtual host configuration? > Whenever I put it in my apache 2.4 the server returns an alert > unexpected network read error connection aborted message. If I take it > out the server behaves norm

[users@httpd] virtual host gives unexpected network read error

2018-01-29 Thread David Mehler
Hello, Can someone take a look at the below virtual host configuration? Whenever I put it in my apache 2.4 the server returns an alert unexpected network read error connection aborted message. If I take it out the server behaves normally. Of course nothing is in any of the logs I've got LogLevel s

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread David Mehler
Hello, Thanks. That sure made my file easier to handle. One thing can I using redirect go from http to https? Like example.com redirects to https://www.example.com? Thanks. Dave. On 7/16/17, Daniel wrote: > Redirect is simpler as you can see, it redirects everything, it has a > regex version

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread Daniel
Redirect is simpler as you can see, it redirects everything, it has a regex version called RedirectMatch. Both are provided by mod_alias. RewriteRule is for more complex things, yes it can redirect too, but as you have seen yourself, the most simple thing can bring confusion. RewriteRute is provid

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread David Mehler
Hello, Thanks. I'll try the rewrite redirect. With regards the redirect option, the simpler way, does it do the tls conversion unsecure to secure? What would the advantages/disadvantages of rewrite and redirect? Thanks. Dave. On 7/16/17, Daniel wrote: > And while at it why not use simple Redi

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread Daniel
And while at it why not use simple Redirect's since your config fits perfectly to use them: ServerName example.com Redirect / http://www.example.com/ simpler, gets the job done, and you don't need a cannon to smash a fly. 2017-07-16 17:48 GMT+02:00 Luca Toscano : > Hi David, > > 2017-

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread Luca Toscano
Hi David, 2017-07-15 3:11 GMT+02:00 David Mehler : > Hello, > > I'm running Apache 2.4 on a FreeBSD 10.3 system, with several virtual > hosts. My goal is to have all of them completely ssl, except for the > .well-known area needed for letsencrypt. > > > ServerName example.com > RewriteEn

[users@httpd] virtual host double slash effect, need solution

2017-07-14 Thread David Mehler
Hello, I'm running Apache 2.4 on a FreeBSD 10.3 system, with several virtual hosts. My goal is to have all of them completely ssl, except for the .well-known area needed for letsencrypt. I'm getting a double slash effect, for example example.com// and similar for other virtual hosts. I've googl

Re: [users@httpd] Virtual host config and non-virtual host directories

2017-03-15 Thread Robert Moskowitz
It seems that once you use virtual hosting, you really need to define a default virtual host by making something the first in the config file. On a server without virtual hosts, I have: VirtualHost configuration: ServerRoot: "/etc/httpd" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/etc/h

[users@httpd] Virtual host config and non-virtual host directories

2017-03-14 Thread Robert Moskowitz
I am reading: https://httpd.apache.org/docs/2.4/vhosts/examples.html And the statement: "The asterisks match all addresses, so the main server serves no requests. Due to the fact that the virtual host with |ServerName www.example.com| is first in the configuration file, it has the highest pr

Re: [users@httpd] Virtual Host - Port 80 to 443

2016-07-14 Thread Frank Gingras
No, you missed the trailing slash: Redirect permanent / https://subdomain.domain.ac.za/ On Thu, Jul 14, 2016 at 6:19 AM, Daniel wrote: > > -- Forwarded message -- > From: Daniel > Date: 2016-07-14 12:18 GMT+02:00 > Subject: Re: [users@httpd] Virtual Host - Port

Fwd: [users@httpd] Virtual Host - Port 80 to 443

2016-07-14 Thread Daniel
-- Forwarded message -- From: Daniel Date: 2016-07-14 12:18 GMT+02:00 Subject: Re: [users@httpd] Virtual Host - Port 80 to 443 To: Leon Vergottini It seems correct. If you have several virtualhosts for different subdomains you should define them on the same fashion as what you

Re: [users@httpd] Virtual Host - Port 80 to 443

2016-07-14 Thread Leon Vergottini
erver file     Order allow,deny     Allow from all            ServerEnvironment apache apache     Kind Regards Leon From: Daniel Reply-To: Date: Thursday, 14 July 2016 at 11:40 AM To: "" Subject: Re: [users@httpd] Virtual H

Re: [users@httpd] Virtual Host - Port 80 to 443

2016-07-14 Thread Daniel
is totally invalid. Use *:80 or *:443 or ip:port but never "*" alone. Also if you define *:80 and there you want to redirect to the SSL virtualhost by all means use the http scheme in the redirect directive like: Redirect permanent / https://subdomain.domain.ac.za/ 2016-07-14 11:31 GMT+02:00 Le

[users@httpd] Virtual Host - Port 80 to 443

2016-07-14 Thread Leon Vergottini
Dear Community I hope you are doing well today. May I kindly ask your assistance since HTTPD is not my strong point?  I have several virtual host conf files that have the structure below.  I am now trying to change them so that incoming visitors from port 80 are being redirected to port

Re: Fwd: Re: [users@httpd] Virtual Host Not working

2016-05-14 Thread Beech
On 05/14/16 18:19, Frank Gingras wrote: On 14/05/16 07:53 PM, phil wrote: On 15/05/2016 6:16 AM, Beech wrote: Forwarded Message Subject: Re: [users@httpd] Virtual Host Not working Date: Sat, 14 May 2016 21:46:41 +0200 From: miguel gonzalez To: Beech , users

Re: Fwd: Re: [users@httpd] Virtual Host Not working

2016-05-14 Thread Frank Gingras
On 14/05/16 07:53 PM, phil wrote: On 15/05/2016 6:16 AM, Beech wrote: Forwarded Message Subject: Re: [users@httpd] Virtual Host Not working Date: Sat, 14 May 2016 21:46:41 +0200 From: miguel gonzalez To: Beech , users@httpd.apache.org I always have used either the ip

Re: Fwd: Re: [users@httpd] Virtual Host Not working

2016-05-14 Thread phil
On 15/05/2016 6:16 AM, Beech wrote: Forwarded Message Subject: Re: [users@httpd] Virtual Host Not working Date: Sat, 14 May 2016 21:46:41 +0200 From: miguel gonzalez To: Beech , users@httpd.apache.org I always have used either the ip address or the wildcard * in the

Fwd: Re: [users@httpd] Virtual Host Not working

2016-05-14 Thread Beech
Forwarded Message Subject: Re: [users@httpd] Virtual Host Not working Date: Sat, 14 May 2016 21:46:41 +0200 From: miguel gonzalez To: Beech , users@httpd.apache.org I always have used either the ip address or the wildcard * in the virtualhost directive. Have you checked

Re: [users@httpd] Virtual Host Not working

2016-05-14 Thread miguel gonzalez
I always have used either the ip address or the wildcard * in the virtualhost directive. Have you checked the logs? Beech wrote: >I have added a new virtual domain and it's not working. No error >messages, just won't connect. I have triple checked the paths and >spelling. DNS is propagated a

[users@httpd] Virtual Host Not working

2016-05-14 Thread Beech
I have added a new virtual domain and it's not working. No error messages, just won't connect. I have triple checked the paths and spelling. DNS is propagated and dig returns the correct IP. The other domains work. Here's the setting, it's Apache24: ServerAdmin akbe...@gmail.com Docu

Fwd: FW: [users@httpd] Virtual Host Setup Help

2016-02-13 Thread Meta Correio
first defined virtual host, it stops searching other virtual hosts, completely ignoring the ServerName field. Is my reading your answer correctly? Thank you. John *From:* Eric Covener [mailto:cove...@gmail.com ] *Sent:* Saturday, February 13, 2016 3:57 PM *To:* users@httpd.apache.org *Subject

Re: [users@httpd] Virtual Host Setup Help

2016-02-13 Thread Eric Covener
On Sat, Feb 13, 2016 at 6:43 AM, Meta Correio wrote: > So, the question is, why does Apache place both requests under the same > Virtual Host when, on a scenario using Virtual Hosts under the > NameVirtualHost paradigm it should look at the Host: to decide what Virtual > Host to use. > ​There is

[users@httpd] Virtual Host Setup Help

2016-02-13 Thread Meta Correio
Hi, I am conducting some setup tests and have come to a point where I could use some help. Tests are using Apache version 2.2.31 for Windows. OS is Windows 7 Ultimate but I have seen the same exact behavior on Windows Server 2008 R2. I have setup some virtual hosts and they don't seem to work as

Re: [users@httpd] virtual host configuration

2015-07-23 Thread ken
On 07/23/2015 03:48 PM, Mathijs Schmittmann wrote: K R schreef op 7/23/2015 om 9:44 PM: Hi, my customer want to configure virtual host for 5 website in one apache environment . do i have to get 5 ip addresses from network team. Can someone please point me on how can i achieve the same No, yo

Re: [users@httpd] virtual host configuration

2015-07-23 Thread Mathijs Schmittmann
K R schreef op 7/23/2015 om 9:44 PM: > Hi, > my customer want to configure virtual host for 5 website in one apache > environment . do i have to get 5 ip addresses from network team. > > Can someone please point me on how can i achieve the same No, you should create 5 virtualhosts in your confi

[users@httpd] virtual host configuration

2015-07-23 Thread K R
Hi, my customer want to configure virtual host for 5 website in one apache environment . do i have to get 5 ip addresses from network team. Can someone please point me on how can i achieve the same Thanks in advance

Re: [users@httpd] Virtual Host Not Working

2014-02-12 Thread Jim Borland
My goodness, that worked! I am blown away! Thank you very much for your help with this. Jim On 2/12/2014 2:58 AM, Tom Evans wrote: On Mon, Feb 10, 2014 at 10:24 PM, Jim Borland wrote: My server, which is located in the Amazon cloud, was just moved to a new location with a new IP address.

Re: [users@httpd] Virtual Host Not Working

2014-02-12 Thread Tom Evans
On Mon, Feb 10, 2014 at 10:24 PM, Jim Borland wrote: > My server, which is located in the Amazon cloud, was just moved to a new > location with a new IP address. Nothing else was changed. However, the > Apache Virtual Host, which has worked flawlessly for several years, is > broken. Apache serve

[users@httpd] Virtual Host Not Working

2014-02-10 Thread Jim Borland
My server, which is located in the Amazon cloud, was just moved to a new location with a new IP address. Nothing else was changed. However, the Apache Virtual Host, which has worked flawlessly for several years, is broken. Apache server version is: Apache/2.2.16 (Ubuntu). I went to my DNS ho

Re: [users@httpd] Virtual host Alias

2014-01-23 Thread Chris Arnold
> On Jan 23, 2014, at 4:44 AM, "Ole Kürstein" wrote: > > I have a problem. Dont know if it can be done. > > It is this i can't get working: www.example.com/test > > can't get the /test working > > example--- > > > ServerName www.example.com > ServerAlias example.com > Doc

[users@httpd] Virtual host Alias

2014-01-23 Thread Ole Kürstein
I have a problem. Dont know if it can be done. It is this i can't get working: www.example.com/test can't get the /test working example--- ServerName www.example.com ServerAlias example.com DocumentRoot /www/htdocs ServerName www.test.example.com ServerAlias test.e

Re: [users@httpd] virtual host precedence ?

2012-07-10 Thread Igor Cicimov
On Wed, Jul 11, 2012 at 12:20 AM, Roland Roland wrote: > Can anyone help me out in understand how/why virtual host take precedence > on the same ip ? > like i always face an issue where two distinct virtual hosts are set. > the first works, the second doesn't unless i bump it up so it becomes the

Re: [users@httpd] virtual host precedence ?

2012-07-10 Thread Norman Peelman
On 07/10/2012 10:20 AM, Roland Roland wrote: Can anyone help me out in understand how/why virtual host take precedence on the same ip ? like i always face an issue where two distinct virtual hosts are set. the first works, the second doesn't unless i bump it up so it becomes the first listed in

[users@httpd] virtual host precedence ?

2012-07-10 Thread Roland Roland
Can anyone help me out in understand how/why virtual host take precedence on the same ip ? like i always face an issue where two distinct virtual hosts are set. the first works, the second doesn't unless i bump it up so it becomes the first listed in the conf file. --

[users@httpd] virtual host configuration for client certificate

2011-10-16 Thread prabhu kalyan rout
Hi, I am trying to configure apache with openssl so that it will ask client certificate to authenticate. The result i am getting is, without client certificate the browser is able to access the page. here is my httpd.conf, Virtual_host configuration DocumentRoot /var/www/html ServerName 10.10.20

Re: [users@httpd] Virtual Host Directory Permissions Problem

2011-03-14 Thread Dennis Putnam
:443" from your primary ServerName entry. I believe >> the port is defined inside the tag. >> >> -Original Message- >> From: Dennis Putnam [mailto:d...@bellsouth.net] >> Sent: Sunday, March 13, 2011 1:27 PM >> To: users@httpd.apache.org >> Su

Re: [users@httpd] Virtual Host Directory Permissions Problem

2011-03-13 Thread Francois Gingras
ellsouth.net] > Sent: Sunday, March 13, 2011 1:27 PM > To: users@httpd.apache.org > Subject: [users@httpd] Virtual Host Directory Permissions Problem > > I am setting up a new virtual host and am having trouble with the root > directory. My new virtual host document root (/var

RE: [users@httpd] Virtual Host Directory Permissions Problem

2011-03-13 Thread Hossy
rg Subject: [users@httpd] Virtual Host Directory Permissions Problem I am setting up a new virtual host and am having trouble with the root directory. My new virtual host document root (/var/www/html/vhroot) is a child directory of my primary host root (/var/www/html). Is it legal to do that? Whe

[users@httpd] Virtual Host Directory Permissions Problem

2011-03-13 Thread Dennis Putnam
I am setting up a new virtual host and am having trouble with the root directory. My new virtual host document root (/var/www/html/vhroot) is a child directory of my primary host root (/var/www/html). Is it legal to do that? When I try to access my new virtual host, I get the index from the primary

Re: [users@httpd] Virtual host question- Webserver

2005-07-08 Thread Davide Bianchi
Loganathan Ramasamy wrote: > Let us assume my hostnames 2287 and 2288 . How should I go about > creating a > > I tried the following is it correct ? Nope. You should have something like: NameVirtualHost *:80 ServerName BLRD2287 DocumentRoot /www/docs/dummy-host.example.com Server

RE: [users@httpd] Virtual host question- Webserver

2005-07-08 Thread Loganathan Ramasamy
Davide, Let us assume my hostnames 2287 and 2288 . How should I go about creating a I tried the following is it correct ? NameVirtualHost *:80 ServerName BLRD2287 DocumentRoot /www/docs/dummy-host.example.com ServerName BLRD2288 DocumentRoot /www/docs/dummy-host.example.com

Re: [users@httpd] Virtual host question- Webserver

2005-07-08 Thread Davide Bianchi
Loganathan Ramasamy wrote: > version of my application and I can access my application using the > following two URLs > > http://blrd2287:9080/RPM > http://blrd2287:9081/RPM > > As you might have noticed the domain name “blrd2287” is same for both > the URLs, So I am really confused about creatin

[users@httpd] Virtual host question- Webserver

2005-07-08 Thread Loganathan Ramasamy
  I have two instances of Websphere application server running in my box having single web server [ I-H-S] , both instances are having different version of my application and I can access my application using the following two URLs   http://blrd2287:9080/RPM http://blrd2287:9081/RPM