Support > Webspace FAQ
If you have a question not covered by the support FAQ, please use our contact form. We
will respond as quickly as possible - usually between minutes and an hour or two depending on how busy our support people are.
What is the path to...
These paths are correct regardless of the LoHost server you are using.
|Cron tabs||crontab -e (editor is vi)|
Where Do I Upload My Site?
You can use either FTP or SCP to upload your site. For FTP
the port should be left at default (21). Use the hostname / username / password supplied to you at signup.
Which Files Do I Put Where?
HTML pages, graphics and PHP scripts should be put into the www directory. CGI scripts should be placed in the
cgi-bin directory. For multiple site arrangements you will find a directory called websites, which contains each
domain and then www, cgi-bin and logs inside of that.
Can I View My Site Before My Domain Has Been Pointed At It?
At signup a temporary LoHost address is assigned. You can use this while your domain name is registered or transferred.
The address will take the form of http://username.lohost.co.uk/ where username is the user name for your account as mentioned
in the signup information.
Can I Use PHP Scripts?
LoHost always runs the latest version of PHP (currently ). You should make sure you name your
scripts with the file extension .php. PHP4 is very backwardly compatible with PHP3, so you can probably (we say
probably) run PHP3 scripts without any problems, in which case use the .php3 file extension.
Can I use Content Negotiation?
Yes! It's as simple as modifying your .htaccess file to have Multiviews enabled. We can help you with this if you need it.
My CGI Scripts Report Internal Server Error
The LoHost servers fully support CGI scripts. While we are quite happy to help with any scripts that we provide for
you, we will not under any circumstances install / debug yours. All the tools to uncover the problems are at your
fingertips. Here are some general guidelines to help you along.
- Make sure that it is meant to run under Unix. Yes, people have tried to install ASP and other scripts meant for
Windows based webservers.
- Make sure if it's a Perl or shell script that you upload it in ASCII format. Virtually all FTP clients allow
you to specify ASCII or binary format uploads.
- Make sure that you have specified any required paths correctly. See the list at the top of this FAQ page.
- Make sure that you have set the file permissions correctly. If the readme/instructions that came with the script
stated you must chmod 755 funkyscript.cgi then that is what must be done.
- If the answer to the above was What instructions? then hard luck! You'll need to hire a web developer (our
rates are reasonable enough if you'd like us to do it).
- The errorlog file is your friend. If you're getting an error when you try and run your script from the web, take a
look at the errorlog, and usually it will reveal the reason why your script isn't working.
What Is The Logs Directory For?
The webserver keeps access and error logs for your site in the logs directory. The access logs for each day are archived
into .zip files at approximately midnight GMT. The logs files supply useful information about who has visited your
site, what they looked at, where they came from, whether they were referred from another site, and the time of day they
On request, we will enable analysis of the log files which you get to see as a web page with various figures and charts.