I can't start apache and localhost to /var/www

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I can't purge my apache2 configuration. I tried at-get remove --purge apache2, but nothing change : the adress localhost links directly to /usr/local/koha/opac/htdocs/index.html
I would like localhost links to /var/www

I suppose apache use by default the /etc/koha-httpd.conf or /etc/apache2/sites-enabled/koha-httpd.conf
But how can I modify that ?

When I restart apache2, I get an error :
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

So, the /etc/apache2/httpd.conf is empty.When I replace it by /usr/share/doc/apache2.2-common/examples/apache2/original/httpd.conf
and restart apache2 I get :

apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Syntax error on line 29 of /etc/apache2/httpd.conf: ServerRoot takes one argument, Common directory of server-related files (logs, confs, etc.)


Thanks for help,
Thibaud.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux