Apache configuration

Author Message

Børge Warvik

Tuesday 29 November 2005 4:00:52 am

I'm not sure this is the correct place to a question like this, but... here it goes...

I've been working around eZ Publish for a some days. Setting up the system on my local machine, and when I access the site I use the url "localhost". Then I changed it to be my static IP.

Access to the site has always been "localhost/index.php/blog" or the admin interface "localhost/index.php/blog_admin". The same goes with IP.

I would like to change this to IP = public interface. admin.IP = admin interface i.e. admin.127.0.0.1, can that be done?

Christian Johansen

Tuesday 29 November 2005 4:18:20 am

You'll need to set up a virtual host setup: http://ez.no/doc/ez_publish/technical_manual/3_6/installation/virtual_host_setup

If you want admin.127.0.0.1 to work you need to set that up as a host in your windows/system32/drivers/etc/hosts file. However, you can't mix a IP and domain name, so admin.127.0.0.1 will not be related to your localhost IP in any other way that those numbers are a part of the domain name you choose.

You can do this: set up this in your hosts file:
127.0.0.1 blog.local admin.blog.local

Then you complete the virtual host setup with those domains and you'll be able to access
http://blog.local and http://admin.blog.local
allthough, only locally. Hope that helped a little

Børge Warvik

Tuesday 29 November 2005 5:16:39 am

Thanks, that helped.

That I can't do admin.127.0.0.1 is good to know.

By local do you meen localhost? Like admin.localhost?

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 31 2025 08:04:11
Script start
Timing: Jan 31 2025 08:04:11
Module start 'layout'
Timing: Jan 31 2025 08:04:11
Module start 'content'
Timing: Jan 31 2025 08:04:12
Module end 'content'
Timing: Jan 31 2025 08:04:12
Script end

Main resources:

Total runtime1.1601 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.2500151.2109
Module start 'layout' 0.00560.0027 740.460936.6641
Module start 'content' 0.00831.1509 777.1250926.7344
Module end 'content' 1.15920.0008 1,703.859411.8594
Script end 1.1600  1,715.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2807160.0002
Check MTime0.00140.1178160.0001
Mysql Total
Database connection0.00080.068610.0008
Mysqli_queries1.109695.6478570.0195
Looping result0.00050.0416550.0000
Template Total1.125497.020.5627
Template load0.00210.182620.0011
Template processing1.123396.830420.5616
Template load and register function0.00140.122110.0014
states
state_id_array0.00110.097810.0011
state_identifier_array0.00120.102920.0006
Override
Cache load0.00170.1473210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.045320.0003
Fetch class attribute name0.00170.144340.0004
XML
Image XML parsing0.00310.266620.0015
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00390.3370160.0002
String conversion0.00000.000740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs