Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: webmail pro 8 - index can’t displayed Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 21 February 2020 at 2:02am | IP Logged Quote wbenkhoud

Hello,

when loading first login interface, index.php code is displayed instead of solving system/autoload.php

Is there any recommandations for apache configuration?

My config :

<VirtualHost *:80>

    ServerName webmailtest1.tn
    ServerAlias www.webmailtest1.tn
    DocumentRoot /var/www/afterlogic8
        <Directory "/var/www/afterlogic8">
        Options FollowSymLinks
        Order allow,deny
        Allow from all
        </Directory>
    ErrorLog /var/www/afterlogic8/error.log
    CustomLog /var/www/afterlogic8/requests.log combined
</VirtualHost>

Thank you.
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 21 February 2020 at 2:08am | IP Logged Quote Igor

Are you saying that you get a source code of index.php page displayed in the browser? In that case, looks like PHP isn't configured to handle .php scripts and you should look into that.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 21 February 2020 at 2:16am | IP Logged Quote wbenkhoud

In fact, every thing worked fine before changing apache config to use virtual hosts. That's why I eliminate php issue

Any idea about php options tha must be installed?

Those that I use :
php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
ldap
libxml
mbstring
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

Any help?
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 21 February 2020 at 2:19am | IP Logged Quote Igor

Right now I'm trying to understand what's going on exactly:

Quote:
Are you saying that you get a source code of index.php page displayed in the browser?


--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 21 February 2020 at 2:22am | IP Logged Quote wbenkhoud

Yes
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 21 February 2020 at 2:22am | IP Logged Quote Igor

...and if so, this discussion thread may be of use:

Apache Virtual Host not parsing PHP

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 21 February 2020 at 6:23am | IP Logged Quote wbenkhoud

Hi, it was a problem related the http default configuration. After commenting them, no more index code apperas. However, it says forbidden (403) even data folder has the right permission. Any suggestion?

Thank you
Regards,
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 22 February 2020 at 1:26am | IP Logged Quote wbenkhoud

Error LOG

[Sat Feb 22 09:31:29.776984 2020] [autoindex:error] [pid 2624] [client 10.10.100.49:60808] AH01276: Cannot serve directory /var/www/afterlogic835/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 February 2020 at 9:59pm | IP Logged Quote Igor

Per the error message, try setting DirectoryIndex to index.php in Apache configuration. The problem doesn't look related to WebMail anyway, see if a simple index.php with something like <?php phpinfo(); there works for you.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 24 February 2020 at 6:58am | IP Logged Quote wbenkhoud

Absolutely, it was httpd configuration missmatched.
Thank you.
Best regards,
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide