Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Problem with permissions


ghost's Avatar
0 0

I've created Apache VirtualHost on my computer. My hosting sucks, so I've decide that I will use my computer as a server. DNS are configured for my IP address, and I've created a root for the main domain in /var/www/html (default for Fedora 8), here it's working OK. But then I've configured a VirtualHost for my subdomains, e.g. sub1.domain.tld, and these subdomains are in /home/www/<subname>/public_html. I have only one for now, I've loaded a content into it (it is a forum) but I'm still getting an error '403 Forbidden - You don't have permission to access / on this server.' and I've tryed everything including chmod 777, and still I'm getting this error. What I'm doing wrong?

Thanks in advance for any help.


richohealey's Avatar
Python Ninja
0 0

the www user shouldn't have a home, or a shell.

Anyway.

You should put all your htdocs in /var. once you've got that done, hit me up and i'll fix it.


ghost's Avatar
0 0

O.K. markupcp -rf * /var/www Done. What now?