Project

General

Profile

Actions

Bug #1471

closed

mod_userdir refuses to serve home directory

Added by Anonymous about 17 years ago. Updated about 16 years ago.

Status:
Invalid
Priority:
Low
Category:
mod_userdir
Target version:
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 ?

Actions #1

Updated by admin about 17 years ago

Config?
Operating System?
Strace?

Actions #2

Updated by Anonymous about 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.

Actions #3

Updated by stbuehler almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid
Actions #4

Updated by stbuehler about 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom