Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2760 - Serious boa bug?
Summary: Serious boa bug?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Jon Nelson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-15 14:25 UTC by Grant Goodyear (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2002-05-15 14:25:14 UTC
I did an "GENTOO_SRCDIR=/usr/gentoo-src emerge gentoo-web" to install a local
copy of the gentoo web site, then an "emerge boa" to install
boa-0.94.11-r2.  I edited /etc/boa/boa.conf to have Port 8080
and DocumentRoot /www/virtual/www.gentoo.org/htdocs.  Pointing 
galeon at http://localhost:8080 brings up my local gentoo page just fine.
Clicking on "About Gentoo Linux" works fine, as does clicking on any of the
"Recent Gentoo Linux news" items.  In fact, "http://localhost:8080/news/"
gives me a listing of the news entries.  Clicking on any of the "User Doc"
entries, though, gives a 404 Not Found.  Entering 
"http://localhost:8080/doc/" reveals the problem, as what's listed is the 
contents of /usr/share/doc, which isn't at all what I'd had in mind (and
also not at all below the DocumentRoot).  Huh?!
Comment 1 Jon Nelson (RETIRED) 2002-05-15 15:27:47 UTC
There is an alias for /doc which points to /usr/share/doc
Simply remove the alias.
Note that this behavior is consistent with Aliases being devirtualized before
consulting the file system, which is a design consideration, and the same
consideration made by all other httpds I have consulted.