j**a 发帖数: 5 | 1 我记得要使别人通过http://www.XXX.edu/~user访问个人用户user的网页,只需在该
机器上user的家目录下建立一个名字类似html_index的目录,但我试了一下不行,我
试过html_index, htm_index, index_htm, index_html.
哪位大虾指点一下,这是否跟web server的类型有关,web server是不是要配置?
谢谢! | g*s 发帖数: 2277 | 2 different univ have different situation.Your univ should have online
help for step-by-step creating personal website.
make some directory,chmod...
【在 j**a 的大作中提到】 : 我记得要使别人通过http://www.XXX.edu/~user访问个人用户user的网页,只需在该 : 机器上user的家目录下建立一个名字类似html_index的目录,但我试了一下不行,我 : 试过html_index, htm_index, index_htm, index_html. : 哪位大虾指点一下,这是否跟web server的类型有关,web server是不是要配置? : 谢谢!
| l******n 发帖数: 17 | 3 See the file "httpd.conf" of your system (if running apache)
check the directive named "UserDir"
if it's set to "abcd" then you just need to
create subdir "abcd" in your home dir...
【在 j**a 的大作中提到】 : 我记得要使别人通过http://www.XXX.edu/~user访问个人用户user的网页,只需在该 : 机器上user的家目录下建立一个名字类似html_index的目录,但我试了一下不行,我 : 试过html_index, htm_index, index_htm, index_html. : 哪位大虾指点一下,这是否跟web server的类型有关,web server是不是要配置? : 谢谢!
| y***y 发帖数: 56 | 4 it is called public_html
【在 j**a 的大作中提到】 : 我记得要使别人通过http://www.XXX.edu/~user访问个人用户user的网页,只需在该 : 机器上user的家目录下建立一个名字类似html_index的目录,但我试了一下不行,我 : 试过html_index, htm_index, index_htm, index_html. : 哪位大虾指点一下,这是否跟web server的类型有关,web server是不是要配置? : 谢谢!
| y***y 发帖数: 56 | 5 mkdir ~/public_html
!edit a file index.html in ~/public_html
chmod -R 755 ~/public_html
【在 y***y 的大作中提到】 : it is called public_html
| t****r 发帖数: 106 | 6 First, the web server should be set to enable User
directory.
ask administrator, normally, httpd.conf enable user dir as
default.
then create a dir with the same name as indicated in
httpd.conf, e.g public_html
ask your administrator or problem manager for detail.
Good luck
【在 j**a 的大作中提到】 : 我记得要使别人通过http://www.XXX.edu/~user访问个人用户user的网页,只需在该 : 机器上user的家目录下建立一个名字类似html_index的目录,但我试了一下不行,我 : 试过html_index, htm_index, index_htm, index_html. : 哪位大虾指点一下,这是否跟web server的类型有关,web server是不是要配置? : 谢谢!
|
|