F
F
fedorenko_k2015-06-23 19:00:31
Apache HTTP Server
fedorenko_k, 2015-06-23 19:00:31

Setting up Apache ServerAlias?

Good afternoon. Adding aliases to VirtualHosts, I ran into a problem.
For starters, are all aliases added on the same line?
If yes, then adding about 100 domains per line, when restarting apache, an error takes off.

[email protected]:~# service apache2 restart
Syntax error on line 5 of /etc/apache2/sites-enabled/xd.xd:
Invalid command 'domain.org', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
 failed!

How to fix? They say the module is not connected. What needs to be done?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question