Current time: 04-20-2024, 01:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Fixed] RC6 -> 1.0 work, but... Panel acces give 403
Author Message
Quemeros Offline
Junior Member
*

Posts: 86
Joined: Nov 2007
Reputation: 0
Post: #1
Sad [Fixed] RC6 -> 1.0 work, but... Panel acces give 403
First, i update from Etch to Lenny, test that everything is Ok... and then update from RC6 to 1.0.

Process finish correctly, but i found 2 problems...
1st, Panel is inaccesible. Before update, i have SSL and Standar acces, now both show me 403 Error. (in login screen). I can access to favicon and robot.txt (with SSL and without), but no to index.php Sad

I have standar configuration of apache and php, but php is the dotedeb package. fcgid_ispcp enabled. Etc...

Anybody know what can i look to fix this? May be permison? may be php chown?

2nd problem, Mail users autenthication fails, show password error. Now mails are encrypted, and i can't update databaseSad

Version del tema en Español
(This post was last modified: 03-18-2009 04:03 AM by Quemeros.)
03-17-2009 03:00 PM
Find all posts by this user Quote this message in a reply
Quemeros Offline
Junior Member
*

Posts: 86
Joined: Nov 2007
Reputation: 0
Post: #2
RE: RC6 -> 1.0 work, but... Panel acces give 403
Well in Spanish version of this thread Kurgans say me that the error, may be is for a mix of fcgi and fast_cgi.

I try:
apt-get install libapache2-mod-fcgid
a2dismod fcgid
a2enmod fcgid_ispcp
/etc/init.d/apache2 restart
and nothing.

Then i found this in suexec log (to confirm the problem with php)
A comun domain before ispCP update
Code:
[2009-03-16 19:10:33]: uid: (vu20xx/vu20xx) gid: (20xx/vu20xx) cmd: php5-fcgi-starter
Panel access before ispCP update
Code:
[2009-03-16 19:10:04]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter

Comun domain now
Code:
[2009-03-16 22:34:31]: uid: (20xx/vu20xx) gid: (20xx/vu20xx) cmd: php5-fcgi-starter
Panel access now... Null, i can't found any vu2000.

Apache error log
Code:
[error] [client xxx.xxx.xxx.xxx] Directory index forbidden by Options directive: /var/www/ispcp/gui/

- - - - - - - - - - - - - -
Kurgans (translated)
Quote:It's like the gui directory cahnge of owner, and don't give you access.

dr-xr-xr-x 12 vu2000 www-data 4096 mar 11 18:59 gui

Test update your php
If that do not result, it's some mix of routes in 00_master.conf

But me start from update your php
Look the version that you are running.

- - - - - - - - - - - -
Then, i look this:

/var/www/ispcp/ ls -la
Code:
...
dr-xr-xr-x 12 vu2000 www-data 4096 mar 17 00:19 gui
...
/var/www/ispcp/gui/ ls -la
Code:
dr-xr-xr-x  2 vu2000 www-data 4096 mar 17 00:14 admin
dr-xr-xr-x  2 vu2000 www-data 4096 mar 16 22:23 client
dr-xr-xr-x  3 vu2000 www-data 4096 jun 19  2008 domain_default_page
dr-xr-xr-x  3 vu2000 www-data 4096 may 29  2008 errordocs
-r--r--r--  1 vu2000 www-data 1886 mar 16 22:24 favicon.ico
-r--r--r--  1 vu2000 www-data 1009 mar 16 22:24 imagecode.php
dr-xr-xr-x  4 vu2000 www-data 4096 mar 16 22:24 include
-r--r--r--  1 vu2000 www-data 3233 mar 16 22:23 index.php
-r--r--r--  1 vu2000 www-data 4566 mar 16 22:24 lostpassword.php
dr-xr-xr-x  2 vu2000 www-data 4096 mar 16 22:24 orderpanel
drwxr-xr-x  2 vu2000 www-data 4096 mar 16 23:00 phptmp
dr-xr-xr-x  2 vu2000 www-data 4096 mar 16 22:24 reseller
-r--r--r--  1 vu2000 www-data   25 mar 16 22:24 robots.txt
dr-xr-xr-x  4 vu2000 www-data 4096 mar 16 22:23 themes
dr-xr-xr-x  5 vu2000 www-data 4096 may 29  2008 tools

/etc/apache2/sites-available/00_master.conf
Code:
<VirtualHost xxx.xxx.xxx.xxx:80>

    ServerAdmin     MY MAIL
    DocumentRoot    /var/www/ispcp/gui

    ServerName      PANELACCES.DOMAIN.TDL

    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory "/var/www/ispcp/gui">
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>

Well, at the moment i don't found a solution... i will continue trying and waiting for help.
(This post was last modified: 03-18-2009 03:59 AM by Quemeros.)
03-18-2009 02:19 AM
Find all posts by this user Quote this message in a reply
Quemeros Offline
Junior Member
*

Posts: 86
Joined: Nov 2007
Reputation: 0
Post: #3
RE: RC6 -> 1.0 work, but... Panel acces give 403
I found the solution...Big GrinBig GrinBig Grin

i only add the mod_fcgid that now use ispCP for default in /etc/apache2/sites-available/00_master.conf
Code:
<IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

Thanks KurgansWink!
(This post was last modified: 03-18-2009 03:58 AM by Quemeros.)
03-18-2009 03:55 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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