Home | Signup | Support Date :
freeasphost.co.uk - Logo
 freeasphost.co.uk > FAQ
Nav Bar
Home
News
Forums
Support
Signup
Pricelist
FAQ
Users
Links
About Us
 
Search
Search :
Match :
 
 
Forums
Members online: Craig
Guests online: 6
Last post: Unknown
 
General

How much does freeasphost.co.uk cost?
Absoultely nothing. We do not have any charges for a standard user account. We run an automated system, meaning we can keep running expenses to a minumum. However if you require additonal services we may ask for a donation to our studies.

Where is freeasphost.co.uk?
We host freeasphost.co.uk in our flat in the West End of Glasgow in Scotland, UK. We maintain all our servers ourselves and so have full control over their configuration and performance. Like to know more about us?

Who provides your bandwidth?
Our ISPs are Lavron Technologies, who are connected into the psi.net UK backbone.
Our bandwidth statistics are monitored by MRTG. (More Statistics)

Is your additional services pricelist available yet?
You can view our Pricelist here.

Do you have any plans to provide email accounts?
We have no plans as yet, but these plans are flexable and open to change according to user demand.

What are your rules etc.?
Conditions of Use, which users agree to at registration, covers most rules. Common sense covers the rest.

You disabled my account. Why?
In the signup process you agreed to, we reserved the right to terminate/disable account without justification. It is probable that your account contained material that breached content rules. Another possiblity is that you exceeded your Bandwidth cap. We have a limited amount of bandwidth available to us, so we try to keep a check on how much our users are using.

How much bandwidth are we allowed?
We've had a play with our statistics and we've decided that a total transfer limit of 250MB per month seems reasonable. This does not mean if you exceed it you will be disabled, but if you contiune to disregard this rule, you may be asked to leave freeASPhost and/or your account will be disabled. You will be informed by email at the end of the month if you have exceeded the limit.

Where can I find out more information?
We have multiple sources of information about anything freeASPhost related: You may wish to participate in, or just read our Forums; the Support mini-site contains loads of technical information


 

Technical

What are your default pages?
In this order: index.shtml index.html index.asp

I get 500 Internal Server Error when I try to view my pages. What's the problem?
There is an error somewhere in your ASP pages, but Internet Explorer is hiding the real error message from you. To turn this off, select Options from the Tools menu, select the Advanced Tab, and scroll down until you see "Show Friendly HTTP Error Messages". Uncheck the options and press OK. On refreshing your erroneous page, you will be able to see IIS' explanation of your problem.

I want to have an Access database but where should I put it?
We have provided a data directory in you home directory. The data directory is writeable by the webserver process, and so is ideal for a database. Directories containing HTML/ASP files etc are only readable by the webserver process, although some accounts are writeable due to a mistake in the registration scripts. This is being rectified, and if your databases suddenly break, makde sure they are in your data folder.

Where is my data folder?
Your home directory can be found on "f:\username", so your data folder is at "f:\username\data\", and your webspace at "f:\username\vdirname\". If you need to code a reference to a Windows DLL, the Windows directory on the webserver is "C:\WINNT" (note: used to be WIN2K).

I need a DSN.
No you dont. Just about everything that uses a DSN can be done with a DSN-less connection. To connect to a database in your data folder, use a connection string like this:

"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=f:\username\data\database.mdb"
or
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=f:\username\data\database.mdb;"

The second connection string uses OLE DB, and is better to use - we'd prefer you used that form for these reasons.
There is no need to disguise your database as a .asa, .asp, or whatever extension you choose. We dont object to databases, but require them to be in your data folder, just so your site is more secure. There is no need to use Server.Mappath to find your database, because it won't - your data directory is not part of your webspace so Server.Mappath won't know where to find it.

I would like to have an SQL Server database. Is this possible?
For a donation, we are able to host your MS SQL Server database solution. We also have a mySQL database available on a backend Linux server for those interested in the open-source alternative.

What about ASP.NET?
Again, our plans currently don't include ASP.NET, but we will keep this under review. If you strongly wish to develop ASP.NET pages, please let us know on the forums or by dropping us an email.

I would like to use some Perl scripts. Can I?
We haven't provided Perl scripting for our users, primarily because of security concerns. It's easier to break stuff with Perl scripts. However if you would like to use some Perl scripts, or write your own, let us know and we'll see what we can arrange.

Can I try PHP?
It can be arranged, at a small cost for setup fee.

