
Dotster Hosted Website
135 words | Last Updated: September 19, 2008 |
I'm now testing Dotster-hosted web sites (Domain.com) that does not use Cpanel; it uses PEM (by SWSoft).
The path looks different:
/usr/local/pem/vhosts/(username)/webspace/httpdocs/
Others (non-PEM) would look like:
/home/(username)/(username)-www/
/home/(username)/public_html/ [typical pattern in CPanel-controlled web sites]
Running CGI scripts in any folder
Also, if you want to run cgi scripts outside the cgi-bin folder, you'll need to configure your htaccess file in that folder to run those cgi or pl files. The two key lines are:
Options +ExecCGI
AddHandler cgi-script cgi pl
I'll test the implementation of server side includes, cron jobs, PHP/mySQL in the coming days.
"Dotster Hosted Website"
First Posted: May 12, 2006 | Filed in: General


To make html files act like shtml files, adding the line "addType text/x-server-parsed-html .html" (without the quotes) to your htaccess file will not work.
If you add that line (which works with Cpanel-controlled web sites) will simply pop-open a dialog box asking you if you want to download the html file.
To make html files work like shtml files under the PEM environment, go to Hosting - Website Configuration and Administration - Webspace - Advanced tab - Apache Handlers
Then add a new handler of type "server-parsed" and extension "html"