Hi, setting up a server for the first time from scratch. Stand alone web server to be added to an outside center later.
Trying to make it work has been a chore..and when I move to the new center I will be gettng ip addresses and not using my home dsl thing..which makes testing tougher.
I am trying to set up the nameserver on my box to send to sites on my box. I think I got that working.
setting up apache is no joke though...wow. Hard as heck.
First I want to change the doc root to the /home/ folder and that was easy.
Then I added users. Each user then had an 'html foilder underneath their folder and that is where the directive in the apache conf file sent them.
so user bob would have /home/bob/html/<websitename.com>/ as their directive root.
I also played iwth permissions on these folders to get to them with a browser but that did not work either.
I know some use symn links to send to the home directory, but I hear that can be a problem, so I just wanted to make it work as intended by changing docroot in the conf file (changed all instances of it)
centos 5.1
Quite frankly I have issues with the documentation, isn't that a shock.
What I am trying to do is this.....
put users in the /home/ directory. Put users websites in there too. Nameserver to direct to those sites as per the apache.conf.
I just cannot get it to work....I mostly get 'forbidden' which means apache is not getting permission to the files I guess. (I have disabled selinux by the way).
Does the files have to be under apache user or group?
any guru wanna give me that hint to help me figure this out will be thanked profusely.
I hear symlinks have many issues and figure regualr old change doc root would not be soo bad..the permission thing is killing me.