index.php of admin siteaccess not interpreted

Author Message

Leigh Gable

Sunday 15 November 2009 12:13:48 pm

Hello,

I am setting up a 4.2 install in virtual host mode. I get the front page, and the user login works as well. However, when I try to go to the admin siteaccess by entering the URL, I get uninterpreted php code--the index.php no doubt.

When I try to access the admin interface through the Ez Webin login (by checking the box to do so), I get a Kernel error (20), and Firebug NET displays a POST 404 error at the URL http://www.domain.com/index.php/domain_admin/user/login

Does anyone have any light they can shed on this problem?

 [SiteSettings]
DefaultAccess=eng
SiteList[]
SiteList[]=domain
SiteList[]=eng
SiteList[]=domain_admin
SiteList[]=iphone
RootNodeDepth=1

[UserSettings]
LogoutRedirect=/

[SiteAccessSettings]
CheckValidity=false
ForceVirtualHost=true
AvailableSiteAccessList[]
AvailableSiteAccessList[]=domain
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=domain_admin
AvailableSiteAccessList[]=iphone
MatchOrder=host
HostMatchMapItems[]=www.domain.com;domain
HostMatchMapItems[]=domain_admin

Ɓukasz Serwatka

Tuesday 08 December 2009 2:41:56 am

Hi,

Your configuration seems to be wrong. It does not work like that. You need host,uri matching in order to make it work like you said. Or add

HostMatchMapItems[]=www.admin.domain.com;domain_admin

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 01:56:11
Script start
Timing: Jan 18 2025 01:56:11
Module start 'layout'
Timing: Jan 18 2025 01:56:11
Module start 'content'
Timing: Jan 18 2025 01:56:12
Module end 'content'
Timing: Jan 18 2025 01:56:12
Script end

Main resources:

Total runtime0.7190 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.1641152.6563
Module start 'layout' 0.00650.0034 740.820339.5078
Module start 'content' 0.00990.7076 780.3281526.1719
Module end 'content' 0.71750.0015 1,306.50008.2656
Script end 0.7190  1,314.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4773160.0002
Check MTime0.00130.1835160.0001
Mysql Total
Database connection0.00070.099910.0007
Mysqli_queries0.671393.3638540.0124
Looping result0.00050.0663520.0000
Template Total0.686295.420.3431
Template load0.00220.310620.0011
Template processing0.684095.125720.3420
Template load and register function0.00010.019610.0001
states
state_id_array0.00090.130910.0009
state_identifier_array0.00110.151920.0005
Override
Cache load0.00180.2465130.0001
Sytem overhead
Fetch class attribute can translate value0.00040.062020.0002
Fetch class attribute name0.00130.182430.0004
XML
Image XML parsing0.00070.095720.0003
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00280.3864180.0002
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs