Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 08:43 am EST

Geeklog Forums

Installation as subdirectory?


Anonymous

Anonymous
I've looked over the installation documents, and they imply to me that Geeklog wants to be the root of my website. (Ie. http://www.mydomain.com will bring up geeklog). What if I want it to just be a subsection? (http://www.mydomain.com/geeklog) Is this supported? Thanks in advance.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Of course you can install Geeklog in a subdirectory. We just assume that installing it in the root is the most common situation. Just follow the advice given and place whatever is outside of Geeklog's public_html directory also outside of your document root so that it is not reachable via a URL. Then you just need to set up $_CONF['path'] so that it points to where you put config.php and $_CONF['path_html'] to point to your subdirectory. bye, Dirk
 Quote

edge

Anonymous
Are you using Apache? I installed my GL within a subdirectory, as you did. For example... My document root is /var/www/html but Geeklog is in /var/www/html/geeklog/public_html. I was running into weird problems all week.. Especially when trying to log in as admin. I was finally able to fix my problems by creating a "Named VirtualHost" in Apache. In /etc/httpd/conf/vhosts/Vhosts.conf (I think the location differs per distro), I added: NameVirtualHost * <VirtualHost *> ServerName www.mydomainname.com DocumentRoot /var/www/html/geeklog/public_html </VirtualHost> I also updated my GeekLog config.php file to reflect the changes. Hope that helps Edge
 Quote

lntora

Anonymous
I did a search since I had a similar question and found this thread. I was just wondering if I should move the files from the public_html directory created by geeklog into the directory I want to install it in?
 Quote

All times are EST. The time is now 08:43 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content