ian Posted May 31, 2011 Report Share Posted May 31, 2011 I installed Orion 7.0.6 on an XP VM running under Virtual box, and it all worked just fine - still does. Then I moved the whole /UniServer/ directory and all its contents onto a Small Business 2008 server - and Apache is serving my content, and php is being processed correctly, so my application works fine. But the admin functions and phpmyadmin all give a 403 error. (When run on the main console and when run via LogMeIn). Can someone guess what is wrong, or point me in the right direction to discover the problem? Thanks Ian Quote Link to comment Share on other sites More sharing options...
ian Posted June 2, 2011 Author Report Share Posted June 2, 2011 Soem more data. The error log entry is like this [Thu Jun 02 11:11:47 2011] [error] [client ::1] client denied by server configuration: C:/Orion/UniServer/home/admin/www/, referer: http://localhost/ The relevant entry from C:\Orion\UniServer\usr\local\apache2\conf\httpd.conf is Alias /apanel "C:/Orion/UniServer/home/admin/www/" <Directory "C:/Orion/UniServer/home/admin/www/"> Options Indexes Includes AllowOverride All Order allow,deny Allow from all </Directory> The .htaccess file in C:\Orion\UniServer\home\admin\www contains Order Deny,Allow Deny from all Allow from 127.0.0.1 Allow from localhost AddHandler cgi-script .bat .exe .pl .cgi Options +ExecCGI (and commented lines). I have restarted Apache. And I still get 403 errors froim http://localhost/apanel on Server 2008, when logged in as administrator on the consol. Has anyone any idea what is happeneing? I've lost what littel hair ai have left. Ian Quote Link to comment Share on other sites More sharing options...
ian Posted June 2, 2011 Author Report Share Posted June 2, 2011 Cracked it! IP6 is enabled - and localhost in IP6 is ::1 not 127.0.0.1 - and both definitions were in the hosts file with ::1 coming last. I have commented out the IP6 definition of localhost and all works as expected. Quote Link to comment Share on other sites More sharing options...
nikudza Posted June 3, 2011 Report Share Posted June 3, 2011 Hi, got the same problem after switching from Orion_7_0_1 to Orion_7_0_7 (probably missed a few versions). The funny thing is - Opera has no problem to access localhost/apanel (or localhost/anything), while, for example, IE or Google Chrome get "403 forbidden" error. I tried to figure out ian's solution but I couldn't. ...help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.