Syntax error in terminal. Help?

April 3, 2013 1.8k views
We've been trying to start Apache on our Ubuntu 12.10 X32 Server, but we keep running into an error. I installed Apache and decided to restart the server. Once I restarted the server, Apache needed to be started again. Every time I do the command "sudo service apache2 start" in the SSH terminal, we come up with an error. This error is "Syntax error on line 11 of /etc/apache2/sites-enabled/000default: Illegal override option Order Action 'start' failed. " If you could help me figure this out, I would appreciate it. Thanks!
1 Answer

ServerAdmin webmaster@localhost

DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All

Options Indexes FollowSymLinks MultiViews
AllowOverride All Order allow,deny
allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Have another answer? Share your knowledge.