<div dir="ltr"><div>I just installed opensips-cp. When I try to login, it accepts mypasword, but then I receive an error in the browser: &quot;Not found,  <span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">The requested URL /cp/&lt; was not found on this server.&quot;<br>
<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Apache log:<br>
<br>[Fri Aug 30 22:20:08 2013] [error] [client 192.168.18.97] File does not exist: /var/www/opensips-cp/web/&lt;, referer: <a href="http://192.168.18.103/cp/main.php">http://192.168.18.103/cp/main.php</a><br><br></span></div>
<div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">My box:<br>
<br>CentOS release 6.3<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Apache </span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">DocumentRoot</span>: &quot;/var/www/html&quot;<br>
</span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Opensips-cp dir:  /var/www/opensips-cp/<br>
</span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"> Alias /cp &quot;/var/www/opensips-cp/web&quot;<br>
<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">In an attempt to resolve this issue, I have removed the /cp alias, changed </span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Apache  </span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"></span></span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"></span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">DocumentRoot from  </span></span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">&quot;/var/www/html&quot; to </span><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">&quot;/var/www&quot;, chown directory ownership for /var/www from root to apache.<br>
<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">I also see the following in apache log<br>
<br>[Fri Aug 30 22:55:39 2013] [error] [client 192.168.18.97] PHP Warning:  date(): It is not safe to rely on the system&#39;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#39;Europe/London&#39; for &#39;BST/1.0/DST&#39; instead in /var/www/opensips-cp/web/login.php on line 107, referer: <a href="http://192.168.18.103/cp/">http://192.168.18.103/cp/</a><br>
[Fri Aug 30 22:55:39 2013] [error] [client 192.168.18.97] PHP Warning:  date(): It is not safe to rely on the system&#39;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#39;Europe/London&#39; for &#39;BST/1.0/DST&#39; instead in /var/www/opensips-cp/web/login.php on line 107, referer: <a href="http://192.168.18.103/cp/">http://192.168.18.103/cp/</a><br>
[Fri Aug 30 22:55:39 2013] [error] [client 192.168.18.97] PHP Notice:  Undefined variable: i in /var/www/opensips-cp/web/main.php on line 34, referer: <a href="http://192.168.18.103/cp/">http://192.168.18.103/cp/</a><br><br>
<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Thanks for any help.<br>
<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Mimi<br>
</span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><br>
<br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><br>
</span></div></div>