Follow us on Twitter!
The measure of a mans life is not how well he dies, but how well he lives.
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 20
Guests Online: 17
Members Online: 3

Registered Members: 82885
Newest Member: ConiBE
Latest Articles
View Thread

HellBound Hackers | Computer General | OS specific

Author

Problem with permissions


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 06-04-08 11:07
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.


Author

RE: Problem with permissions

richohealey
Member



Posts: 1022
Location: #!/usr/local/bin/python
Joined: 01.05.06
Rank:
Monster
Posted on 06-04-08 11:52
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.


bitchohealey at hotmail dot com skype:richohealey www.psych0tik.net
Author

RE: Problem with permissions


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 06-04-08 14:03
O.K.
Code
cp -rf * /var/www



Done. What now?