Internet Servers - iServer Virtual Servers for Reseller Hosting

iServer Virtual Servers

iServer Virtual Server Extensions
iServer Electronic Commerce ComponentsiServer Electronic Commerce Components
Remotely manage your web site with iManager & iRootRemotely manage your web site with iManager & iRoot
Partition your Virtual Server into multiple Virtual HostsPartition your Virtual Server into multiple Virtual Hosts
Generate statistical reports of your web site traffic using WebTrendsGenerate statistical reports of your web site traffic using WebTrends
Web Publishing using HTTP PUTWeb Publishing using HTTP PUT
Remotely author your web site content with Microsoft FrontPageRemotely author your web site content with Microsoft FrontPage
Map your Virtual Server to you Windows 95/NT DesktopMap your Virtual Server to you Windows 95/NT Desktop
Add security to your Virtual Server with Secure Socket Layer (SSL)Add security to your Virtual Server with Secure Socket Layer (SSL)
Create and manage databases with mSQLCreate and manage databases with mSQL
Create and manage databases with MySQLCreate and manage databases with MySQL
Create and manage databases with PostgreSQLCreate and manage databases with PostgreSQL
Add Real Audio/Video streaming capability to your Virtual ServerAdd Real Audio/Video streaming capability to your Virtual Server
Miva/Htmlscript: HTML based web development languageMiva/Htmlscript: HTML based web development language
PHP: HTML based web scripting languagePHP: HTML based web scripting language
Automate information dissemination using AutorespondersAutomate information dissemination using Autoresponders
Customize your Virtual Server to handle any MIME typeCustomize your Virtual Server to handle any MIME type
Build and compile Java Applets using the Java Virtual MachineBuild and compile Java Applets using the Java Virtual Machine
Change passwords remotely using the poppassd serviceChange passwords remotely using the poppassd service
Schedule events to run at periodic intervals with cronSchedule events to run at periodic intervals with cron
Use the virtual finger service to look up user informationUse the virtual finger service to look up user information
Automatically reload daemons at system startup (RealServer, Ewgie, etc)Automatically reload daemons at system startup (RealServer, Ewgie, etc)
Step by step installation instructions for popular third party programsStep by step installation instructions for popular third party programs
iServer Home PageiServer Virtual ServersOrder Your iServer Virtual ServeriServer Technical SupportiServer Reseller ProgramSearch iServer Web Pages
MIME Types Configuration File
The MIME Types configuration file determines how your Virtual Server's web server maps filename extensions to MIME types which are returned to the browser. Your browser then maps these MIME types to "helper" applications or in-line plug-ins. The "mime.types" configuration file is located in your "~/www/conf" directory and can be modified to support any additional MIME type that you desire. Information about your MIME types configuration file is discussed in the following sections:

Default MIME Types
The default MIME type configuration file includes a definition of the most common known MIME types. The default MIME types file is located in your "~/www/conf" directory which is the same location as your "httpd.conf", "srm.conf", and "access.conf" configuration files. If you need to add a MIME type that is not already listed in the default MIME types file, then you can easily add a new type by following the instructions provided below.

 
Adding a New MIME Type
There are two ways in which you can add a new MIME type to your default MIME types configuration file. You can either connect to your Virtual Server using Telnet or SSH and edit the file directly on your Virtual Server (using "pico", "vi", or you favorite UNIX text editor) or you can download the file to your local machine using an FTP client, edit the file, and then upload the modified MIME types file back to your Virtual Server. Either method is completely legitimate.

Your MIME types file is located in the same directory as your other web server configuration files, namely in your "~/www/conf" directory. Here you will find your "httpd.conf", "srm.conf", and "access.conf" files as well as the "mime.types" file. Before you edit your mime.types file (or upload a new copy), you may want to make a backup copy of the configuration file. You can do this easily by connecting to your Virtual Server using Telnet or SSH, making your "~/www/conf" directory the current working directory (i.e. type "cd ~/www/conf"), and run the following command:

    cp mime.types mime.types.bak

Making backups of files before you modify them is always a good idea.

The format of the MIME types configuration file is pretty simple. Lines beginning with a "#" are comment lines, i.e. they are ignored by the web server. Each MIME type line consists of:

    type/subtype       extension1 extension2 ... extensionN

where "type/subtype" is the MIME type of the document whose filename ends with one of the extensions listed. The extension list can include any number of space separated filename extensions. Examples of MIME type entries can be found in the default MIME types file included with your Virtual Server setup.

If you decide to download your MIME types file using an FTP client, you should note that your MIME types file is an ASCII file and as such should be transferred (both downloaded and uploaded) in ASCII format not BINARY. Uploading your MIME types file in BINARY format may cause your web server to not function normally and in some cases, cease to function. Therefore, care should be taken in this regard. Most popular FTP clients allow you to select the file transfer mode.




Return to the iServer Home Page Review copyright information Contact the iServer Staff Making Money as an iServer Reseller Order your iServer Virtual Server Hosting 12020 Virtual Servers and 60449 Domain Names, iServer is the world leader in Virtual Server Technology Perform a search on the iServer Web Site General information about iServer and iServer web site navigation help Lost? ...View our Web Site Map Rebuild this page (iServer Staff only) Gateway to iManager (iServer Staff only)      This web site is powered by iServer