Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Setting up individually accessible public_html for each user of a linux machine

I have a dedicated server on which I have a site accessible as

I need to create a user and allow him to access a page such as:

What do I need to do so that he can access public_html from the internet as I want him to be able to execute php scripts as well (which I dont think should be a problem as the website on this site can do it already).

I don't have cPanel. I am running RHEL5/CentOS.

This is a 'duplicate' of as I didn't get a response there.

share|improve this question

migrated from Jan 24 '11 at 18:49

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Dave Drager, Kara Marfia Jan 24 '11 at 19:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

The fact that you don't get an answer when you ask a question in the right place is not a good reason for asking the same question in the wrong place. This belongs on serverfault. – Don Roby Jan 24 '11 at 17:21
@Don - not disagreeing. Please kick it to SF / close this... but can you help with an answer? – siliconpi Jan 24 '11 at 17:29
@matt74tm - I can't, as I'm not a moderator. But if a moderator does, or enough people the right close vote, it'll happen. – Don Roby Jan 24 '11 at 17:31

1 Answer 1

up vote 0 down vote accepted

Besides it's wrong or not to publish this question, I'm not able to do anything more than answer. Just as a pointer, you must read Apache (or your http server) manual. In case of apache there you can define virtual hosts where each user can access, if they must share the public_html, then you can create symbolic links to the same dir.

Google it: "virtual hosts " and read about it.

Good luck!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.