Re: DocumentRoot - Apache2 - Ubuntu

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

 



> Line 5 of /etc/apache2/sites-enabled/000-default.
> looks like this:
> DocumentRoot /var/www/
>
> Is that what you are referring to?

Ubuntu stores website config ins /etc/apache2/sites-available. To
change the default host edit /etc/apache2/sites-available/000-default.
In /etc/apache2/sites-enabled you will find only links to
sites-available.

What I've done on my personal server (which also runs Ubuntu Linux) is
to have a seperate config file for each virtual server in
sites-available. In sites-enabled I've then made links to "activate"
those virtual hosts that I want to be active.

Krist

--
krist.vanbesien@xxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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