User Functions


There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

Downloads last 2 weeks

No new files

Welcome to Geeklog Friday, October 21 2016 @ 04:09 pm EDT

Installing Geeklog entirely within the web root

As explained in the installation instructions, parts of Geeklog (everything outside of the public_html directory) should be installed such that they are not accessible from a URL (for security reasons). However, some hosting services (typically free or cheap services) won't let you install files outside of the webroot.

In that case, you can still install Geeklog if there is a way to password-protect a directory on your site (usually done through .htaccess and htpasswd files, although some hosting services offer web frontends for those).

Here's what you should do:

  1. Upload everything that's in Geeklog's public_html directory onto your site.

  2. At the top level, create a new directory (try choosing a not-too-obvious name, i.e. don't just name it "geeklog" ...).

  3. Into that directory, copy all the other files and directories that came in the Geeklog tarball.

  4. Password-protect that directory!

  5. Call up the install script (as per the installation instructions). It will complain that it can't find the db-config.php file and ask you to enter the path to it.

  6. Enter the path to your password-protected directory. If you don't know the proper path, see How do I find out my paths?

  7. Proceed with the installation as per the instructions.

If you can not password-protect the directory, you could still install and run Geeklog, but it wouldn't be a very secure installation. You may be better off using another hosting service ...

FAQ Manager » Installation » Installing Geeklog entirely within the web root