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, you should create 5 virtualhosts in your configuration and let the
Apache HTTPD listen on 1 IP. Based on which website is requested
(technically based on the 'Host' header in the HTTP request) the httpd
will select the right DocumentRoot for serving a response.

For more information about virtualhosts:
http://wiki.apache.org/httpd/ExampleVhosts
http://httpd.apache.org/docs/current/vhosts/examples.html



Thanks in advance


Best regards,
Mathijs Schmittmann


This is called name-based virtual hosting if you want to run a web 
search for it.  That may yield some help for you also.




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[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 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 configuration and let the
Apache HTTPD listen on 1 IP. Based on which website is requested
(technically based on the 'Host' header in the HTTP request) the httpd
will select the right DocumentRoot for serving a response.

For more information about virtualhosts:
http://wiki.apache.org/httpd/ExampleVhosts
http://httpd.apache.org/docs/current/vhosts/examples.html

 
 Thanks in advance

Best regards,
Mathijs Schmittmann

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[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

VirtualHost 10.10.20.120:8080
DocumentRoot /var/www/html
ServerName 10.10.20.120
SSLEngine on
SSLCertificateFile /opt/apache-1.3.26-ssl/certs/server/certificates/garexWEB.CRT
SSLCertificateKeyFile /opt/apache-1.3.26-ssl/certs/server/keys/garexWEB.KEY
SSLCertificateChainFile /opt/apache-1.3.26-ssl/certs/CA/garexCA.CRT
Location /cert
   SSLRequireSSL
   SSLVerifyClient require
   SSLVerifyDepth 10
/Location
/VirtualHost


Can you please tell me what location i have to give in the location
tab and what is more i need to add.

Thanks Prabhu

-
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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org