Re: 404 when first visit if userdir is mounted using autofs

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

 



Tz-Huan Huang wrote:
2) If you request the http://hostname/~username from a browser, get a 404
error, then do an "ls /home", do you see the "username" directory mounted?

Yes. I find that this might be not related to autofs --
while I have connected to the server via ssh and pwd is $HOME
(so my $HOME is mounted), I might still get 404 when visit my homepage.

Check the Apache error log to be sure that the file it's actually trying to load is the exact path you are expecting. Obviously if the Apache error log indicates it's trying to load a different file than you expect, then the problem lies elsewhere. Try doing an "ls /full/path/in/error/log" to see if the system itself shows the file.

Since I personally have not experienced this problem with autofs, I can't think of much else to look at.


--
Justin Pasher

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