[Serusers] Unable to configure serweb-0.9.4

Bart J. Smit bart at smits.co.uk
Mon Jan 30 15:10:12 CET 2006


Hi Manoj,

I downloaded the same tarball but I followed the directions from the
INSTALL file within (these are usually more up to date)

This is what I did on CentOS 4.2:

Start with setting your SIP_DOMAIN environment variable in
~/.bash_profile:
  SIP_DOMAIN=your.server.domain.com
  export SIP_DOMAIN

I found that many ser utilities (serctl particularly) expect this to be
set.

Extract the tarball under /var/www/ and add a link to serweb for easy
upgrading to later versions:
  cd /var/www
  tar xzf serweb-0.9.4.tar.gz 
  ln -s serweb-0.9.4 serweb

Create /etc/httpd/conf.d/serweb.conf to avoid messing up your main
apache conf file:

Alias /serweb /var/www/serweb/html
<Location /serweb>
    Order deny, allow
    Deny from all
    Allow from 127.0.0.1
    Allow from 192.168.0.0/16
</Location>

Edit /var/www/serweb/config/config_data_layer.php and set your MySQL
credentials for admin as you entered them with the ser_mysql.sh script.
If you don't know what they are set to, execute this query: 'select
username, domain, password from ser.subscriber' in your favourite MySQL
client. If you used the default ser/heslo, then these are set correctly
in the PHP file already. Confirm that the domain is the same as your
SIP_DOMAIN variable.

The /var/www/serweb/config/config_paths.php is where you set the root
path. You need to change this if you set a path in serweb.conf that is
different from /serweb.

You will have to have a good read through
/var/www/serweb/config/config.php to see if you want any of the stuff
mentioned there. I didn't need to change it.

(re)start apache and browse to
http://your.server.domain.com/serweb/admin. If you enter admin it will
automagically be expanded to admin at your.sip.domain and you can enter the
password as heslo (or whatever you changed it to).

Hope this helps,

Bart...

-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of mkumar at mantragroup.com
Sent: 30 January 2006 11:37
To: serusers at lists.iptel.org
Subject: [Serusers] Unable to configure serweb-0.9.4

Hi All,

I downloaded serweb from
ftp://ftp.berlios.de/pub/ser/0.9.4/contrib/serweb-0.9.4.tar.gz and I am
trying
to install serweb from instructions given in
http://www.iptel.org/ser/doc/ser-howto/ser-Howto.html#AEN256. I executed
tar
-xvzf serweb-0.9.4.tar.gz and afterwards as per the instructions my next
step
is to modify /user_interface/prepend.php, but I could not find
user_interface
directory itself, I searched for it and I could not find it in my UNIX
box
itself. Is there any bug with serweb-0.9.4.tar.gz or we do not need
user_interface directory itself for serweb-0.9.4? Can someone please
help me
and guide me to configure serweb-0.9.4.

Thanks,
Manoj.

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list