logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Help with Vhosts / ssl
Author
lammy123



Joined: 14 Aug 2013
Posts: 2

PostPosted: Wed 14 Aug '13 12:27    Post subject: Help with Vhosts / ssl Reply with quote

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: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 16 Aug '13 11:30    Post subject: Reply with quote

You did not post anything from the SSL configuration of you server Wink
Back to top
lammy123



Joined: 14 Aug 2013
Posts: 2

PostPosted: Fri 16 Aug '13 14:18    Post subject: Reply with quote

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: 7294
Location: Germany, Next to Hamburg

PostPosted: Sat 17 Aug '13 10:50    Post subject: Reply with quote

Yes the SSL part and the 443 vhost is important Smile
Back to top


Reply to topic   Topic: Help with Vhosts / ssl View previous topic :: View next topic
Post new topic   Forum Index -> Apache