by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
Server Side Includes (SSI) is a feature of CGI that enables you to dynamically insert a piece of information onto any “.shtml” web page. The browser displays the inserted code as if it was hard coded onto that page. For example, if you are interested in displaying the current date and time on your Web page, add one simple SSI code onto the page: Every account supports Server Side Includes but in order for SSI to work, your file must be named with the “.shtml” extension. Some things you can do with SSI: – Display the current date and time in many different formats – Display the last modified date of a file – Insert/Include a document inside another; and – Execute a CGI script or a command directly from the page. – Include a document inside...
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
If you’re new to scripting, or getting the dreaded “Internal Server Error” when you try to run a sample script you’ve downloaded, its probably incorrect file permissions. The linux allows you to set different levels of access to a file for different groups of people. This allows you to let the web server modify a file via a CGI script, for instance, while preventing other users from having normal access to the file. There are three groups in terms of file access, and three different permission types they can receive. The groups are: * User/Owner – the “user” group consists only of the owner of the file (your account, in most cases) * Group – the “group” group consists of the other users on the server — you can usually remove their permissions entirely if you think it necessary * Other/World – the “other” group consists of everyone else — most imporantly, the web server falls into the “other” category The potential permissions are: * Read – the read permission allows a user or program the ability to read the data in a file * Write – the write permission allows a user or program the ability to write new data into a file, and to remove data from it * Execute – the execute permission allows a user or program the ability to execute a file, if it is a program or script. Some things to keep in mind about your files : * pages should be readable/writable by the owner and readable by the web visitor. * scripts should be readable/writable/executable by the owner and readable/executable by...
by dabempire | Feb 26, 2011 | Knowledgebase, Scripting (HTML, PHP, Perl/CGI)
Sendmail: /usr/lib/sendmail Perl5: /usr/bin/perl Serverpath: /home/username/public_html Root path: /home/username/ (puts you in your the root of your account) Cgi-bin path: /home/username/public_html/cgi-bin/ (puts you in your cgi-bin) php4 cli: /usr/local/bin/php php5 cli: /usr/local/bin/php5 ImageMagick: /usr/bin/convert or...
by dabempire | Feb 26, 2011 | DataLockBox Backups, Knowledgebase
If you want “add hosts” privilege to cdp backups(ie. add servers yourself to the cdp interface), you must either purchase a backup server from us or purchase a full volume(1TB or 2TB) from us.
by dabempire | Feb 26, 2011 | DataLockBox Backups, Knowledgebase
We are now offering clients limited access to their backup files through a web interface. With cdp add on, you can see the files backed up on the backup machines for your main reseller account and can schedule a restore of any files/folders. This is what CDP add on provides on a very minimal...