eZ Publish on port other than 80

Author Message

Hugo Oliveira

Monday 05 February 2007 3:29:03 am

Hi everyone

I apologize if this has already been answered elsewhere but I haven't been able to find it.

I would like to know how to configure an eZ Publish installation so that it can listen on other port than port 80. I'm guessing it has mainly to do with apache but I would like to ask for help if that's not a problem.

Thanks in advance.

Sébastien Morel

Monday 05 February 2007 4:26:46 pm

Hi,

You can define this with :
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/siteaccesssettings/matchorder

;)

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

Michael Maclean

Wednesday 07 February 2007 1:43:46 am

Hi,
Will need to do some Apache modification, yes. It should likely just be a case of using the Listen directive in httpd.conf to make the server listen on a different port.

http://httpd.apache.org/docs/1.3/mod/core.html#listen for Apache 1.3 or
http://httpd.apache.org/docs/2.0/mod/mpm_common.html#listen for Apache 2.0.

If you only have Apache listening on one port, you can just use eZ publish as normal, though if you're using it on a port other than 80 and using the Host-based access system you might need to specify the port in the settings/override/site.ini.append.php, like this (assuming you are using port 81):

[SiteAccessSettings]
MatchOrder=host
HostMatchMapItems[]=hostname.example.org:81;siteaccess_1
HostMatchMapItems[]=admin.example.org:81;admin_siteaccess

(At least, I have to on one of my sites.)

Alternatively, the link that Sébastian supplied will tell you how to have the user siteaccess and the admin siteaccess on different ports.

Hope that makes sense!

eZpedia community documentation project | http://ezpedia.org

Hugo Oliveira

Wednesday 07 February 2007 5:10:57 am

Thanks guys. I haven't yet had the chance to use it but it looks like what I needed. Thanks again.

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

Main resources:

Total runtime0.0133 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.2578151.2266
Module start 'layout' 0.00440.0023 739.484436.6797
Module start 'content' 0.00670.0052 776.164194.1875
Module end 'content' 0.01190.0014 870.351633.9922
Script end 0.0133  904.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.3342140.0002
Check MTime0.00107.7077140.0001
Mysql Total
Database connection0.00074.903110.0007
Mysqli_queries0.002015.345730.0007
Looping result0.00000.105510.0000
Template Total0.00117.910.0011
Template load0.00086.109710.0008
Template processing0.00021.776810.0002
Override
Cache load0.00064.325810.0006
General
dbfile0.001712.392780.0002
String conversion0.00000.051840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs