Forums / Install & configuration / eZ Publish on port other than 80

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.