web server application directory

Problems with the Linux version of XAMPP, questions, comments, and anything related.

web server application directory

Postby alex905 » 05. March 2006 17:52

im trying to install a thing called serweb and it says put the html file contese into the publily acsesible thing (htdocs) and then put the contense of phplib into the web server application directory but i dont knwo what it is.


here is the manualy for the part of the install im stuck on


In case your server performs multiple functions, and you want to just add the SERweb tools to an existing web site, we will need to make changes to a number of the php files. The following examples are from an Apache 2.0 on RedHat.

Unzip the files into a temporary directory, such as /root/serweb. The directory will contain these files:

-rw-rw-r-- 1 827 2020 18561 Sep 25 16:31 COPYING
drwxr-xr-x 2 827 2020 1024 Nov 27 16:43 CVS
-rw-rw-r-- 1 827 2020 529 Sep 25 16:29 README
drwxr-xr-x 7 827 2020 1024 Nov 27 22:24 html
drwxr-xr-x 3 827 2020 2048 Sep 26 10:26 phplib

On the Linux RedHat Version 8 root directory on web server is /var/www/html/

Move the html directory to the root of your web server:

mv html /var/www/html/htdocs/serweb

Move the phplib directory to your web server application directory:

mv phplib /var/www/html/phplib

Following files must be updated with this "new" path to the libraries:

./admin/prepend.php
./user_interface/prepend.php
./user_interface/reg/prepend.php

For these files the variable: $_PHPLIB["libdir"] = "../../phplib/"; becomes $_PHPLIB["libdir"] = "../../../phplib/";

In the ./admin directory edit the files acl.php, index.php, and users.php will need their path to the forms library updated. For this example, add ../ to the existing line

:require "../../../phplib/oohforms.inc";

In the ./user_interface directory the following files need the same change:

accounting.php, find_user.php, index.php, missed_calls.php, my_account.php, phonebook.php, send_im.php, notification_subscription.php

Next these files in ./user_interface/reg need the same change, with an additional ../:

Finish.php, get_pass.php, index.php

The last changes occur in the config.php file to provide the location for graphic files, style sheets and time zone information. Update the following variables:

$this->root_path="/serweb/";
$this->fifo_server = "/tmp/ser_fifo";
$this->zonetab_file = "/usr/share/zoneinfo/zone.tab";
//TZ zone descriptions file, usually: /usr/share/zoneinfo/zone.tab


Find two variables: " $this->mail_forgot_pass="," $this->mail_register=" and change line http://oook/~iptel/user_interface/reg/c ... r=#confirm#\n\n

with line

http://".$_SERVER['HTTP_HOST']."/htdocs/serweb/user_interface/reg/confirmation.php?nr=#confirm#\n\n

This will insure sending a registration feedback mail to SIP server using its IP address






if you want to downalod the app here is the link
http://ftp.iptel.org/pub/ser/LATEST-IS- ... 9.4.tar.gz

and here is the guide in fwolling

http://www.iptel.org/ser/doc/ser-howto/ ... tml#AEN256
alex905
 
Posts: 9
Joined: 28. September 2005 22:24

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 32 guests