Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 08:46 am EST

Geeklog Forums

Keeping public_html off the address


spock

Anonymous
How can I prevent the public_html from appearing at the end of my domain name on the address bar?
 Quote

Status: offline

grant

Forum User
Junior
Registered: 12/14/05
Posts: 21
Location:Iowa City, IA
Move the files in the public_html folder up one directory level, Then adjust your path in config.php
Text Formatted Code
$_CONF['path_html']         = '/home/username/public_html/';
 


Depending on your setup of course.
 Quote

spock

Anonymous
The thing is my site already has an index.php under the www directory and if I move the public_html's contents up then the geeklog's index.php would conflict with the other one. Is it possible to rename the address without affecting its function?
 Quote

spock

Anonymous
I meant to type...renaming the index.php without affecting its function. Not address.
 Quote

Status: offline

THEMike

Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
OK, so you don't want public_html in the url, but you want to keep your existing /index.php working as it is?

Then your only option is to rename public_html to something more friendly like blog, portal or geeklog, then ammend $_CONF['path_html'] and $_CONF['site_url'] to reflect this. index.php in geeklog won't tolerate renaming.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Put the contents of Geeklog's public_html into a directory and adjust your paths accordingly. See the installation instructions.

bye, Dirk
 Quote

All times are EST. The time is now 08:46 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