httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Mearns <mearn...@gmail.com>
Subject Re: [users@httpd] Help configuring Apache2 + SSL + namebased vhosts
Date Wed, 04 Mar 2009 14:29:23 GMT
On Wed, Mar 4, 2009 at 8:37 AM, Steffen Tronstad <sttr@nextgentel.com> wrote:
> I've created the certificate and all this.
>
> I do not get any output from apache, other than failed!.
>
> /etc/init.d/apache2 start
> Starting web server (apache2)... failed!
>
>
> My error.log doesnt get updated with any errors.
>
>
>
> apache2ctl -S
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> *:443                  is a NameVirtualHost
>         default server mydomain.no (/etc/apache2/sites-enabled/mydomain.no:18)
>         port 443 namevhost mydomain.no (/etc/apache2/sites-enabled/mydomain.no:18)
> *:80                   is a NameVirtualHost
>         default server mysql.mydomain.no (/etc/apache2/sites-enabled/000-default:4)
>         port 80 namevhost mysql.mydomain.no (/etc/apache2/sites-enabled/000-default:4)
>         port 80 namevhost mydomain.com (/etc/apache2/sites-enabled/mydomain.com:1)
>         port 80 namevhost mydomain.no (/etc/apache2/sites-enabled/mydomain.no:1)
>         port 80 namevhost mydomain.ny (/etc/apache2/sites-enabled/mydomain.ny:1)
>         port 80 namevhost www.mydomain.ny (/etc/apache2/sites-enabled/mydomain.ny:17)
>         port 80 namevhost ingame.mydomain.no (/etc/apache2/sites-enabled/ingame.mydomain.no:1)
>         port 80 namevhost noje.mydomain.no (/etc/apache2/sites-enabled/noje.mydomain.no:1)
> Syntax OK

Oh, ok. That should just mean there's a problem in your config file.
It could be as simple as a typo.

Errors in the config file don't get reported to the error log (since
the error log is configured in the config file). To check for errors,
you want to run `apachectl -t`. The apachectl script should be in the
bin directory under where ever apache2 is installed.

-Brian

-- 
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://pgp.mit.edu/

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


Mime
View raw message