Hi,
 
Thanks for replying. The following is the output of ls -lh /usr/share/toaster/cgi-bin/vqadmin/toaster.vqadmin:
 
-rwsr-sr-x  1 root root 116K Jan 27 12:40 /usr/share/toaster/cgi-bin/vqadmin/toaster.vqadmin
 
And I actually have selinux disabled, the /etc/selinux/config only has 2 valid lines:
 
SELINUX=Disabled
SELINUXTYPE=targeted
 
I wonder if it's my apache conf.... my toaster.conf file looks like this:
 
 
<IfModule mod_alias.c>
    ScriptAlias /mail/ /usr/share/toaster/cgi-bin/
    Alias /admin-toaster/ /usr/share/toaster/htdocs/admin/
    Alias /stats-toaster/ /usr/share/toaster/htdocs/mrtg/
    Alias /qlogs-toaster/ /usr/share/toaster/htdocs/isoqlog/
    Alias /images-toaster/ /usr/share/toaster/htdocs/images/
    Alias /scripts/ /usr/share/toaster/htdocs/scripts/
    Alias /qmailadmin /usr/share/qmailadmin/
</IfModule>
<Directory /usr/share/qmailadmin>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AddHandler cgi-script .cgi
    AddHandler cgi-script qmailadmin
    DirectoryIndex index.cgi qmailadmin index.html
    Options +Indexes FollowSymLinks +ExecCGI
    Order allow,deny
    Allow from all
</Directory>
<Directory /usr/share/toaster/htdocs>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    Options -Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
<Directory /usr/share/toaster/htdocs/admin>
    <IfModule mod_php4.c>
        php_value include_path /usr/share/php:/usr/share/pear:.
        php_admin_flag safe_mode On
        php_admin_value open_basedir /usr/share/toaster
        php_admin_value safe_mode_allowed_env_vars PHP_
        php_admin_value safe_mode_protected_env_vars LD_LIBRARY_PATH
        php_admin_value disable_functions include
        php_admin_value safe_mode_exec_dir /usr/share/toaster/include
    </IfModule>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AuthType Basic
    AuthName "Qmail Toaster v. 1.2 Admin"
    AuthUserFile /usr/share/toaster/include/admin.htpasswd
    require valid-user
</Directory>
<Directory /usr/share/toaster/htdocs/mrtg>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AuthType Basic
    AuthName "Qmail Toaster v. 1.2 Admin"
    AuthUserFile /usr/share/toaster/include/admin.htpasswd
    require valid-user
</Directory>
<Directory /usr/share/toaster/htdocs/mrtg>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AllowOverride All
    Order allow,deny
    Allow from all
    AuthType Basic
    AuthName "Qmail Toaster v. 1.2 Admin"
    AuthUserFile /usr/share/toaster/include/admin.htpasswd
    require valid-user
</Directory>
<Directory /usr/share/toaster/htdocs/isoqlog>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AllowOverride All
    Order allow,deny
    Allow from all
    AuthType Basic
    AuthName "Qmail Toaster v. 1.2 Admin"
    AuthUserFile /usr/share/toaster/include/admin.htpasswd
    require valid-user
</Directory>
<Directory /usr/share/toaster/cgi-bin/vqadmin>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AllowOverride All
    Options ExecCGI
    Order allow,deny
    Allow from all
    AuthType Basic
    AuthName "Qmail Toaster v. 1.2 Admin"
    AuthUserFile /usr/share/toaster/include/admin.htpasswd
    require valid-user
</Directory>
<Directory /usr/share/toaster/cgi-bin>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]
    AllowOverride All
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>
 
 
I can access every other admin-toaster functions except 2 things:
 
1. change password
I tried changing the password and after submitting the form, everything seems fine, but password is not changed! I had to manually change the password by creating http auth password files myself and replace admin.passwd
 
2. vqadmin
It was working before, but suddenly it gives me:

Forbidden

You don't have permission to access /mail/vqadmin/toaster.vqadmin on this server.


Apache/2 Server at xxx.xxx.xxx Port 443
 
 
Best Regards,
 
Peter Wu
 
 


From: Jean-Paul van de Plasse [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 01, 2006 7:35 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] everything's working except vqadmin ...

Maybe selinux got enabled, any errors in /var/log/messages when you acces vqadmin.
Or what does /etc/selinux/config say.
 
What does the apache error log tell you.
 
 
----- Original Message -----
From: Yi-Lei Wu
Sent: Saturday, April 01, 2006 6:45 AM
Subject: RE: [qmailtoaster] everything's working except vqadmin ...

Yup~ it is~


From: Gabriel Lai Yong Shern [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 01, 2006 9:18 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] everything's working except vqadmin ...

Is Mysql running? service mysqld status......vqadmin is using Mysql as backend database...

Yi-Lei Wu wrote:
Hi all,
 
I am running CentOS 4.3, and used the menu installation to install qmail
toaster. Everything was going fine, and after installation, everything
works. Now after a few months, my vqadmin suddenly stopped working.
Everything I try to access vqadmin I get "403 Forbidden - You don't have
permission to access /mail/vqadmin/toaster.vqadmin on this server."
 
I am running Apache 2, PHP 4.3.9.... does anyone have the same problem or
have a solution?
 
 
 
Best regards,
 
Peter Wu
 

  

Reply via email to