Actions
Bug #1471
closedmod_userdir refuses to serve home directory
ASK QUESTIONS IN Forums:
Description
GET /~user/ HTTP/1.1 User-Agent: Opera/9.23 (X11; Linux i686; U; en) Host: lab.multiverse.local Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Language: en Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1 Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0 Cache-Control: no-cache Connection: Keep-Alive, TE TE: deflate, gzip, chunked, identity, trailers HTTP/1.1 403 Forbidden Content-Type: text/html Content-Length: 345 Date: Thu, 29 Nov 2007 14:30:07 GMT Server: lighttpd
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>403 - Forbidden</title> </head> <body> <h1>403 - Forbidden</h1> </body> </html>
And yet..
# pw usermod www -s /bin/csh # su www %cd / %cd home %cd user %cd public_html %file index.php && head -n2 index.php index.php: PHP script text <?php /*
What am I missing ?
Updated by Anonymous almost 17 years ago
I found out the reason, /home is a symlink to /usr/home on this system. Setting userdir.basepath to /usr/home instead of not setting it or setting it to /home works.
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Actions
Also available in: Atom