From: user <us...@co...> - 2001-01-27 12:30:27
|
Hello there. i just installed sql-ledger for the first time. everything seems to work well. but i need to move dir "templates" from /var/www/html/sql-ledger to var/www/html/templates. where exactly i should change path to it, so software will recognize new directory as templates dir. must be glbal varieble for templates dir somewhere. please help me out. i really stucked there. kindest regards. Alexander Moloksher us...@co... |
From: Dieter S. <dsi...@sq...> - 2001-01-27 17:44:55
|
The templates directory is part of the sql-ledger tree and cannot be moved. You can symlink to another directory though. sql-ledger/templates => /var/www/html/templates Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Sun, 28 Jan 2001, user wrote: > Hello there. > i just installed sql-ledger for the first time. everything seems to > work well. but i need to move dir "templates" from > /var/www/html/sql-ledger to var/www/html/templates. > > where exactly i should change path to it, so software will recognize new > directory as templates dir. must be glbal varieble for templates dir > somewhere. > > please help me out. i really stucked there. > > kindest regards. > Alexander Moloksher > > us...@co... > |
From: warez69 <wa...@bi...> - 2001-01-28 08:20:13
|
i've done with great success. what i've done is just changed path to template directory in user.conf file from "templates" to "../templates" which is reflect my current relative path to templates directory.also ive cganged in setup.cgi file path to "templates" to "../templates". So next user will automaticaly save their settings with correct path to templates. this is a very good idea to move html executabales from cgi stuff away for security reasons. cause i've disabled text and html contents view and execution in main cgi directory of sql-ledger. kindest regards. Alexander Moloksher IT consultant. ----- Original Message ----- From: "Dieter Simader" <dsi...@sq...> To: <sql...@li...> Sent: Sunday, January 28, 2001 4:45 AM Subject: Re: [SQL-Ledger-users] dir templates moved from default location > The templates directory is part of the sql-ledger tree and cannot be > moved. You can symlink to another directory though. > > sql-ledger/templates => /var/www/html/templates > > > Dieter Simader http://www.sql-ledger.org (780) 472-8161 > DWS Systems Inc. Accounting Software Fax: 478-5281 > =========== On a clear disk you can seek forever =========== > > On Sun, 28 Jan 2001, user wrote: > > > Hello there. > > i just installed sql-ledger for the first time. everything seems to > > work well. but i need to move dir "templates" from > > /var/www/html/sql-ledger to var/www/html/templates. > > > > where exactly i should change path to it, so software will recognize new > > directory as templates dir. must be glbal varieble for templates dir > > somewhere. > > > > please help me out. i really stucked there. > > > > kindest regards. > > Alexander Moloksher > > > > us...@co... > > > > > |
From: Jody B. <jo...@sa...> - 2001-01-27 19:26:08
|
is there any reason you cant simply symlink it? ln -s /var/www/html/templates /var/www/html/sql-ledger/templates user <us...@co...> said: > Hello there. > i just installed sql-ledger for the first time. everything seems to > work well. but i need to move dir "templates" from > /var/www/html/sql-ledger to var/www/html/templates. > > where exactly i should change path to it, so software will recognize new > directory as templates dir. must be glbal varieble for templates dir > somewhere. > > please help me out. i really stucked there. > > kindest regards. > Alexander Moloksher > > us...@co... > > -- |
From: warez69 <wa...@bi...> - 2001-01-28 08:23:50
|
there is a reson. for security reason "follow symbolic links disabled in cgi dirs. so i've just changed path to "templates" in setup.cgi frpm "templates" to "../templates" and it work for me perfectly. send me e-mail if you 'll need futher information about it. kindest regards. Alexander Moloksher. ----- Original Message ----- From: "Jody Brown" <jo...@sa...> To: <sql...@li...> Sent: Sunday, January 28, 2001 6:25 AM Subject: Re: [SQL-Ledger-users] dir templates moved from default location > is there any reason you cant simply symlink it? > ln -s /var/www/html/templates /var/www/html/sql-ledger/templates > > user <us...@co...> said: > > > Hello there. > > i just installed sql-ledger for the first time. everything seems to > > work well. but i need to move dir "templates" from > > /var/www/html/sql-ledger to var/www/html/templates. > > > > where exactly i should change path to it, so software will recognize new > > directory as templates dir. must be glbal varieble for templates dir > > somewhere. > > > > please help me out. i really stucked there. > > > > kindest regards. > > Alexander Moloksher > > > > us...@co... > > > > > > > > -- > > > > > |
From: Dieter S. <dsi...@sq...> - 2001-01-28 19:47:22
|
Changing the path from "templates" to "../templates" breaks the code. You could have simply turned off all the Options for the templates directory in your httpd.conf file. This is much safer than fiddling with the path. The same goes for the users directory to prevent prying eyes from seeing that plain text password. Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Wed, 28 Feb 2001, warez69 wrote: > there is a reson. > for security reason "follow symbolic links disabled in cgi dirs. so i've > just changed path to "templates" in setup.cgi frpm "templates" to > "../templates" and it work for me perfectly. > send me e-mail if you 'll need futher information about it. > kindest regards. > Alexander Moloksher. > > > ----- Original Message ----- > From: "Jody Brown" <jo...@sa...> > To: <sql...@li...> > Sent: Sunday, January 28, 2001 6:25 AM > Subject: Re: [SQL-Ledger-users] dir templates moved from default location > > > > is there any reason you cant simply symlink it? > > ln -s /var/www/html/templates /var/www/html/sql-ledger/templates > > > > user <us...@co...> said: > > > > > Hello there. > > > i just installed sql-ledger for the first time. everything seems to > > > work well. but i need to move dir "templates" from > > > /var/www/html/sql-ledger to var/www/html/templates. > > > > > > where exactly i should change path to it, so software will recognize new > > > directory as templates dir. must be glbal varieble for templates dir > > > somewhere. > > > > > > please help me out. i really stucked there. > > > > > > kindest regards. > > > Alexander Moloksher > > > > > > us...@co... > > > > > > > > > > > > > > -- > > > > > > > > > > > > |