You run IIS, so why do I get Apache error messages sometimes?
We use Apache as are front-end webserver, which has a greater flexibility with Virtual Hosting and also allows requests for certain hosts or directories to be passed to one of our backend webservers. All our main logging is done by a Perl script which parses log files and logs them to our SQL Server database.

Where is my control panel?
Your control panel is located in a virtual directory under your webspace: so if your virtual directory is called test, your site will be www.freeasphost.co.uk/test/ and your control panel can be found at www.freeasphost.co.uk/test/panel/

Why are stats and server logs separated?
We use a custom-built Apache solution to log client details, while IIS is only responsible for logging ASP errors. This is also why the source IP address in the IIS server logs is 10.25.25.12: this is the internal address of our firewall/Apache server.

How do I get FTP access?
Point your FTP client at ftp.freeasphost.co.uk. You will be prompted to enter your username and password. Once you have successfully logged on, your FTP client will show you the contents of your home folder. This has two subdirectories : a folder for your website, and one for non-website data, eg data files or configuration files. This is the only folder the webserver has write access to, so it's ideal for placing Access databases.
Do not delete these folders, they are required for your website to function.

I'm having problems using FTP
As far as I know, our FTP server supports passive and active transfers. If you have problems deleting folders by FTP, try not using Crystal FTP.

I'm concerned about service continuity and data recovery
We monitor the availability and loading of many services across the freeASPhost network. This enables us to see at a glimpse service status. We have a full backup and recovery plan, and all data is backed up regularly, usually weekly.

What about security on your servers?
All our webservers are sat behind our Microsoft ISA firewall. We have full antivirus protection on all servers, and for IIS security, all our webservers are behind a frontend copy of Apache which helps IIS from buffer overflow attacks.

I never receive mail sent from an ASP page
Firstly, our mail server will NOT relay mail that is not from freeASPhost.co.uk. I'd prefer if you use noreply as the user part of the from address. More Info

How can I get a remote user's IP address then?
We've recently put in some special code in Apache for this purpose. It means that Apache will send an additional HTTP header, HTTP_X_REMOTEIP, giving the remote IP address. HTTP_X_FORWARDED_FOR can also be useful for showing all IP addresses involved in a request. Dim ip ip = Request.RequestVariables.Item("HTTP_X_REMOTEIP")

 

Components

Can I send email from an ASP page?
VSEmail is deprecated, please see Can I send email using CDO? below. We've installed VSEmail 2.09, which can be used like this:

Dim myMail
Set myMail = CreateObject("VSEmail.SMTPSendMail")
myMail.Host = "smtp"
myMail.From = "noreply@freeasphost.co.uk"
myMail.ReplyTo = "youremailaddress@yourisp.com"
myMail.SendTo = "joe@bloggs.com,sales@bloggs.com"
myMail.CopyTo = "jane@bloggs.com"
myMail.BlindCopyTo = "blah@nowhere.com"
myMail.Subject = "Sending Mail"
myMail.Body = "You received this from: freeASPhost.co.uk"
myMail.Connect
myMail.Send
Set myMail = Nothing


For more information on VSEmail, view the Readme. Note: Outgoing email must use our SMTP server ntserver (10.25.25.12), and must have an email address in the freeasphost.co.uk domain. We prefer, but do not insist, on using noreply@freeasphost.co.uk.
I realise there appears to be a problem with the .ReplyTo line above, so you may wish to use CDONTS below which definently works.
More Mail-related info.

Can I send email using CDO?
With a bit of help from the freeASPhost community, CDO is now working an here is the code to do it
(Thanks goto nomad and Choon Spinner):

Dim objCDONTS
Set objCDONTS = Server.CreateObject("CDONTS.NewMail")

With objCDONTS
 .To = """Somebody"" <somebody@domain.com>"
 .From = """Me"" <noreply@freeasphost.co.uk>"
 .Value("Reply-To") = "me@domain.com"
 .Value("X-FreeAsphost-User") = "MyFreeasphostUsername"
 .Value("X-FreeAsphost-Website") = "MyFreeasphostWebsite"
 .Subject = "Subject"
 .BodyFormat = 1
 .Body = "A nice message."
 .Send
End With
Set objCDONTS = Nothing


If you want to send HTML format email, set the BodyFormat property to 0.

Can I upload files from an ASP page?
We also installed ASPSimpleUpload, and you can find a sample of it's use here, and the documentation for it can be found here.


Is XML supported?
Microsoft XML Parsers are installed, including XML3 and XML4.


 

help(at)freeasphost.co.uk
©chm, jpk 2002, All Rights Reserved.