Basic questions about Apache web server and virtual hosts
I run a web server with Apache 2.2. Right now I have two virtual hosts- one for port 80 and the other for port 443. Both are using the same documentroot. First question: is this a problem that they have the same documentroot path?
I have a <Location> </Location> tags setup for the part of the URL that will require SSL and PKI login in the VH for the site on 443. I'm trying to setup PKI for login purposes to the admin side of our CMS, but am having conflicts. Second question, all the setting right now for SSL (SSLCertificateFile, SSLCertificateChainFile location files, etc) are in a file called vhosts.conf within the Virtual Hosts tags. Second question: should all of these settings be in the ssl.conf or does it not matter as long as the main httpd.conf includes the vhosts.conf file? Sorry if this is hard to make out. Bottom line, I need to setup PKI (CAC login) for the admin side of our web server's Content-Mangement system and I'm having trouble. I have the require cert and key file and all that. Thanks. |
Quote:
Quote:
What are your specific conflicts? Which CMS are you trying to deploy? |
Quote:
Quote:
Quote:
The CMS is eZ Publish. A company in Norway (www.ez.no). Here is what I need to setup: I want the normal site, which is accessible to the public without login or anything. That's the vhosts for port 80, obviously. So, let's say that the URL is "www.blah.com". Then I need the admin site to be CAC accessible only. The admin site's URL is "www.blah.com/admin". So whenever someone goes to www.blah.com/admin, it will ask for their CAC PIN and check their certs. I've got the <Location> </Location> tags in there for this. Right now we're using username and password log in for the admin side. This would be the vhost for port 443. I have the certificate I need and all that. Another thing is that the main httpd.conf file had documentroot set to a different location than the one setup in the vitual hosts. Is this a problem? Thanks for your help. |
Quote:
Quote:
|
All times are GMT -5. The time now is 05:16 PM. |