Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to config apache for ~user

Status
Not open for further replies.

msgsbox

Programmer
Aug 15, 2006
3
US
I wanted to setup a web access for a user in red hat. But I don't know how to set up.

Also, can anyone tell me?
1. Do I have to use ~ (ex: or I can set it as ( and How?

2. How can I create cgi-bin for someuser?

I did the search form google, and could not find the answer. You help (even a link to the answer) will be highly appreciated.
 
Thanks. That is exactly what I want. But after I modify the httpd.conf file as below

UserDir public_html

<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI
SetHandler cgi-script
</Directory>

I still could not open the web "404 not found"

BTW, I have made public_html where I created index.html
 
I got it work by restart the Appache. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top