[Setup] Re: Setup Digest, Vol 52, Issue 5

Goran Sljivic sljivic at simet.hr
Fri Feb 12 12:33:26 UTC 2010


 Hello,

 Check this:

              

#a2enmod proxy proxy_http rewrite proxy_html

If is required instal next.

# apt-get install libapache2-mod-proxy-html

In /etc/apache2/mods-available/proxy.conf 
you must have.

<IfModule mod_proxy.c>

#turning ProxyRequests on and allowing proxying from all may allow

#spammers to use your proxy to send email.

RewriteEngine On

ProxyRequests Off


<Proxy *>

AddDefaultCharset off

Order deny,allow

# Deny from all

Allow from all


After any change  you must

           #/etc/init.d/apache2 restart


In /etc/apache2/sites-available you must have edit  your site config file.

 before row    </VirtualHost>


  example:

RewriteEngine On
RewriteRule ^(.*)$ 
http://127.0.0.1:8081/VirtualHostBase/http/myserver.mydomain:80/myplonesite/VirtualHostRoot/$1 
[L,P]

Save this edit and check in /etc/apache2/sites-enabled  soft link to 
your site config file.
Then restart 

#/etc/init.d/apache2 restart


Good luck,

   Goran           





setup-request at lists.plone.org wrote:
> Send Setup mailing list submissions to
> 	setup at lists.plone.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.plone.org/mailman/listinfo/setup
> or, via email, send a message with subject or body 'help' to
> 	setup-request at lists.plone.org
>
> You can reach the person managing the list at
> 	setup-owner at lists.plone.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Setup digest..."
>
>
> Today's Topics:
>
>    1. Can't get Plone to run on port 80 (Jofen)
>    2. Re: Can't get Plone to run on port 80 (Karl Johan Kleist)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Feb 2010 06:43:16 -0800 (PST)
> From: Jofen <jofen.kihlstrom at gmail.com>
> Subject: [Setup] Can't get Plone to run on port 80
> To: setup at lists.plone.org
> Message-ID: <1265899396235-4555065.post at n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Probably this is an easy thing for the one knowing how to...
>
> So first of all - what is the context...
> I run ubuntu 9.04
> I have a clean install of apache2
> I have a root, standalone install of the latest plone (unified installer)
> I use dyndns to connect to my computer that acts as a server.
>
> I have been spending hours of surfing the web, googling about how to make
> Apache play with Plone and I have tested dozens of tips without success...
>
> Via dyndns I point http://jofen.blogsite.org to my server and if I use that
> adress I get the standard "It works" page in apache.
>
> If I change the adress to http://jofen.blogsite.org:8080/Plone I can see my
> plone site.
>
> The only thing I want to do is to make apache serve the visitor with
> the Plone site on the adress http://jofen.blogsite.org (because that adress
> is so much easier to remember than the one with :8080/Plone in the end...
>
> So I have a virtual host monster in the root of the plone installation
>
> I have tried many different ways of achieving what I want
> - I have tried a proxy way only using apache as proxy, but got stuck with
> an 'Access denied' problem that I could not figure out. So I tried
> the mod_rewrite way of solving this but it ends up with 'Internal server
> error'
> however I do...
>
> So - what I want is an easy way of linking my plone site to the adress - 
> and I don't mind how it is done as long as it is working...
>
> Can anyone point to some kind of step by step guide, some forum thread
> that I might have missed or just give me some tips. I really like Plone but
> this is what made me uninstall about a year ago - the impossible ports
> problem....
>
> I have understood that there is a way to change Zope so it works on port 80
> or have I misunderstood? Is that easier?
>
> //Jofen
>   


-- 
Goran Sljivic,sistem-inzenjer
Metalurski fakultet u Sisku
 web:http://www.simet.hr
Aleja narodnih heroja 3
44103 Sisak, p.p. br.1 



Goran Sljivic,system engineer
 University  of Zagreb
 Faculty of Metallurgy
 web:http://www.simet.hr




More information about the Setup mailing list