ispCP - Board - Support
apache frontend not working with ispcp - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: apache frontend not working with ispcp (/thread-12679.html)



apache frontend not working with ispcp - fpwgmbh - 01-15-2011 02:40 AM

I have a working ispcp 1.07 installation on Ubuntu 10.04.1 LTS.
Additionally I have a second server with Ubuntu/Apache installed as a frontend for the ispcp server. A simple rewrite rule should redirect incoming traffic from the frontend to the ispcp server. The rewrite is working too, but:

When I click on http://frontend-server/ispcp/admin/settings.php within the menu the logfile shows it first calls http://ispcp-server/ispcp1/admin/settings.php correctly (ispcp1 is an alias) but then it calls admin/index.php too.
The strange thing about is that when entering the same url (http://frontend-server/ispcp/admin/settings.php) into the browser it does work.

My idea is that has something to do with session/login checking. Has anybody some experience/ideas about using a frontend with ispcp?
(I have done the same with an vhcs installation without a problem.)


RE: apache frontend not working with ispcp - MFernandes - 01-15-2011 11:46 AM

browsercache?


RE: apache frontend not working with ispcp - fpwgmbh - 01-17-2011 09:00 PM

(01-15-2011 11:46 AM)MFernandes Wrote:  browsercache?

Sorry, no.


RE: apache frontend not working with ispcp - fpwgmbh - 01-18-2011 02:00 AM

I solved the problem by removing the code for "prevent external login" (check_login()/login_functions.php). Probably not an elegant solution and definitely not a secure one.