Re: [users@httpd] ServerRoot/manual/

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

 



On 10/21/05, Oil Pine <oil.pine@xxxxxxxxx> wrote:
> Hello,
>
> I've just installed Fedora Core 3 and begun to configure Apache2. I am
> reading the config file that was installed by FC3. I have difficulty
> understanding the following instruction. I understand I can simply
> comment this out, but I want to know what it means before I dismiss it.
>
> The manual was installed in /var/www/manual/. Why should this be changed
> to ServerRoot/manual/?
>
> I do get a warning message that must be related to this directive.
>
> ------------------------------------------------------------------
> [root@host pine]# apachectl -t
> [Fri Oct 21 21:44:20 2005] [warn] The Alias directive
> in /etc/httpd/conf/httpd.conf at line 474 will probably never match
> because it overlaps an earlier AliasMatch.
> Syntax OK
> ---------------------------------------------------------------
> part of httpd.conf
> #
> # This should be changed to the ServerRoot/manual/.  The alias provides
> # the manual, even if you choose to move your DocumentRoot.  You may comment
> # this out if you do not care for the documentation.
> #
> Alias /manual/ "/var/www/manual/"

You don't need to change it.  If you look at your config, you'll
probably find that ServerRoot is set to /var/www.  So you aren't
supposed to litterally put "ServerRoot", but rather the value of the
ServerRoot directive.

The log message means you have another Alias in your config that
starts with /manual/ and it conflicts with this one.

Joshua.

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