Welcome to Geeklog Sunday, February 19 2017 @ 02:06 pm EST
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:
- Upload everything that's in Geeklog's public_html directory onto your site.
- At the top level, create a new directory (try choosing a not-too-obvious name, i.e. don't just name it "geeklog" ...).
- Into that directory, copy all the other files and directories that came in the Geeklog tarball.
- Password-protect that directory!
- 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.
- Enter the path to your password-protected directory. If you don't know the proper path, see How do I find out my paths?
- 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 ...