Linux-Noob Forums
apache and users - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html)
+--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html)
+--- Thread: apache and users (/thread-2665.html)



apache and users - leander - 2005-05-06


Hello, I have just started over with linux its about a year since last time and i am a bit rusty :/

 

I have instaled Fedora core 3 and its working fine.

 

Here is my problem (yeah i know its verry basic)

 

1) i add a user : account

2) i create the html folder: public_html in /home/account/

3) give it the right premisons acording to apace guidelines

4) i try to access http:/localhost/account/ with my browser

then i get good old 404 The requested URL /account/ was not found on this server.

 

i think my memory is playing with me.. should / must i enabel userdir to get this to work ?

 

yes i know i am a noob..hehe :)




apache and users - znx - 2005-05-06


the url is:

 

[/url][url=http://localhost/~account/]http://localhost/~account/




apache and users - P38 - 2005-05-06


also, check and make sure that your home directory's permissions are correct also.

 

The web directory should be set

 

drwxr-xr-x html_directory

 

and your home directory should be set

 

drwxr-xr-x /home/username

 

or at a minimum,

 

drwxr-x--x /home/username

 

The "x" or execute bit in a directory's permissions allows visibility into the directory. without it, you will not be able to enter the directory.