Forum Moderators: phranque
Also, can anyone tell me?
1. Do I have to use ~ (ex: [localdomain...] or I can set it as (http://someuser.localdomain) 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.
[httpd.apache.org...]
and:
[httpd.apache.org...]
Check out the UserDir directive for information on how the configuration handles URLs. For a subdomain structure, you may have to use mod_rewrite, however.
UserDir public_html
<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI
SetHandler cgi-script
</Directory>
I still could not open the web [domainname...]
"404 not found"
BTW, I have made public_html where I created index.html
You'll need to create index,html under the username -- at local filepath /~user/public.html/index.html
You might want to re-read the mod_userdir documentation like I just did. :)
Jim