Files within your hosting account open programs based on the file extension. For example, a file called file.php5 would open in PHP5 and a file called file.rb would open in Ruby.
Using the File Extension Manager in the Hosting Control Center you can change these defaults, or add custom file extensionsWARNING: Changing the default behavior of [...]
A redirect automatically sends your website’s visitors to a chosen destination, either a different location within the same site or a new site entirely. For example, you can redirect visitors from your domain root to a content sub-directory, such as a blog.
Content (files and folders) under the redirect path can be redirected to the destination [...]
Reinstalling updates your hosting account’s scripts directory with the latest versions of default scripts, including gdform.cgi (Deluxe Linux hosting), gdform.php, and webformmailer.php.
To Reinstall the Default Directory to Your Hosting AccountLog in to your Account Manager.
In the My Products section, select Hosting.
Click Manage Account next to the hosting account you want to modify.
In the Content section [...]
Using .htaccess files lets you control the behavior of your site or a specific directory on your site. For example, if you place an .htaccess file in your root directory, it will affect your entire site (www.coolexample.com). If you place it in a /content directory, it will only affect that directory (www.coolexample.com/content).
.htaccess works on our [...]
Yes. However you will need to create an .htaccess file in the directory containing the file.cgi script with the contents “Options ExecCGI”.
NOTE: This will need to be done in any directory outside of /cgi in which you want to run .fcgi scripts.
To protect a directory in your hosting account with a password, in that directory, create an .htaccess file that contains the following:
AuthUserFile /home/content/l/o/g/login_name/html/.htpasswd
AuthGroupFile /dev/null
AuthName “EnterPassword”
AuthType Basic
require valid-user
Where “l,” “o,” and “g” are the first three letters of your hosting login and “login_name” is your full hosting login. For example, the hosting login [...]
If you are using JSP and a custom web.xml file, you need to configure a JSP handler in the web.xml file. You can configure it using the following information:
<web-app>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
</web-app>NOTE: Grid-based Web Hosting does not support Java. To see if you’re affected, click here.
By default, you can publish your PERL files using one of the following file paths:/yourabsolutepath/file.pl where /yourabsolutepath/ is your absolute hosting path. For more information, see How do I find my absolute hosting path?.
FTP to /file.plHosting accounts using Hosting Config 2.0 can use any directory.NOTE: The file’s permissions must be set to execute to work.
If [...]
Our form mailer sends mail at the following rates:ASP – every 10 minutes
CGI – every 15 minutes
PHP gdform.php – 15 minutes
PHP webformmailer.php – every 15 minutes (default) or as specified
We are currently unable to add additional Perl Modules to the server. However, many of the most common Perl modules are installed and available to use. For a complete list:Log in to your Account Manager.
In the My Products section, select Hosting Account List.
Next to the hosting account you want to modify, click Manage Account.
In [...]
There are a number of common issues that can occur when implementing Ruby on Rails. Below is a list of common problems people can encounter when initially creating Rails applications.
NOTE: Grid-based Web Hosting does not support Ruby on Rails. To see if you’re affected, click here.
ContentsLocationLine endingsError logsProduction logSample errorsDevelopment modePerformanceRails versionDatabase connectivityLanguage conflictSymbolic [...]
The require_gem command is used in your config/environment.rb file to specify the Gem version you want loaded for your application. Its syntax is shown below, using the Gem “actionpack” as an example:
require_gem ‘actionpack’, ‘= 1.11.2′
To specify a range of versions, the following syntax is used:
require_gem ‘actionpack’, ‘~> 1.11′
When the version number is omitted, the [...]
NOTE: This list of Ruby Gems installed on Deluxe and Premium shared hosting accounts running Hosting Configuration 2.0 and above is updated regularly, but may not reflect the most recent changes. To query the most current list of Gems, see What Ruby Gems are installed on my [...]
The following are new Ruby Gems we have added to our shared hosting accounts:PDF-Writer: A Gem that creates PDF files using Ruby.http://ruby-pdf.rubyforge.org/pdf-writer/Ferret: A text search engine for Ruby based on the Apache Lucene project.RFlicker: A Ruby interface to Flickr’s developer API.http://rubyforge.org/projects/rflickr/RMagick: A Ruby interface to the [...]
Rails 2.2.2 is now available to our Deluxe and Unlimited Hosting accounts running Hosting Configuration 2.0 and above. This version of Rails resides in a development Gem path so existing Ruby application functionality will not be affected. To take advantage of this version of Rails, add the following code to your application’s config/environment.rb [...]