interesting Apache issues
for starters I am not brand new to Linux but still learning plenty.
to begin with why I am doing what I am doing I am taking several Unix classes at a local college, so I slapped Ubuntu 11.04 on my laptop to get some better practice in. seeing as the instructor is of no help in even the most basic situations to even write a basic script.
I am using Putty, and Filezilla
so I installed LAMP, and configured my files, made 3 users, lets call them user 1, user 2, and user 3. I made a public_html folder in each ones home directory. made a very basic index.html for each one. when I tried to access them by the ip/~username it wouldn't work, until I changed the permissions to 755. once that was done all worked well, or so I thought.
my problem right now is that for user 1, I can view the html through the ip/~user1 IF and only IF I am logged into the machine through putty, Filezilla, or directly on the desktop. however for users 2 and 3 no problems what so ever. I checked all file permissions, and made sure they did not need any elevated sudo permissions to access. nope they all check out. the account is an administrator account, so I tried to make a fourth account giving it desktop user only privileges, the html works just fine, so I made it admin, still works, next I made the original account desktop user only, still no dice. so the ip/~username only works on this account IF the account is logged in to the system, whether it is remote or local does not matter, just has to be logged in. all the other accounts can pull up their HTML pages with no problems, this tells me its a privileges, or security feature that is turned on, or maybe not turned on that needs to be fixed. which one I don't know.
my question is, what is going on, why, and how do I fix it. could it maybe be that on that account I have encrypt the Home directory on? it would make sense to me.
sorry for the long post, just trying to be detailed.
thanks in advance for any help
|