[OpenSIPS-Users] Opensips CP: File does not exist: /var/www/opensips-cp/web/<,
mimicafe at gmail.com
mimicafe at gmail.com
Fri Aug 30 23:58:05 CEST 2013
I just installed opensips-cp. When I try to login, it accepts mypasword,
but then I receive an error in the browser: "Not found, The requested URL
/cp/< was not found on this server."
Apache log:
[Fri Aug 30 22:20:08 2013] [error] [client 192.168.18.97] File does not
exist: /var/www/opensips-cp/web/<, referer:
http://192.168.18.103/cp/main.php
My box:
CentOS release 6.3
Apache DocumentRoot: "/var/www/html"
Opensips-cp dir: /var/www/opensips-cp/
Alias /cp "/var/www/opensips-cp/web"
In an attempt to resolve this issue, I have removed the /cp alias,
changed Apache
DocumentRoot from "/var/www/html" to "/var/www", chown directory ownership
for /var/www from root to apache.
I also see the following in apache log
[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'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 'Europe/London' for 'BST/1.0/DST' instead
in /var/www/opensips-cp/web/login.php on line 107, referer:
http://192.168.18.103/cp/
[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'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 'Europe/London' for 'BST/1.0/DST' instead
in /var/www/opensips-cp/web/login.php on line 107, referer:
http://192.168.18.103/cp/
[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: http://192.168.18.103/cp/
Thanks for any help.
Mimi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130830/1f446e4f/attachment.htm>
More information about the Users
mailing list