I can't start Apache2, although i completed all steps in documentation given.

Asked by Darko Dilevski on 2010-09-10

This is the answer from the system when i tried to configure it "darko@darko-desktop:~$ /etc/apache2/apache2.conf
bash: /etc/apache2/apache2.conf: Permission denied" . I don't know why I can't configure any of the documents in this directory.
Also if I write "mkdir darko" or something else the system gives me the same answer all the time.

Question information

English Edit question
Ubuntu apache2 Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anmol Sarma (unmole) said :

First see if apache is up and running. Point your web browser to http://localhost/ You should have a page that says "It works!".

If you want to configure apache, type in "gksu gedit /etc/apache2/apache2.conf", wihtout the quotes. You will be prompted for your password and then you will be able to edit the configuration file. This is because Ubuntu makes use of "sudo" for administrative tasks. This will give you further information http://en.wikipedia.org/wiki/Sudo

Can you help with this problem?

Provide an answer of your own, or ask Darko Dilevski for more information if necessary.

To post a message you must log in.