
Virtualhosts - Starting from afresh
Hoping somebody can help me here.
I have an old Linux box running apache that's at least 7 years old. It has
several virtualhosts setup on it that are working seamlessly.
I have built a new Linux box and I have the latest version of Apache up and
running with its main server configuration setup as I want it and everything
is working a treat. The old box is still in service.
I'm now ready to setup virtual hosts on this new box in preparation for
service. This box will when ready replace my old box shortly.
Now I'm hoping to setup virtualhosting differently, in a more efficient,
less time consuming way...... I hope.
On my old box I have virtualhosts setup separately for example:
www.example.co.uk
example.co.uk
www.example.com
example.com
A virtual host for each example above separate.
My question is: Is it possible to create one virtualhost directive for all
four examples above rather than having to do each one separately and if so
how is this achieved.
Mark
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Virtualhosts - Starting from afresh
If you are using all zones to serve the same content, enter 3 of them in the =
configuration under the 'ServerAlias' directive.
Use the 'ServerName' directive for the your main identity zone.
-p
----- Original Message -----
From: "Mark Feather" [mark [at] akwe-xavante.demon.co.uk]
Sent: 01/15/2010 12:20 PM GMT
To: <users [at] httpd.apache.org>
Subject: [users [at] httpd] Virtualhosts - Starting from afresh
Hoping somebody can help me here.
I have an old Linux box running apache that's at least 7 years old. It has
several virtualhosts setup on it that are working seamlessly.
I have built a new Linux box and I have the latest version of Apache up and
running with its main server configuration setup as I want it and everything
is working a treat. The old box is still in service.
I'm now ready to setup virtual hosts on this new box in preparation for
service. This box will when ready replace my old box shortly.
Now I'm hoping to setup virtualhosting differently, in a more efficient,
less time consuming way...... I hope.
On my old box I have virtualhosts setup separately for example:
www.example.co.uk
example.co.uk
www.example.com
example.com
A virtual host for each example above separate.
My question is: Is it possible to create one virtualhost directive for all
four examples above rather than having to do each one separately and if so
how is this achieved.
Mark
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Virtualhosts - Starting from afresh
Thank you Peter,
Do you mean............
<Virtualhost *>
ServerName www.example.co.uk:80
ServerAlias example.co.uk
ServerAlias www.example.com
ServerAlias example.com
DocumentRoot /path/to/blah/blah
etc...
etc...
</Virtualhost>
Mark
----- Original Message -----
From: "Peter J Milanese" <PMilanese [at] nypl.org>
To: "users" <users [at] httpd.apache.org>
Sent: Friday, January 15, 2010 12:24 PM
Subject: Re: [users [at] httpd] Virtualhosts - Starting from afresh
If you are using all zones to serve the same content, enter 3 of them in the
configuration under the 'ServerAlias' directive.
Use the 'ServerName' directive for the your main identity zone.
-p
----- Original Message -----
From: "Mark Feather" [mark [at] akwe-xavante.demon.co.uk]
Sent: 01/15/2010 12:20 PM GMT
To: <users [at] httpd.apache.org>
Subject: [users [at] httpd] Virtualhosts - Starting from afresh
Hoping somebody can help me here.
I have an old Linux box running apache that's at least 7 years old. It has
several virtualhosts setup on it that are working seamlessly.
I have built a new Linux box and I have the latest version of Apache up and
running with its main server configuration setup as I want it and everything
is working a treat. The old box is still in service.
I'm now ready to setup virtual hosts on this new box in preparation for
service. This box will when ready replace my old box shortly.
Now I'm hoping to setup virtualhosting differently, in a more efficient,
less time consuming way...... I hope.
On my old box I have virtualhosts setup separately for example:
www.example.co.uk
example.co.uk
www.example.com
example.com
A virtual host for each example above separate.
My question is: Is it possible to create one virtualhost directive for all
four examples above rather than having to do each one separately and if so
how is this achieved.
Mark
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Virtualhosts - Starting from afresh
Yes, something of that sort.
----- Original Message -----
From: "Mark Feather" [mark [at] akwe-xavante.demon.co.uk]
Sent: 01/15/2010 01:22 PM GMT
To: <users [at] httpd.apache.org>
Subject: Re: [users [at] httpd] Virtualhosts - Starting from afresh
Thank you Peter,
Do you mean............
<Virtualhost *>
ServerName www.example.co.uk:80
ServerAlias example.co.uk
ServerAlias www.example.com
ServerAlias example.com
DocumentRoot /path/to/blah/blah
etc...
etc...
</Virtualhost>
Mark
----- Original Message -----
From: "Peter J Milanese" <PMilanese [at] nypl.org>
To: "users" <users [at] httpd.apache.org>
Sent: Friday, January 15, 2010 12:24 PM
Subject: Re: [users [at] httpd] Virtualhosts - Starting from afresh
If you are using all zones to serve the same content, enter 3 of them in the
configuration under the 'ServerAlias' directive.
Use the 'ServerName' directive for the your main identity zone.
-p
----- Original Message -----
From: "Mark Feather" [mark [at] akwe-xavante.demon.co.uk]
Sent: 01/15/2010 12:20 PM GMT
To: <users [at] httpd.apache.org>
Subject: [users [at] httpd] Virtualhosts - Starting from afresh
Hoping somebody can help me here.
I have an old Linux box running apache that's at least 7 years old. It has
several virtualhosts setup on it that are working seamlessly.
I have built a new Linux box and I have the latest version of Apache up and
running with its main server configuration setup as I want it and everything
is working a treat. The old box is still in service.
I'm now ready to setup virtual hosts on this new box in preparation for
service. This box will when ready replace my old box shortly.
Now I'm hoping to setup virtualhosting differently, in a more efficient,
less time consuming way...... I hope.
On my old box I have virtualhosts setup separately for example:
www.example.co.uk
example.co.uk
www.example.com
example.com
A virtual host for each example above separate.
My question is: Is it possible to create one virtualhost directive for all
four examples above rather than having to do each one separately and if so
how is this achieved.
Mark
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Virtualhosts - Starting from afresh
Would:
<Virtualhost *:80>
ServerName www.example.co.uk:80
ServerAlias *.example.* example.*
DocumentRoot /path/to/blah/blah
etc...
etc...
</Virtualhost>
Work better?
----- Original Message -----
From: "Peter J Milanese" <PMilanese [at] nypl.org>
To: "users" <users [at] httpd.apache.org>
Sent: Friday, January 15, 2010 1:40 PM
Subject: Re: [users [at] httpd] Virtualhosts - Starting from afresh
Yes, something of that sort.
----- Original Message -----
From: "Mark Feather" [mark [at] akwe-xavante.demon.co.uk]
Sent: 01/15/2010 01:22 PM GMT
To: <users [at] httpd.apache.org>
Subject: Re: [users [at] httpd] Virtualhosts - Starting from afresh
Thank you Peter,
Do you mean............
<Virtualhost *>
ServerName www.example.co.uk:80
ServerAlias example.co.uk
ServerAlias www.example.com
ServerAlias example.com
DocumentRoot /path/to/blah/blah
etc...
etc...
</Virtualhost>
Mark
----- Original Message -----
From: "Peter J Milanese" <PMilanese [at] nypl.org>
To: "users" <users [at] httpd.apache.org>
Sent: Friday, January 15, 2010 12:24 PM
Subject: Re: [users [at] httpd] Virtualhosts - Starting from afresh
If you are using all zones to serve the same content, enter 3 of them in the
configuration under the 'ServerAlias' directive.
Use the 'ServerName' directive for the your main identity zone.
-p
----- Original Message -----
From: "Mark Feather" [mark [at] akwe-xavante.demon.co.uk]
Sent: 01/15/2010 12:20 PM GMT
To: <users [at] httpd.apache.org>
Subject: [users [at] httpd] Virtualhosts - Starting from afresh
Hoping somebody can help me here.
I have an old Linux box running apache that's at least 7 years old. It has
several virtualhosts setup on it that are working seamlessly.
I have built a new Linux box and I have the latest version of Apache up and
running with its main server configuration setup as I want it and everything
is working a treat. The old box is still in service.
I'm now ready to setup virtual hosts on this new box in preparation for
service. This box will when ready replace my old box shortly.
Now I'm hoping to setup virtualhosting differently, in a more efficient,
less time consuming way...... I hope.
On my old box I have virtualhosts setup separately for example:
www.example.co.uk
example.co.uk
www.example.com
example.com
A virtual host for each example above separate.
My question is: Is it possible to create one virtualhost directive for all
four examples above rather than having to do each one separately and if so
how is this achieved.
Mark
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Virtualhosts - Starting from afresh
On Fri, Jan 15, 2010 at 4:33 PM, Mark Feather
<mark [at] akwe-xavante.demon.co.uk> wrote:
> Would:
>
> <Virtualhost *:80>
>
> ServerName www.example.co.uk:80
> ServerAlias *.example.* example.*
> DocumentRoot /path/to/blah/blah
>
> etc...
> etc...
>
> </Virtualhost>
>
> Work better?
>
I believe that wildcards can only be used for matching subdomains of hosts.
Cheers
Tom
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
%2f to "/"
Our apache version is 2.2.3 and we are having a problem in getting a file open. We use <Location> directive to connect to the backend weblogic. Proxypass is not enabled.
When the user access a url they get 404 because %2f is not converting to "/"
I tried adding AllowEncodedSlashes On after spending hours on research but still no luck.
Not working
https://mydomain.com/DisplayPDF%2FP1I1D121009S1TYPESTP.do
but works real if I replace %2f with /
https://mydomain.com/DisplayPDF/P1I1D121009S1TYPESTP.do
Any suggestions would be really helpful.
Thanks!
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: %2f to "/"
On 15-Jan-2010, at 11:19, Kpadvel wrote:
> In-Reply-To: =
<2e027be01001150934m482eb453p1d6bee636977a5b3 [at] mail.gmail.com>
Please do not hijack someone else's thread to start your own thread. =
Changing the subject is not enough. Start a new message addressed to the =
list.
--
Vampires are [...] by nature as co-operative as sharks.
Vampyres are just the same, the only real difference being that they =
can't spell properly. --Carpe Jugulum
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org