Precedence Network Computer and NetManager
Internet

  1. I've got to use PAP to authenticate with my ISP (e.g. ISDN to Demon).

    Apply the latest hotfixes and set up your Internet connection again. PAP will be used automatically if necessary.

    Contents


  2. I want to block access to certain URLs.

    Apply the latest hotfixes. You can then use the web-based administration tools (log on as ncadmin and click on link for server administration pages), to block URLs where the host portion (i.e. the bit between http:// and the next /) contains certain strings. e.g. blocking the string hotmail would stop all access to www.hotmail.com.

    For instance, attempting to block yahoo and chat will block all the following URLs:

    http://www.chat.com/
    http://www.yahoo.com/
    http://chat.yahoo.com/
    
    It will not block:
    http://www.site.com/yahoo/
    http://www.site.com/chat/
    

    Contents


  3. I want to customize the error messages from the webserver/proxy (e.g. when URLs are blocked)

    N.B. This section only applies to those people using Apache as a proxy
    1. Edit the webpages on the server from a client computer (e.g. from an NC or a PC)
    2. Create a directory called errors
    3. Create an HTML file in the errors directory called errorXXX.html (where XXX is the HTTP error number - see below). Edit this file to have your customised error page.
    4. Type: joe /etc/httpd.conf
    5. Type Ctrl-K followed by V (to go to the bottom)
    6. For each error page you have created, put a line like the following:
      ErrorDocument XXX /errors/errorXXX.html
      
      Once again, XXX is the HTTP error number. For example, the following is for the Access Denied error:
      ErrorDocument 403 /errors/error403.html
      
    7. Type Ctrl-K followed by X to save the file
    8. Type apachectl restart to restart Apache
    9. Test it out

    Common error codes

    CodeMeaning
    400Bad request (faulty browser)
    401Unauthorized (username/password required)
    403Access Denied
    404File not found
    500Internal server error

    Contents


  4. I've got a Pace ISDN Professional Terminal Adaptor and it doesn't work with BTInternet

    The TA needs to be sent a suitable initialisation string to work with BT Internet. Alter your script to look like this:
    ABORT BUSY ABORT 'NO CARRIER'
    '' ATZ
    OK ATZ
    OK ATS124=0
    OK AT&O7
    OK 'AT E1 V1 Q0 W2 S95=34'
    OK ATS7=60S30=0\N3%C3&K3
    OK ATD08457640000
    CONNECT ''
    TIMEOUT 10
    

    Contents