Hi everyone,<br> <br> I installed the serweb according to the instructions but it doesn't work when i type http://localhost/index.php in the browser. I do not install apache and php seperately. I followed these instructions...<br> <br> <h2><a target="_blank" name="WEBSER"></a>Step by Step Installation of WEBSER on <i><font color="#006600">RedHad Fedora Core 1</font></i></h2> <div>When the original distribution is installed the directory locations do not match up with the typical apache file locations. These notes document all the changes needed. SUGGESTION: For the Tutorial we should develop a new install TAR so delegates do not spend 30 minutes editing all the files.</div> <div> </div> <ul> <li>Get the TAR, un-tar and place the files in the right directory <ul><li> <div>from <a target="_blank" href="http://www.iptel.org/">SER</a> or <a target="_blank"
href="http://www.aarnet.edu.au/events/conferences/2004/apan-questnet/sipworkshop/src/ser/serweb_2004-01-04.tar.gz">from this server</a></div> </li><li> <div>untar<br> <b><font color="#ff00ff">tar -xvzf serweb_2004-01-04.tar.gz</font></b></div> </li><li>change directory to where the files were untared to<br> <b><font color="#ff00ff">cd serweb_2004-01-04</font></b></li><li> <div>Create the directory and move the files there<br> <b><font color="#ff00ff">mkdir /var/www/phplib<br> chown root /var/www/phplib<br> chgrp root /var/www/phplib<br> chmod 755 /var/www/phplib<br> cp ./phplib/* /var/www/phplib/ -R </font></b></div> </li><li> <div># Move the html files to the DocumentRoot directory<br> <font color="#ff00ff"><b>mkdir /var/www/html/serweb/<br> chown apache /var/www/html/serweb/<br> chgrp
root /var/www/html/serweb/<br> chmod 755 /var/www/html/serweb/<br> cp ./html/* /var/www/html/serweb -R</b></font></div> </li></ul> </li><li>edit these lines in <b><font color="#ff00ff">/etc/php.ini</font></b><br> and change <font color="#ff00ff">short_open_tag = Off" to "On"</font><br> <div> and change <font color="#ff00ff">register_globals = Off" to "On"</font></div> </li><li> <div> Create these files as part of the serweb module.</div> <div><font color="#ff00ff">vi /var/www/html/serweb/prolog.html</font><br> <xbody ><h1>=""><font color="#ff0000">AARNet SER SIP Server</font></H1><br> <br> <font color="#ff00ff">vi /var/www/html/serweb/separator.html</font><br> <HR><br> <br> <font color="#ff00ff">vi /var/www/html/serweb/epilog.html</font><br> <H1><font color="#ff0000">End of page text</font></H1></xbody></div>
</li><li>ALL the files that follw are with respect to /var/www/html/serweb<br> <font color="#ff00ff">cd /var/www/html/serweb</font><br> <br> </li><li>edit these lines in <font color="#ff00ff">./config.php</font><br> <br> In general replace all 192.168.2.16 with <font color="#ff0000">192.94.63.28</font><br> <br> #If you have changed the mysql username, dbname or password you need to change these:<br> $this->db_name="ser"; //database name<br> $this->db_user="ser"; //database conection user<br> $this->db_pass="heslo"; //database conection password<br> # NOTE: The above relate to the mysql database, see /usr/sbin/ser_mysql.sh.<br> <br> $this->root_path="/serweb/";<br> #The above must match where the serweb html directory is put<br> <br> this->user_pages_path = this->root_path."user<b>_interface</b>/"; <br> <br>
$this->prolog="/serweb/prolog.html";<br> $this->separator="/serweb/separator.html";<br> $this->epilog="/serweb/epilog.html";<br> # /* email address for questions concerning registration */<br> <br> $this->root_uri.$this->root_path."user<b>_interface</b>/my_account.php?#session#\n\n".<br> $this->root_uri.$this->root_path."user_<b>interface</b>/reg/confirmation.php?nr=#confirm#\n\n". <br> <br> # There is heaps more to customise in this file which we will leave to the user. These include more email references<br> # and text used in emails to users who register. Here are some example which do not need to be changed for this tutorial:<br> $this->mail_header_from="<font color="#ff0000">Stephen.Kingham@aarnet.edu.au</font>";<br> $this->web_contact="sip:<font color="#ff0000">Stephen.Kingham@aarnet.edu.au</font>";<br> $this->title="<font color="#ff0000">The AARNet IP Telephony
Site</font>";<br> $this->infomail = "<font color="#ff0000">Stephen.Kingham@aarnet.edu.au</font>";<br> $this->regmail = "<font color="#ff0000">Stephen.Kingham@aarnet.edu.au</font>";<br> <br> <br> </li><li>Edit<font color="#000000"> <font color="#ff00ff">/var/www/phplib/db_mysql.inc</font></font><br> # You need to add the following to /* public: connection parameters */<br> var $Host = "<font color="#ff0000">192.94.63.28</font>";<br> var $Database = "ser";<br> var $User = "ser";<br> var $Password = "heslo"; </li> </ul> <div>The follwoing changes can be applied two ways:</div> <table border="0" width="100%"> <tbody><tr> <td valign="top">1. Get and extract this tar file</td> <td> <div>get the file<font color="#000000"> <a target="_blank" href="http://www.aarnet.edu.au/events/conferences/2004/apan-questnet/sipworkshop/src/ser/fixupserwebphp.tar">fixupserwebphp.tar</a>
from this server</font></div> <div>put it in the directory /usr/local/src/ser</div> <div>issue these commands</div> <div><font color="#ff00ff">cd /var/www/html/serweb </font></div> <div><font color="#ff00ff">tar -xvf fixupserwebphp.tar</font></div> </td> </tr> <tr> <td><b>OR</b></td> <td> </td> </tr> <tr> <td valign="top">2. Manualy make all these changes</td> <td valign="top"> <div>Generaly you have to add "../" to all these files so that they point correctly to where the phplib is.</div> <ul><li> <div>Edit <font color="#ff00ff">./admin/prepend.php</font><br> # change $_PHPLIB["libdir"] = "<b>../</b>../../phplib/";</div> </li><li>Edit <font color="#ff00ff">./user_interface/prepend.php</font><br> # change $_PHPLIB["libdir"] = "<b>../</b>../../phplib/";</li><li>Edit <font
color="#ff00ff">./user_interface/reg/prepend.php</font><br> # change $_PHPLIB["libdir"] = "<b>../</b>../../../phplib/";</li><li>Edit <font color="#ff00ff">./admin/acl.php</font><br> # change require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./admin/index.php</font><br> # require "<b>../</b>../../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./admin/users.php</font><br> # require "<b>../</b>../../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/accounting.php</font><br> # require "<b>../</b>../../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/find_user.php</font><br> # require "<b>../</b>../../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/index.php</font><br> # require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font
color="#ff00ff">./user_interface/missed_calls.php</font><br> # require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/my_account.php</font><br> # require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/phonebook.php</font><br> # require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/send_im.php</font><br> # require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/notification_subscription.php</font><br> # require "<b>../</b>../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/reg/finish.php</font><br> # require "<b>../</b>../../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/reg/get_pass.php</font><br> # require
"<b>../</b>../../../phplib/oohforms.inc";</li><li>Edit <font color="#ff00ff">./user_interface/reg/index.php</font><br> # require "<b>../</b>../../../phplib/oohforms.inc";</li></ul> </td> </tr> </tbody> </table> <div> </div> LAST STEP: START APACHE<br> /etc/rc.d/init.d/httpd start<br> <br> <br> Please, help me starting the serweb, <br> <p>
<hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2ยข/min or less.