You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Blomstrom <da...@yahoo.com> on 2005/08/04 17:13:46 UTC

[users@httpd] What ports can I substitute for 8080?

I'm trying out a content management system called
Plone, which uses a server called Zope. I understand
that I can replace Zope with Apache if I set Apache up
as a "proxy server." I haven't figured out how to do
that yet, but I've been told that I can also run
Apache and Zope at the same time if I assign Plone a
different port number.

When I open the Plone Controller, Plone HTTP is set at
80, Zope Management HTTP at 8080. The Manual says I
could change Plone to 9090 or 9687 (I think; or
something similar). But neither one works. I get a
"The connection was refused" error.

If I change Plone to 8080, it connects me to
http://localhost:8080/...which displays a Zope quick
start page.

So I guess what I need to know is what other port
numbers can I experiment with? I've hardly ever played
with them before. I believe my Apache server is set up
at 8080.

Again, I THINK what I want to do is find a server
number that will allow Plone to function until I
figure out how to turn Apache into a proxy server.

Thanks.



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] What ports can I substitute for 8080?

Posted by Be...@peopleware.be.
Correction to my last mail; don't add a CMF site; add a Plone site ... off 
course...  silly me... sorry 'bout that





Regards,

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be 
http://www.mobileware.be 
u r lame if u insist on trying 2 b l337 by abbrev evythng u type when 
asking ppl 4 hlp. kiddie speak is teh sux. ppl. plz stop teh kiddie speak. 
thx.
hint: aol kiddie speak is not cool, it just makes people not want to read 
your post.





David Blomstrom <da...@yahoo.com> 
04/08/2005 17:40
Please respond to
users@httpd.apache.org


To
users@httpd.apache.org
cc

Subject
Re: [users@httpd] What ports can I substitute for 8080?






--- Bert_De_Ridder@peopleware.be wrote:

> You should do it right from the beginning :-)
> 
> Here's how you set up a virtual host for Plone : 
> 
> (don't forget to load mod_rewrite)
> 
> <virtualhost *>
>   ServerName www.yourdomain.com
>   RewriteEngine on
>   RewriteRule ^/(.*) 
>
http://localhost:8080/VirtualHostBase/http/www.yourdomain.com:80/YourPloneInstanceName/VirtualHostRoot/$1

> 
> [L,P]
>   ErrorLog /var/log/plone2/plonesite.log
>   LogFormat "%h %l %u %t \"%r\" %>s %b
> \"%{Referer}i\" \"%{User-Agent}i\""
>   TransferLog /var/log/plone2/transfer-plonesite.log
>   ProxyVia On
> </virtualhost>
> 
> 
> You also need to have the virtualhostmonster product
> in your zope setup.

Thanks; that looks pretty thorough!

I'm a little confused, though. First, how do you "load
mod_rewrwite"?

Second, it looks like I have to modify both of these
values: www.yourdomain.com:80/YourPloneInstanceName

On my C drive, I have a folder named Zope-Instance,
which contains a folder named Plone 2. So would I
replace "YourPloneInstanceName" with
Zope-Instance/Plone 2?

I'm not sure what to substitute for
www.yourdomain.com:80. I haven't created a website in
Plone/Zope yet. I'm just trying to set up a proxy
server so I can view the Plone home page.

Third, when I try to create a Virtual Host Monster, I
get this message:

Error Type: BadRequest
Error Value: This container already has a Virtual Host
Monster

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



Re: [users@httpd] What ports can I substitute for 8080?

Posted by Be...@peopleware.be.
Well, it's getting a bit off-topic for this list, but here goes : 

1) "I'm a little confused, though. First, how do you "load
mod_rewrwite"?"

That's an Apache question, still in place ;-)

Just make sure that somewhere in your httpd.conf (or included files) there 
is a directive like this
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
The path to the .so obviously depends on your installation; I don't really 
know how to specify a path to a .dll in Windows
There should already be some LoadModule lines, so compare with one of 
those.

2) "So would I replace "YourPloneInstanceName" with Zope-Instance/Plone 
2?"

Have a look at http://127.0.0.1:8080/manage on your server; this is 
actually the content of Zope; remember, Plone is a framework (meaning : a 
bunch of components) that works under Zope, Plone is nothing without Zope. 
Zope is the 'environment' or if you want to call it like that your 
'virtual machine' where the Plone code runs. 
On this page you should see something called the Root Folder. This is the 
Zope root folder. Under this root, there probably will be a plone web site 
object. (a little circle with the 3 dots in it)
"YourPloneInstanceName" has to be substituted with the name of this 
object.
This could very well be named "Plone" in a default installation.
If it's not there, create one : On the top right of the right frame, 
select "CMF Site" and click Add, follow the screen; the ID is the name of 
your Plone Site
<getting very off topic now, my apologies to the rest of the list> 

The "www.yourdomain.com:80" should be substituted with the domainrequest 
Apache receives and the portname it receives it on.
If you don't have a *real*  domain name; just fake one in your hosts file. 
On the side of the client (where the browser runs, can very well be the 
server itself as well), in the file C:\Windows\System32\drivers\etc\hosts 
add a line like this : 

x.x.x.x www.mydomain.com

where x.x.x.x is the ipaddress of your server. 

This page also gives some info : 
http://plone.org/documentation/tutorial/plone-apache/virtualhost

3) Also in this root folder; there probably already is a 
VirtualHostMonster; no problem then; you only need one for every zope 
server.


HTH





Kind regards,

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be 
http://www.mobileware.be 
u r lame if u insist on trying 2 b l337 by abbrev evythng u type when 
asking ppl 4 hlp. kiddie speak is teh sux. ppl. plz stop teh kiddie speak. 
thx.
hint: aol kiddie speak is not cool, it just makes people not want to read 
your post.





