Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Help with Vhosts / ssl |
|
Author |
|
lammy123
Joined: 14 Aug 2013 Posts: 2
|
Posted: Wed 14 Aug '13 12:27 Post subject: Help with Vhosts / ssl |
|
|
Hi all,
Ive got virtual no background knowledge of apache but am having to support a problem.
Its probably a very simple answer (I just cant work it out) this is all on the local network.
Apache/2.2.21
Server 2008
php 5.3.8
The server with apache on is called Server1 but the customer that has this, wants to access it as name.xxx.co.uk (as this is their internal standard) it shouldn't be a problem but they also required SSL so we have just applied their wildcard ssl cert to it *.xxx.co.uk but (this is the problem) when it is accessed by name.xxx.co.uk we always get the "There is a problem with this website's security certificate ..... click to continue..." error. I know its something to do with changing the httpd.conf and httpd-vhosts.conf but need some advice as everything ive tried just results in apache not starting.
ive now got back the default/blank httpd-vhosts.conf and the http conf file looks like this:
Code: |
ServerName Server1
DocumentRoot "C:/dir1/dir2/UI"
TraceEnable OFF
ServerTokens Prod
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "C:/dir1/dir2/UI">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
...etc... |
any help would be greatly appreciated. Many thans in advance. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 16 Aug '13 11:30 Post subject: |
|
|
You did not post anything from the SSL configuration of you server |
|
Back to top |
|
lammy123
Joined: 14 Aug 2013 Posts: 2
|
Posted: Fri 16 Aug '13 14:18 Post subject: |
|
|
Hi,
I'm pretty sure its just an issue with me understanding how the httpd.conf file and the httpd-vhosts.conf file. Do I remove the bit of code I posted and put it in the <VirtualHost *:443> tag in the httpd-vhosts.conf?
thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 17 Aug '13 10:50 Post subject: |
|
|
Yes the SSL part and the 443 vhost is important |
|
Back to top |
|
|
|
|
|
|