Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've followed this tutorial to try and set an apache server:

At first I got a message that I could access the server but there was nothing. When I tried the Perl example, I got an error saying that the file didn't exist. I toyed with the conf files and now can't access the server at all. When I type the address of the server I get a forbidden message.

How can I step back my changes? How can I create the cgi server?

share|improve this question
Also, do any of you know about a tutorial for Arch Linux? – Yotam May 20 '12 at 11:48

You can uninstall apache and remove previous configuration files with the following command:

apt-get purge apache2 apache2.2-common apache2.2-bin

Please use the official and updated server guide from the Ubuntu documentation instead of a tutorial from 2008. The segment on web servers should get you started, but it is worth to read the whole documentation, because it covers all the things you need to know when running a server.

The ArchWiki also has an article about Apache/LAMP.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.