Current time: 11-22-2024, 03:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Author Message
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #21
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Ok, here is the required changes for Ubuntu 8.10, using ispcp-dailysnapshot.20081228:

You have to modify your configs/ubuntu/apache/00_master.conf at fcgid settings like this:
Code:
<IfModule mod_fcgid.c>
        <Directory {ROOT_DIR}/gui>
            FCGIWrapper {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "{PHP_STARTER_DIR}/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
After this modification, you can change some packages to get an updated packages list:
Code:
# cp docs/Ubuntu/ubuntu-packages-hardy docs/Ubuntu/ubuntu-packages-intrepid
# diff -u docs/Ubuntu/ubuntu-packages-hardy docs/Ubuntu/ubuntu-packages-intrepid
--- docs/Ubuntu/ubuntu-packages-hardy   2008-11-09 11:07:33.000000000 +0100
+++ docs/Ubuntu/ubuntu-packages-intrepid        2008-12-28 21:51:56.000000000 +0100
@@ -39,7 +39,7 @@
libnet-libidn-perl
libnet-netmask-perl
libnet-smtp-server-perl
-libperl5.8
+libperl5.10
libsasl2-2
libsasl2-modules
libsnmp-session-perl
@@ -72,7 +72,7 @@
postgrey
procmail
proftpd
-proftpd-mysql
+proftpd-mod-mysql
rkhunter
sasl2-bin
ssh

Now you can follow the INSTALL document, using fcgid as your php engine.
When you will visit your fresh ispcp control panel, you will get php errors.
You have to invoke the following commands to fix permissions issues:
Code:
# chmod 0775 /var/www/ispcp/gui/phptemp
# chmod 0775 /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/HTML
# chmod 0775 /var/www/ispcp/gui//themes/user_logos

If everything went well, you will get the login page correctly and now you can login.
I checked it until this step.

UPDATE
Known "problem" after I check the installation:
I got a proftpd error message during the ispcp setup, regarding *SQL* statement or similar. Sorry, I cannot remember after the screen run out of my console. I did not able to scroll back (I used screen commandline utility, sorry).
* SOLVED by developers: proftpd will not work, due to the problem "described" above
* amavisd-new and spamassassin is not on the list, must install before the ispcp setup. That means, it would be nice to put them into the packages.
(This post was last modified: 12-29-2008 07:57 AM by pongraczi.)
12-29-2008 07:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel - pongraczi - 12-29-2008 07:40 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)