Forums / Install & configuration / Please help with the Apache configuration

Please help with the Apache configuration

Author Message

paolo tikulin

Thursday 09 March 2006 8:49:16 am

Hi everybody,

I'm really not a specialist of the apache configuration, so I have some problems when I try to get out the index.php/siteaccess.

here the configuration about our httpd.con and the site.ini:

<b>httpd.conf </b>
------------------
NameVirtualHost mysite.zucvd090.mysite.ch:82
<VirtualHost mysite.zucvd090.mysite.ch:82>
ServerName mysite.zucvd090.mysite.ch
DocumentRoot "C:/MySofts/ezpublish-3.7.3-2/"
</VirtualHost>

NameVirtualHost admin.zucvd090.mysite.ch:82
<VirtualHost admin.zucvd090.mysite.ch:82>
ServerName admin.zucvd090.mysite.ch
DocumentRoot "C:/MySofts/ezpublish-3.7.3-2/"
</VirtualHost>

<b>override/site.ini.append.php </b>
-----------------------------
[SiteSettings]
DefaultAccess=mysite

[SiteAccessSettings]
CheckValidity=false
ForceVirtualHost=true
# When we need to have more than one language, we
# need to add other sites in this list named with
# the language key
AvailableSiteAccessList[]
AvailableSiteAccessList[]=mysite
AvailableSiteAccessList[]=mysite_admin
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]
HostMatchMapItems[]=admin.zucvd090.mysite.ch;unicible_admin
HostMatchMapItems[]=mysite.zucvd090.mysite.ch;mysite

<b>siteaccess/mysite/site.ini.append.php </b>
-----------------------------
[SiteSettings]
SiteName=mysite
# before it was localhost/index.php
SiteURL=mysite.zucvd090.mysite.ch
LoginPage=embedded

<b>siteaccess/unicible_admin/site.ini.append.php </b>
-----------------------------
[SiteSettings]
SiteName=mysite
# before it was localhost/index.php/mysite_admin
SiteURL=admin.zucvd090.mysite.ch
LoginPage=custom

The result is that is doesn't work. Moreover, the admin is not reachable anymore...when I try to keep it, I have a 404 error.

Could someone to help me?

Thanks in advance.

Ɓukasz Serwatka

Friday 10 March 2006 1:00:18 am

Follow this steps:

1. Edit your WINDOWS\system32\drivers\etc\hosts file and add new entry with

(in new line)
127.0.0.100 zucvd090.mysite.ch admin.zucvd090.mysite.ch

2. Follow instruction from:
http://ez.no/doc/ez_publish/technical_manual/3_6/installation/virtual_host_setup/virtual_host_example

(replace 128.39.140.28 with your 127.0.0.100 and add your port and replace /var/www/example with your path to eZ publish)

3. Restart apache and clear all eZ publish cache (empty var/cache and var/(site)/cache)

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

eZ debug

Timing: Jan 20 2025 11:02:24
Script start
Timing: Jan 20 2025 11:02:24
Module start 'content'
Timing: Jan 20 2025 11:02:25
Module end 'content'
Timing: Jan 20 2025 11:02:25
Script end

Main resources:

Total runtime1.3274 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1094180.8047
Module start 'content' 0.00611.1309 769.9141547.5781
Module end 'content' 1.13700.1903 1,317.4922332.7344
Script end 1.3273  1,650.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2974210.0002
Check MTime0.00140.1088210.0001
Mysql Total
Database connection0.00080.060910.0008
Mysqli_queries1.244293.73821910.0065
Looping result0.00200.15151890.0000
Template Total1.299497.920.6497
Template load0.00200.150320.0010
Template processing1.297497.743820.6487
Template load and register function0.00030.019910.0003
states
state_id_array0.00100.075210.0010
state_identifier_array0.00120.087220.0006
Override
Cache load0.00200.1505630.0000
Sytem overhead
Fetch class attribute can translate value0.00120.088830.0004
Fetch class attribute name0.00110.085230.0004
XML
Image XML parsing0.00110.084430.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00880.6606290.0003
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs