diff --git a/blogthon.cgi b/blogthon.cgi
index cac3b92..69cdd48 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -32,7 +32,14 @@ def errorpage(string):
print '
Error!'
print ''
print ''
- print ' ' + string + ' is not set in configuration, please check your installation!'
+ if string == "entries_dir":
+ print ' Directory "' + entries_dir + '" does not exist!'
+ elif string == "staticpages_dir":
+ print ' Directory "' + staticpages_dir + '" does not exist!'
+ elif string == "linklist":
+ print ' File "linklist" does not exist!'
+ else:
+ print ' ' + string + ' is not set in configuration, please check your installation!'
print ''
print '