web hosting home home about us shared hosting dedicated hosting colocation hosting FAQ and Support contact us order webhosting

Technical Questions (UNIX)

UNIX Webhosting details


General Unix Questions
How do I write HTML/create a website?
What FTP  software do I need for uploading my files?
How do I use WS FTP?
Where do I put my files once I FTP in?
How do I get my page to load automatically?
How do I create sub-directories?
How do I update my web pages?
Why are my graphics not showing up?
The HTML page is garbled.  What's wrong?
What should I do if denied access via FTP or to "stats"?



More Technical Questions

 CGI Problems
 How can I work with PGP-encrypted messages from my perl scripts?
 How do I edit my .htaccess file?
 How do I password protect my directories and/or files?
 How do I untar files on my UNIX account?
 How to access the password protected directory using webshell.
 How to access UNIX Statistics?
 How to create and password protect a directory for additional ftp user using webshell?
 How to create custom error pages.
 How to install PHP3?
 Proper Permissions
 What are the paths to utilize the secure server (SSL)?
 What are the PERL/CGI paths?
 What is the date path?
 What is the path to my cgi scripts?
 What is the Sendmail path?
 What is the time path?
 What is Webshell?
 Why does accessing directories with my own secure certificate only work when a trailing slash is included?
 

 CGI Problems
All cgi scripts have to be located in the cgi-bin, which should be placed outside of the public_html and permissions for the cgi-bin and all cgi scripts have to be set to 755. If the problem still persists, usually it is with the script itself, so make sure you check everything. If you know the problem is on our side please use the timestamp to mark the exact time and date when the problem occurred.



 
 How can I work with PGP-encrypted messages from my perl scripts?
Here you can find documentation on PGP.pm - perl module to work with PGP messages

 


 How do I edit my .htaccess file?
You can password protect directories and files with the Webshell software. In the bottom right hand corner of Webshell, change the mode to "Protect" and then click on the directory or file you want to protect. A new screen will appear allowing you to edit you



 How do I password protect my directories and/or files?
You can password protect directories and files with the Webshell software. In the bottom right hand corner of Webshell, change the mode to "Protect" and then click on the directory or file you want to protect. A new screen will appear allowing you to edit your .htaccess file.



 
 How do I untar files on my UNIX account?
You can now untar files in your UNIX account through our Webshell program. You can upload the file to any location on your account. You then go to that file in the left hand side of the Webshell program (the side that is labeled as source). To determine where the file will uncompress to, on the right hand side of the screen (labeled as Destination), go to that specific directory. Now click on the compressed file in the source directory and Webshell will uncompress the file to the destination directory.
Allowable file extensions: .tgz .tar .gz Remove underscores from the filename


 

 How to access the password protected directory using webshell.
The directory can be accessed by going to the browser and inputting the following URL: http://yourdomain.com/directoryname/webshell. You will be prompted for the username and a password for the directory that you have created using the User Admin feature. After inputting the username and a password, you will be taken to the WebShell program inside of the directory that you created for the user.



 
 How to access UNIX Statistics?
http://www.your_domain_name.com/stats
or
Your IP Number /stats


 
 How to create and password protect a directory for additional ftp user using webshell?
After typing the URL webshell.yourdomain.com in the Netscape browser, click on the link for User Admin, which will take you to the screen where you will be prompted for the FTP username and a password. After clicking on login, you will be taken to the new screen where you have to input the username, the password (which you would like to use in order to log into the directory), the directory name that you already created for password protection (for ex. public_html/test), and the space limit that you would like to set for the upload. By clicking on submit, you will be taken to a new screen where you will complete the procedure by choosing Install Local Entry Pages For WebShell & htProtect. The prompt box will come up asking for the name of the directory where you want to upload pages (public_html/test). As soon as you click OK, the next screen will show you all users and procedures that you have created. By clicking OK, the procedure will be completed.



 
 How to create custom error pages.
Create a text file called .htaccess with content similar to the following (provide a valid URL for each ErrorDocument):
ErrorDocument 404 http://www.domain.com/404.html
ErrorDocument 500 http://www.domain.com/500.html
Put the .htaccess file in your public_html directory. If the URLS in the .htaccess are valid, you can test the 404 ErrorDoc by going to an invalid URL in your webspace (eg: http://www.domain.com/doesnotexist).
 


 How to install PHP3?
Here is a simple way to install PHP3 binary to your cgi-bin directory via FTP:
Hostname or IP   
 
FTP Login    
 
FTP Password    
 
   


 
 Proper Permissions
Unix file permissions : r w x r - x r - x



 
 What are the paths to utilize the secure server (SSL)?
Full list of SSL related questions available after filling out web application



 
 What are the PERL/CGI paths?
PERL executable path: /usr/bin/perl
cgi-bin path: /home/USERNAME/cgi-bin Or you can use Webshell to access your account with the same information as your FTP account. A couple of hints: -upload your cgi file in ascii format -change permissions on the cgi file either through Webshell or through your FTP software.

 

 What is the date path?
/bin/date



 
 What is the path to my cgi scripts?
If you are hosted on UNIX 21 or later webserver, you can use tree home directory structure for fast accessing your files. For utilizing this capability you need to use the following access way:


Translate your login name to the directory structure:
example login: ux210223
respective directory tree: /ux21/0/223/

   /uxNN/S/III/
      |  |  |
      |  |  +-last IP byte
      |  +-subnet number
      +-server

   usage examples:

   /ux21/0/223/cgi-bin/test_env.cgi
   /ux21/0/223/form.html

Important note:
You can use the traditional /home/ / as well. Using this link will work no matter what server you are on, but it will be slower, as the server has to sort through a large directory listing to find your directory.

 
 What is the Sendmail path?
Sendmail path: /usr/sbin/sendmail



 
 What is the time path?
/usr/bin/time




 What is Webshell?
WebShell 2.0 is a combination of CGI Script, HTML and JavaScripts that performs most of the file operations required for website account maintenance from your favorite web browser. Version 2.0 Features:
    Remote Account Administration
    Intuitive, easy to use interface

    Files/Directories copy, move, delete, rename, info

    Files upload & download

    Files preview (supports most of the formats understandable by web browser)

    Multiple files/directories selection and manipulations

    Files Editing & Source Viewing

    Superior two panels view for ease of file manipulations

    Based on Unix security mechanism for maximum security & flexibility

    Easily configurable interface

    Set access permissions on files and directories

    Full Unix type accounts support

    File Filtering

    Online user help

    Select multiple files using mask or by mouse click

    Simple 2-step installation

    Supports Netscape 3.x, 4.x and Explorer 4.x (any platform)

    Written in C++ for optimum performance
 
 Why does accessing directories with my own secure certificate only work when a trailing slash is included?

Problem Solution: The solution to this problem is to specify a direct path to the file. For instance, a request for image.gif that is located in /ux111111/images/ would have to be specified as /ux111111/images/image.gif.

Problem Description:
Usually, the external redirect gets sent to the client's browser and the trailing slash gets added automatically. Due to the internal configuration specifications, we cannot do so because your secure certificate is located on the SSL server, which is a server that is independent from the server where your website is located. Instead, we have to use an internal rewrite, which works for the directory page, but goes wrong when any images are included into this page with relative URLs, because the browser requests an in-lined object. Therefore, relative links will not work through the secure connection.


back to top




















































































































































 
   2002 Metanet - Legal Information
QUICK SUPPORT: info@metanethosting.com (24 hours a day)
 






billing account managementwebmailcontrol panel login site map trouble ticket