postfixadmin won't display ../admin/list-admin.php

Discuss Networking
Post Reply
Copperhead
scripter
scripter
Posts: 83
Joined: Wed May 14, 2003 1:12 am
Location: Los Angeles, CA, USA

postfixadmin won't display ../admin/list-admin.php

Post by Copperhead » Fri Jun 27, 2008 4:19 pm

For reasons unknown to me, I am getting a blank page when I try to administrate postfixadmin. I believe that I have set up everything properly, at least according to the setup.php page, but after I enter my .htaccess username and password, I get a nice, white screen staring back at me.

Permission are set accordingly:

Code: Select all

drwxr-xr-x  8 www   www     1024 Jun 27 13:42 .
drwxr-xr-x  4 root  wheel    512 Jun 27 00:43 ..
-rw-r-----  1 www   www     1195 Jun 27 00:43 BACKUP_MX.TXT
-rw-r-----  1 www   www    10155 Jun 27 00:43 CHANGELOG.TXT
-rw-r-----  1 www   www     4921 Jun 27 11:27 DATABASE_MYSQL.TXT
-rw-r-----  1 www   www     4955 Jun 27 00:43 DATABASE_PGSQL.TXT
-rw-r-----  1 www   www     2655 Jun 27 00:43 INSTALL.TXT
-rw-r-----  1 www   www     1651 Jun 27 00:43 LANGUAGE.TXT
-rw-r-----  1 www   www     5375 Jun 27 00:43 LICENSE.TXT
-rw-r-----  1 www   www      456 Jun 27 00:43 TABLE_BACKUP_MX.TXT
-rw-r-----  1 www   www     3737 Jun 27 00:43 TABLE_CHANGES.TXT
-rw-r-----  1 www   www     2303 Jun 27 00:43 UPGRADE.TXT
drwxr-xr-x  2 www   www      512 Jun 27 00:43 VIRTUAL_VACATION
drwxr-xr-x  2 www   www     1024 Jun 27 00:43 admin
-rw-r-----  1 www   www     5444 Jun 27 12:37 config.inc.php
-rw-r-----  1 www   www     4694 Jun 27 00:43 config.inc.php.sample
-rw-r-----  1 www   www     3774 Jun 27 00:43 create-alias.php
-rw-r-----  1 www   www     7300 Jun 27 00:43 create-mailbox.php
-rw-r-----  1 www   www     2337 Jun 27 00:43 delete.php
-rw-r-----  1 www   www     1727 Jun 27 00:43 edit-active.php
-rw-r-----  1 www   www     3013 Jun 27 00:43 edit-alias.php
-rw-r-----  1 www   www     4026 Jun 27 00:43 edit-mailbox.php
-rw-r-----  1 www   www    25125 Jun 27 00:43 functions.inc.php
drwxr-xr-x  2 www   www      512 Jun 27 00:43 images
-rw-r-----  1 www   www     3994 Jun 27 00:43 index.php
drwxr-xr-x  2 www   www      512 Jun 27 00:43 languages
-rw-r-----  1 www   www     1743 Jun 27 00:43 login.php
-rw-r-----  1 www   www      494 Jun 27 00:43 logout.php
-rw-r-----  1 www   www      869 Jun 27 00:43 main.php
-rw-r-----  1 www   www     4827 Jun 27 00:43 overview.php
-rw-r-----  1 www   www     2314 Jun 27 00:43 password.php
-rw-r-----  1 www   www     3233 Jun 27 00:43 search.php
-rw-r-----  1 www   www     2119 Jun 27 00:43 sendmail.php
-rw-r-----  1 www   www     5506 Jun 27 00:43 setup.php.bak
-rw-r-----  1 www   www     4204 Jun 27 00:43 stylesheet.css
drwxr-xr-x  2 www   www     1024 Jun 27 00:43 templates
drwxr-xr-x  2 www   www      512 Jun 27 00:43 users
-rw-r-----  1 www   www     1949 Jun 27 00:43 variables.inc.php
-rw-r-----  1 www   www     1965 Jun 27 00:43 viewlog.php
Permissons on the admin directory are set the same.

If anyone needs any other info, such as log files, configs, etc., I'll post them as well.

Thanks

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Fri Jun 27, 2008 5:25 pm

What username does your web server run under (usually it's "httpd" or "apache")? By looking at your permissions your we server doesn't have permission to read the files in that directory. Assuming the permissions are the same on the files in those subdirectories you probably want to "chmod -R a+r /var/www/whateverthatdirectoryis". To make all those files in that directory and in the subdirectories under it world readable.

Copperhead
scripter
scripter
Posts: 83
Joined: Wed May 14, 2003 1:12 am
Location: Los Angeles, CA, USA

Post by Copperhead » Fri Jun 27, 2008 6:06 pm

Scratch that!!! I forgot to encapsulate one line in the postfixadmin config.inc.php file. Two hours for one character. I love it! :D

I was reading the wrong log file. Thanks anyways.

Post Reply