English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have to create a public_html file on my "onid" server. I have to have my program to start from the link http://www.onid.orst.edu/~username/html_file name. Now how do I create a public html file and how do I get my program on there. If you need more information from me to answer the question just IM me at michaelhmckenna@yahoo.com.

2007-03-15 09:33:24 · 1 answers · asked by Michael M 4 in Computers & Internet Programming & Design

1 answers

public_html is a *directory*, not a folder.

So if you want the URL:

SERVER/~username/myfirstfile.html

you would create a file called "myfirstfile.html" inside of the "public_html" directory that would be created in your home directory.

Short form, assuming a reasonably standard Unix-like shell, would be:

mkdir ~/public_html
cd ~/public_html
vi myfirstfile.html

(use another text-editor like pico, nano, emacs, or whatever if you don't want to handle vi).

2007-03-17 18:15:33 · answer #1 · answered by RGB_Mars 3 · 0 0

fedest.com, questions and answers