Hosting Tutorials for Webmasters
There are many different avenues to the web, from hosting to art work. One
thing for sure you can't have enough information when it comes to the internet.
Find out what interests you then dive in, this page is designed to help you
with problem you might encounter along the way. Take some time and read it will
repay it's self ten fold in time saved. Visit the Webmaster
Forum for more information or follow the links below.
I found a perl script CGI on the internet, how do I make it work?
Open the file in a text editor - the first line of a perl script should read: #!/usr/bin/perl
Check if the script requires more files that need to be uploaded as well (e.g.
if you see a line 'require "cgi-lib.pl";' you need to upload the file
cgi-lib.pl as well). The file should have an extension .cgi - that's how the
server will know that it's executable. You don't need a cgi-bin directory. You
need to change the permissions on the script to make it executable for
"everyone". If the cgi script writes to a file, that file needs
to have "write" permissions for everyone. Make sure you upload the
file in ASCII mode.
How do I upload with ws_ftp?
Start ws_ftp and create a new profile. For "Profile Name" choose
something you will remember. For "Host Name" enter the name of your
web site, e.g. yoursite.com. For "User ID" enter your login name, and
for "Password" your password. Make sure "Anonymous" is NOT
checked.
Set your default remote directory to "/" (remote dir).
After the connection is established, on the left side you will see the files
and directories on your local computer, and on the right side the files
and directories on the web server.
If there is a directory called 'web' or "htdocs" change there. Select
the files on the left side and use the "->" button to
transfer them. Use ASCII mode for .html files and perl scripts (.pl) and BINARY
mode for the pictures (.gif, .jpg, etc.), movies and sounds.
How do I protect a directory with .htaccess/.htpassword?
In your control panel, click on FILES MANAGER then choose the directory to
protect.
The program will manage automatically your usernames and passwords. You don't
need to upload a .htaccess directly.
Is there an ftp program which comes with Windows 95?
Yes, there is a command-line ftp utility. Go to Start/Run and type: ftp
yoursite.com and then hit enter (you may also use yoursite.cqhost.net if
yourdomain is not yet transferred). Enter your username and passwordwhen
prompted. After you login you can type "dir" to list the
contents of the current directory, and "cd directory" to change to
another directory. If there is an "web" or "htdocs"
directory change there. (cd /web) You can use "ascii" and
"binary" to switch between text uploads (.html, .pl, etc. files) and
binaries (.gif, .jpg, etc). Here is a short example:
ftp> cd /web (or /htdocs for Enterprise accounts)
ftp> ascii
ftp> mput *.html
ftp> bin
ftp> mput *.gif *.jpg
How do I upload with FrontPage 98 or 2000?
FrontPage 98: Start FrontPage, and select "Open an Existing FrontPage
Web". Press the "More Webs" button. In the "Select a Web
server or disk location" enter the name of your web site:
www.yoursite.com,
and press the "List Webs" button. In the list box should appear
"<Root Web>", double-click on it.
FrontPage 2000: Start FrontPage, and select "Open file". Then enter
your web site name "http://www.yoursite.com". In the list box should
appear "<Web>", double-click on it.
Note: Replace "http://www.yoursite.com " by "http://www.yoursite.com/~username"
to access a "user specific" web site .
How do I upload my web page?
We recommend using an ftp program - ws_ftp or CuteFTP or Absolute FTP
(highly recommended). You can also use our simple FILES MANAGER
(control panel) to upload or edit a file or set execution permissions.
How do I change file permissions with ws_ftp or CuteFTP?
In ws_ftp click on the remote file to highlight it, and then right-click on it.
Choose "chmod (UNIX)" from the menu - CGI scripts (.pl, .sh, etc.)
need to have "Read" and "Execute" permissions for everyone.
In CuteFTP click on the remote file to highlight it, and then right-click on
it. Choose "Change file attributes" from the menu. For CGI scripts
(.pl, .sh, etc.) use "Read All" and "Execute All".
With Absolute FTP: Right Click on a .cgi file and set the proper
permissions: rwx rx rx (owner rwx, group rx, other rx)
How do I remove the temporary page?
Overwrite the default index.html in /web with your homepage (/web/index.html).
Note: Replace "web" with "htdocs" if you use an
Enterprise Account.
How do I setup a custom 404 error page?
Just upload a not found.html file in/web.
|