|
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")
|