Welcome to Notnet

Friday, 25 July 2008


General Questions

Where should I upload my pages to?
You should FTP (File Transfer Protocol) to ftp.notnet.co.uk which will ask you for your username and password, this will put you in the correct directory.
NOTE: all filenames are case sensitive (if the html file you are linking to is index.html, you must link to index.html. Index.html, or INDEX.HTML will not work)

Where do I put my index.html and other documents?
Any files you wish to make publically available, need to be placed into the web directory within your space, or within the directory for any related domain.

What are the host addresses of the POP3 and SMTP mail services?
You can send and retrieve mail from mail.notnet.co.uk

Do notnet support SSL?
We do, but it only comes as part of the premium service. Also, to use SSL (Secure Socket Layer) you will have to purchase a secure certificate from a 3rd party such as Thawte or Verisign. We can arrange this.


CGI Questions

Do Notnet support Perl?
Yes, we currently support Perl version 5.6.1, but we cannot offer any technical support on your own Perl scripts or debugging them.

In what format do I need to upload my scripts in?
You need to upload your scripts in ASCII format. All FTP clients allow you to upload in ASCII format or you can you a text editor which can save in Unix text format such as UltraEdit or Textpad.

You will need to chmod your scripts to be executable, to do this you can use a ftp client such as SmartFTP or Cute FTP. You will need to chmod the executable files as 705.

What is the location of the Perl interpreter?
The Perl interpreter is located at /usr/bin/perl, so you need to add the following line to the first line of your script: #!/usr/bin/perl

What is the path for my CGI scripts?
The path you should specify is
/home/sites/<your user name>/web/cgi-bin/ and then your script filename.

Where do I put my CGI scripts?
You put your scripts in /web/cgi-bin

I would like to send mail from my script. Where is sendmail located?
You need to reference /usr/lib/sendmail.

Do notnet support ASP?
Currently we do not.

Do notnet support SSI?
Yes, we support SSI.
Any SSI enabled pages you create will have to have the extension '.shtml' rather than the normal '.html'


.htaccess Questions

What is .htaccess?
This is a means of restricting access to a directory on your site by giving viewers a username and password to log on with.

How do I enable it?
This can be done by uploading two files into the directory you wish to protect.
The first file .htaccess specifies where the password file is located and the type of security to be used on the site.
The second file .htpasswd contains one line per user in the format of username:encrypted password. Here is the contents of the .htaccess file:

        order allow,deny
        allow from all
        require valid-user
        Authname "<description>"
        Authtype Basic
        AuthUserFile /home/sites/<first letter of username>/<username>/web/<dir>/.htpasswd

An example of this, if the username was 'joebloggs', and the directory to protect was 'private' then the .htaccess file would look like this.

        order allow,deny
        allow from all
        require valid-user
        Authname "Private Stuff. Go Away."
        Authtype Basic
        AuthUserFile /home/sites/j/joebloggs/web/private/.htpasswd

Here is the contents of an example .htpasswd file:

	test:kIKpWwiC/Q1TQ

(username of "test" and encrypted password of "test")
To create your own click here