(Category) (Category) PRW.NET FAQ's :
Web Hosting
These are answers to common questions on web hosting.
Answers in this category:
(Answer) How can I use my assigned web space ?
(Answer) How can I add a counter to my pages ?
(Answer) Can I display a message to my visitors when a page is not found ?
(Answer) Can I use a database on my site ?
2002-Sep-16 2:49pm
(Answer) (Category) PRW.NET FAQ's : (Category) Web Hosting :
How can I use my assigned web space ?
First, you need to create your web pages with the content desired. For this you need an HTML editor. Two popular ones are FrontPage Express and Nestscape Messenger which are included at no charge with Internet Explorer and Nestcape respectively.

Second, you need to copy the pages to your directory on our server. The URL for your directory is:

ftp://username@home.prw.net/html

where "username" is substituted for the username you use to login. If you are using Internet Explorer 5 you can upload and download the files directly from the browser. Otherwise you can use an FTP program specifying home.prw.net as the hostname with you username/password. Files should be copied to the "html" subdirectory. The main file should be called "index.html", "index.shtml", "index.cgi", "index.htm", "home.html", "home.htm" or "default.htm" (the server checks in that order, in lowercase).

If you do not have an FTP program, WS_FTP LE is available at no cost for personal use at:

www.prw.net/software/ipswitch/

With an FTP program you have full control of the location and permissions of all files, something important if you are implementing CGI scripts

Once you have uploaded your pages they will be acecssible from the Internet at the following URL:

http://home.prw.net/~username
or
http://username.web.prw.net

(this last one requires Explorer 3 or Netscape 3 or greater).

Remember that you the content of your pages should be of public nature and that they should not contain materia of an offensive or discriminatory nature. Violations to copyrights or pornographic content are not allowed on sites hosted at PRW and could lead to immediate account deactivation.

If you plan to do extensive editing, we suggest that you consider a professional HTML editor such as FrontPage 2000. Support for FrontPage 2000 is included on business accounts with no additional charges and on personal accounts with a $ 2 monthly charge(including a subdomain).

1999-Oct-09 8:38pm
(Answer) (Category) PRW.NET FAQ's : (Category) Web Hosting :
How can I add a counter to my pages ?
All PRW.NET web servers have access to a simple CGI program to create page counters. This counter is implemented as a SSI (Server Side Include). To add it to a page you need to add the following HTML tag at the location where you desire to display the digits:

<!--#exec cmd="./cgi-bin/count.cgi ./logs/index.cnt ./images/digits/"-->

Business accounts should use:

<!--#exec cmd="../cgi-bin/count.cgi ../logs/index.cnt ./images/digits/"-->

The arguments are:


/cgi-bin/count.cgiCounter program
/logs/index.cntData file for the counter (you can have a different one for each page; this should be initialized via FTP)
/images/digitsImages for digits (you can use different ones on each page; see www.digitmania.com for options)

You can also install your own counter based on CGI. If FrontPage extensions are enabled on your account (e.g. business accounts) and you design your pages using FrontPage we suggest using the FrontPage Counter Element since that is implemented on the FrontPage extensions at the server.

1999-Oct-09 8:49pm
(Answer) (Category) PRW.NET FAQ's : (Category) Web Hosting :
Can I display a message to my visitors when a page is not found ?
Yes. You can redirect your visitors to a certain page when an error occurs, including page not found (error 404) and internal server error (error 500, generally caused by a problem on a cgi script). On sites hosted with Linux/Apache just add two lines to the ".htaccess" file on your "html" directory similar to these examples:

  ErrorDocument 404  http://www.mydomain.com/not_found.htm
  ErrorDocument 500  http://www.mydomain.com/cgi_error.htm
This can be useful to handle broken links, scripts that are being tested, etc. Instead of getting a generic error message, the visitor will get the page you specified.

NOTE: Be careful not to change existing lines on the ".htacess" file since that may affect other functions such as the Frontpage extensions.
2002-Sep-16 6:34pm
(Answer) (Category) PRW.NET FAQ's : (Category) Web Hosting :
Can I use a database on my site ?
Database support is included with business and enterprise accounts. Sites hosted under Linux can use MySQL and sites hosted under Windows 2000 can use MS Access with no additional charges. You just need to request it to our support staff. The disk space used by the database will be part of your webhosting disk space.

Note that MS Access is not appropiate for sites with medium to high activity due to performance and other concerns. For sites expecting high activity levels and requiring high performance and reliability should consider our MS SQL option.
2002-Sep-16 2:56pm
Previous: (Category) Content and Time Controls
Next: (Category) ISDN
This document is: http://www.prw.net/cgi-bin/fom?file=24
[Search] [Appearance] [Show Top Category Only]
This is a Faq-O-Matic 2.721.

Please send any suggestions, comments or problem reports to our webmaster
(C) 1999-2007 PR WebMasters