David Blomstrom <da...@yahoo.com> 
04/08/2005 17:40
Please respond to
users@httpd.apache.org


To
users@httpd.apache.org
cc

Subject
Re: [users@httpd] What ports can I substitute for 8080?






--- Bert_De_Ridder@peopleware.be wrote:

> You should do it right from the beginning :-)
> 
> Here's how you set up a virtual host for Plone : 
> 
> (don't forget to load mod_rewrite)
> 
> <virtualhost *>
>   ServerName www.yourdomain.com
>   RewriteEngine on
>   RewriteRule ^/(.*) 
>
http://localhost:8080/VirtualHostBase/http/www.yourdomain.com:80/YourPloneInstanceName/VirtualHostRoot/$1

> 
> [L,P]
>   ErrorLog /var/log/plone2/plonesite.log
>   LogFormat "%h %l %u %t \"%r\" %>s %b
> \"%{Referer}i\" \"%{User-Agent}i\""
>   TransferLog /var/log/plone2/transfer-plonesite.log
>   ProxyVia On
> </virtualhost>
> 
> 
> You also need to have the virtualhostmonster product
> in your zope setup.

Thanks; that looks pretty thorough!

I'm a little confused, though. First, how do you "load
mod_rewrwite"?

Second, it looks like I have to modify both of these
values: www.yourdomain.com:80/YourPloneInstanceName

On my C drive, I have a folder named Zope-Instance,
which contains a folder named Plone 2. So would I
replace "YourPloneInstanceName" with
Zope-Instance/Plone 2?

I'm not sure what to substitute for
www.yourdomain.com:80. I haven't created a website in
Plone/Zope yet. I'm just trying to set up a proxy
server so I can view the Plone home page.

Third, when I try to create a Virtual Host Monster, I
get this message:

Error Type: BadRequest
Error Value: This container already has a Virtual Host
Monster

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



Re: [users@httpd] What ports can I substitute for 8080?

Posted by David Blomstrom <da...@yahoo.com>.
--- Bert_De_Ridder@peopleware.be wrote:

> You should do it right from the beginning :-)
> 
> Here's how you set up a virtual host for Plone : 
> 
> (don't forget to load mod_rewrite)
> 
> <virtualhost *>
>   ServerName www.yourdomain.com
>   RewriteEngine on
>   RewriteRule ^/(.*) 
>
http://localhost:8080/VirtualHostBase/http/www.yourdomain.com:80/YourPloneInstanceName/VirtualHostRoot/$1
> 
> [L,P]
>   ErrorLog /var/log/plone2/plonesite.log
>   LogFormat "%h %l %u %t \"%r\" %>s %b
> \"%{Referer}i\" \"%{User-Agent}i\""
>   TransferLog /var/log/plone2/transfer-plonesite.log
>   ProxyVia On
> </virtualhost>
> 
> 
> You also need to have the virtualhostmonster product
> in your zope setup.

Thanks; that looks pretty thorough!

I'm a little confused, though. First, how do you "load
mod_rewrwite"?

Second, it looks like I have to modify both of these
values: www.yourdomain.com:80/YourPloneInstanceName

On my C drive, I have a folder named Zope-Instance,
which contains a folder named Plone 2. So would I
replace "YourPloneInstanceName" with
Zope-Instance/Plone 2?

I'm not sure what to substitute for
www.yourdomain.com:80. I haven't created a website in
Plone/Zope yet. I'm just trying to set up a proxy
server so I can view the Plone home page.

Third, when I try to create a Virtual Host Monster, I
get this message:

Error Type: BadRequest
Error Value: This container already has a Virtual Host
Monster

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] What ports can I substitute for 8080?

Posted by Be...@peopleware.be.
You should do it right from the beginning :-)

Here's how you set up a virtual host for Plone : 

(don't forget to load mod_rewrite)

<virtualhost *>
  ServerName www.yourdomain.com
  RewriteEngine on
  RewriteRule ^/(.*) 
http://localhost:8080/VirtualHostBase/http/www.yourdomain.com:80/YourPloneInstanceName/VirtualHostRoot/$1 
[L,P]
  ErrorLog /var/log/plone2/plonesite.log
  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
  TransferLog /var/log/plone2/transfer-plonesite.log
  ProxyVia On
</virtualhost>


You also need to have the virtualhostmonster product in your zope setup. 





HTH


Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be 
http://www.mobileware.be 
u r lame if u insist on trying 2 b l337 by abbrev evythng u type when 
asking ppl 4 hlp. kiddie speak is teh sux. ppl. plz stop teh kiddie speak. 
thx.
hint: aol kiddie speak is not cool, it just makes people not want to read 
your post.





David Blomstrom <da...@yahoo.com> 
04/08/2005 17:13
Please respond to
users@httpd.apache.org


To
users@httpd.apache.org
cc

Subject
[users@httpd] What ports can I substitute for 8080?






I'm trying out a content management system called
Plone, which uses a server called Zope. I understand
that I can replace Zope with Apache if I set Apache up
as a "proxy server." I haven't figured out how to do
that yet, but I've been told that I can also run
Apache and Zope at the same time if I assign Plone a
different port number.

When I open the Plone Controller, Plone HTTP is set at
80, Zope Management HTTP at 8080. The Manual says I
could change Plone to 9090 or 9687 (I think; or
something similar). But neither one works. I get a
"The connection was refused" error.

If I change Plone to 8080, it connects me to
http://localhost:8080/...which displays a Zope quick
start page.

So I guess what I need to know is what other port
numbers can I experiment with? I've hardly ever played
with them before. I believe my Apache server is set up
at 8080.

Again, I THINK what I want to do is find a server
number that will allow Plone to function until I
figure out how to turn Apache into a proxy server.

Thanks.



 
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org