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
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
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
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
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
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
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
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
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
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
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
>
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
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
>> >
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
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.
>
>
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
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
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
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
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
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
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
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-
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
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
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
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
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
-- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
> 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
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
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
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
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.
--
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
: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
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
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
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
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
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
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
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
61 matches
Mail list logo