Little problem with panel

Hi all, this mine problem is lasting since a lot of time,
perhaps since the first 2.3 version. Beiing a really low-importance problem, I never mentioned nor searched in the past.

Anyway here is the situation.
I am used to install freepbx in the /srv/www/amp apache directory.

If using a browser I go to http://hostname/amp and hence I click Panel
(link pointing to http://hostname/amp/panel) everything is OK

If using a browser I go to http://hostname/amp and hence I click admin
(link pointing to http://hostname/amp/admin) everything is OK buf if now I try to get the panel via the Panel link on the top (link pointing to http://hostname/amp/admin/panel.php)
I got an “object not found” error.

I tried to check the /srv/www/amp/admin/panel.php file, which consist of
almost one line:

showview(‘panel’, array(‘title’=>$title, ‘deptname’ => $_SESSION[“AMP_user”]->_deptname));

I think that it should redirect to /amp/panel, but I am not able to figure out where the problem could arise.

this is the apache access log when pressing that link

192.168.69.111 - admin [11/Feb/2008:13:45:34 +0100] “GET /amp/admin/panel.php HTTP/1.1” 200 2191 “-” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:34 +0100] “GET /amp/admin/common/mainstyle.css HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:34 +0100] “GET /amp/admin/common/ie.css HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:34 +0100] “GET /amp/admin/common/mainstyle.css HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:34 +0100] “GET /amp/admin/common/ie.css HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:34 +0100] “GET /amp/admin/common/libfreepbx.javascripts.js HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /amp/admin/images/freepbx_large.png HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /amp/admin/images/header-back.png HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /amp/admin/images/logo.png HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /amp/admin/images/tab.png HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /panel/index_amp.php?context= HTTP/1.1” 404 1264 “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /amp/admin/images/tab-first.png HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.69.111 - - [11/Feb/2008:13:45:35 +0100] “GET /amp/admin/images/tab-select.png HTTP/1.1” 304 - “http://hostname/amp/admin/panel.php” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)”

it seems the error could be

“GET /panel/index_amp.php?context= HTTP/1.1” 404

so seems to search /panel instead of /amp

I can solve it creating a new alias in apache, associating /panel to /srv/www/amp/panel, but in principle I should not need that… or not ?

Any help will be gratly appreciated and if you need any further information please let me know.

thanks in advance,
Andrea

errata corrige:

this:
so seems to search /panel instead of /amp

should have been:
so seems to search /panel instead of /amp/panel