Linux-Noob Forums

Full Version: apache and users
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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


the url is:

 

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


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.