Re: Help configuring Apache2 + SSL + namebased vhosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 4, 2009 at 8:37 AM, Steffen Tronstad <sttr@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux