August 14th, 2000, 03:09 AM
Time spent in forums:
>>how should i mention the PATH to the Apache 'httpd' to locate under the '/duke' or say any '/<user>'??
Check your httpd.conf...
----------For normal users----------
Then let say ~duke (the home dir of duke) is /home/duke, you then need to create a directory called "public_html" under /home/duke, that is the web root for duke.
Also have the following <Directory> block somewhere in your httpd.conf. Alter it accordingly.
Options MultiViews Indexes SymLinksIfOwnerMatch ExecCGI Includes
<Limit GET POST OPTIONS PROPFIND>
Allow from all
<LimitExcept GET POST OPTIONS PROPFIND>
Deny from all
----------For your main web----------
DocumentRoot "/home/httpd/htdocs" or anywhere on your file system like so...
Keep in mind, you don't necessary need to have /myweb/anydir, but it's recommended.
There should be a default httpd.conf named "httpd.conf.default" you can begin with. Then rename it to httpd.conf and restart apache.
Also, the URL for your user's web would be -> http://localhost/~username/
[This message has been edited by freebsd (edited August 14, 2000).]