Question

Syntax error in terminal. Help?

  • Posted on April 3, 2013
  • JinkeezeAsked by Jinkeeze

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!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

<VirtualHost *:80> <br> ServerAdmin webmaster@localhost <br> <br> DocumentRoot /var/www <br> <Directory /> <br> Options FollowSymLinks <br> AllowOverride All <br> </Directory> <br> <Directory /var/www/> <br> Options Indexes FollowSymLinks MultiViews <br> AllowOverride All Order allow,deny <br> allow from all <br> </Directory> <br> <br> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <br> <Directory “/usr/lib/cgi-bin”> <br> AllowOverride None <br> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch <br> Order allow,deny <br> Allow from all <br> </Directory> <br> <br> ErrorLog ${APACHE_LOG_DIR}/error.log <br> <br> # Possible values include: debug, info, notice, warn, error, crit, <br> # alert, emerg. <br> LogLevel warn <br> <br> CustomLog ${APACHE_LOG_DIR}/access.log combined <br></VirtualHost> <br>