Anatomy of isp.conf.php

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
(Example of typical isp.conf.php)
Line 46: Line 46:
  
 
db_server=localhost
 
db_server=localhost
db_name=my_database
+
db_name=soho1_example_com
db_un=my_database_username
+
db_un=examplecom
db_pw=my_database_password
+
db_pw=Xo6T2hq
  
 
user_table=login
 
user_table=login
Line 56: Line 56:
 
dflogin_user=admin
 
dflogin_user=admin
 
dflogin_pass=admin
 
dflogin_pass=admin
 
  
 
lang_set=english.php
 
lang_set=english.php

Revision as of 16:38, 25 August 2006

Stuff you have to write at install time if you're building an auto-installer

Only things in [brackets] must change from installation to installation. Anything not in [brackets] can remain the same accross all installations.

<?php exit; ?>

#########################################################
### SOHOLAUNCH V4.8 CONFIGURATION SETUP
#########################################################

this_ip=[domain name]

db_server=[address of database server]
db_name=[name of database created for this site to use]
db_un=[username assigned to database]
db_pw=[password assigned to database]

user_table=login
cgi_bin=/[full server path to docroot folder]/sohoadmin/tmp_content
doc_root=/[full server path to docroot folder]

dflogin_user=[initial username for logging-in to sitebuilder]
dflogin_pass=[initial password for logging-in to sitebuilder]


lang_set=english.php
lang_dir=/[full server path to docroot folder]/sohoadmin/language

template_lib=/[full server path to docroot folder]/sohoadmin/program/modules/site_templates/pages
undercon=

map_obj=enabled
df_template_cat=Neutral

#########################################################

Example of typical isp.conf.php

<?php exit; ?>

#########################################################
### SOHOLAUNCH V4.8 CONFIGURATION SETUP
#########################################################

this_ip=example.com

db_server=localhost
db_name=soho1_example_com
db_un=examplecom
db_pw=Xo6T2hq

user_table=login
cgi_bin=/home/example.com/public_html/sohoadmin/tmp_content
doc_root=/home/example.com/public_html

dflogin_user=admin
dflogin_pass=admin

lang_set=english.php
lang_dir=/home/example.com/public_html/sohoadmin/language

template_lib=/home/example.com/public_html/sohoadmin/program/modules/site_templates/pages
undercon=

map_obj=enabled
df_template_cat=Neutral

#########################################################
Personal tools