Re: [Zope] idiotic dreamweaver question

2006-09-21 Thread KE Liew

On 9/21/06, David Bear [EMAIL PROTECTED] wrote:

Sorry to bug this list with a dw question. However, I was using DAV
in dw and found that dw is unable to handle file extensions like .pt,
.zpt, _html , etc.

Does anyone else use dreamweaver to edit zope/plone files? If so, how
do you make dreamweaver edit this types of files? I know _html, .pt,
.zpt etc are well formed xhtml -- but I don't know how to tell stupid
dw to edit them since it uses the extension to recognize file type.


You may want to check out the ExternalEditor

http://zopewiki.org/ExternalEditor

I am not sure if Dreamweaver is recommended for it. But do check it out.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VirtualHost 403 Forbidden. Help!!

2006-09-21 Thread KE Liew

File and folder permissions?

On 9/21/06, Ferhat Ayaz [EMAIL PROTECTED] wrote:

Hi,

I read every doc I found. But the server reports
always 403 on konfiguring an APache VirtualHost on my
Zope Instance on the same machine. Here my sniplet
from apache2.conf (also known as httpd.conf)


VirtualHost journal.homelinux.net:80
   ServerName journal.homelinux.net
   ServerAdmin [EMAIL PROTECTED]
   RewriteEngine On
   RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1
[P,L]

   ErrorLog /var/log/apache2/journal-error_log
   TransferLog /var/log/apache2/journal-access_log
/VirtualHost


I tryed many other variants to point to the VH
Monster.
The result is always:

Forbidden

You don't have permission to access / on this server.


What am I doing wrong?


thanks,
Ferhat


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VirtualHost 403 Forbidden. Help!!

2006-09-21 Thread KE Liew

Turn off ProxyVia, and leave everything to default, especially

  Proxy *
  Order deny,allow
  Deny from all
  #Allow from .your_domain.com
  /Proxy

You don't want everyone to use your server as a proxy. That can be bad.


On 9/21/06, Ferhat Ayaz [EMAIL PROTECTED] wrote:

In the apache logs I found this:

[Thu Sep 21 16:15:58 2006] [error] [client
141.12.190.15] client denied by server configuration:
proxy:http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/homelinux.net/VirtualHostRoot


And this is my proxy conf

IfModule mod_proxy.c

#turning ProxyRequests on and allowing
proxying from all may allow
#spammers to use your proxy to send email.

ProxyRequests Off

Proxy *
Order deny,allow
Deny from all
#Allow from .your_domain.com
/Proxy

# Enable/disable the handling of HTTP/1.1
Via: headers.
# (Full adds the server version; Block
removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block

ProxyVia On

# To enable the cache as well, edit and
uncomment the following lines:
# (no cacheing without CacheRoot)

CacheRoot /var/cache/apache2/proxy
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
# Again, you probably should change this.
#NoCache a_domain.com another_domain.edu
joes.garage_sale.com

/IfModule


I know...Sorry that this is not a Zope issue directly.
But I think I can find here much more experience with
apache and Zope VirtualHosting as on other lists.

Greets,
Ferhat


--- Jonathan [EMAIL PROTECTED] wrote:


 - Original Message -
 From: Jonathan [EMAIL PROTECTED]
 To: Ferhat Ayaz [EMAIL PROTECTED];
 zope@zope.org
 Sent: Thursday, September 21, 2006 10:34 AM
 Subject: Re: [Zope] VirtualHost 403 Forbidden.
 Help!!


 
  - Original Message -
  From: Ferhat Ayaz [EMAIL PROTECTED]
  To: zope@zope.org
  Sent: Thursday, September 21, 2006 10:20 AM
  Subject: [Zope] VirtualHost 403 Forbidden. Help!!
 
 
  Hi,
 
  I read every doc I found. But the server reports
  always 403 on konfiguring an APache VirtualHost
 on my
  Zope Instance on the same machine. Here my
 sniplet
  from apache2.conf (also known as httpd.conf)
 
 
  VirtualHost journal.homelinux.net:80
ServerName journal.homelinux.net
ServerAdmin [EMAIL PROTECTED]
RewriteEngine On
RewriteRule ^/(.*)
 

http://localhost:8080/VirtualHostBase/http/journal.homelinux.net:80/VirtualHostRoot/$1
  [P,L]
 
ErrorLog /var/log/apache2/journal-error_log
TransferLog
 /var/log/apache2/journal-access_log
  /VirtualHost
 
 
  I tryed many other variants to point to the VH
  Monster.
  The result is always:
 
  Forbidden
 
  You don't have permission to access / on this
 server.
 
 
  What am I doing
 wrong?
 
 
  Is your nameserver configured to allow access to
 journal.homelinux.net?
  (look at /etc/named.conf  and the associated db
 entry in /etc/named)
 
  Can you get to a simple directory on your server?
 (ie. change the rewrite
  rule so that it points at a directory on your
 server - create a simple
  index.html file in the associated htdocs
 subdirectory)

 I take this back, the above would be for a 404
 error, probably not your 403
 error.

 Have you check your apache and zope logs?


 Jonathan





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] MailBoxer, Qmail and smtp2zope.py

2006-08-24 Thread KE Liew

No matter how dumb he may be, its best not to heat yourself up for his
cause. It's just foolish and damaging yourself, Chris. :)

Beno, you have a serious problem that you still don't realise. You
need to read up on many things especially on smtp and/or qmail. You
mentioned that you have the experience, but many can tell you that you
don't simply because you can't even solve this problem.

I suggest you to read the fabulous manual. ;)


KwangErn

On 8/24/06, Chris Withers [EMAIL PROTECTED] wrote:

beno wrote:
 Apparently, MailBoxer must be configured a little differently for qmail:

 http://www.zope.org/Members/adytumsolutions/docs/MailBoxer

Fuck. When will you get the picture? NO ONE CARES!

 /var/qmail/bin/smtp2zope.py

 Is that correct?

This look like a qmail list to you?

Any chance you could do the species a favour and find some way to remove
yourself from the gene pool?

Chris

--
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-29 Thread KE Liew

= = = = = = = = = = = = = = = = = = = =
i followed you but have no effect.

and  i find a fact that  chinese character in zope not work  but it in 
plone on same zope work well.

what reasons?

do you have another method?


Can you please check your Apache configuration on whether UTF-8 is
enabled. Possibly FC5 needs to be enabled for UTF-8.


Regards,

Kwang
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Running 2 instances of Zope on Apache

2006-07-26 Thread KE Liew

What does your RewriteRule Log tell you?

http://betabug.ch/zope/witch

Check out that site to help you write it out ;)


Regards,

Liew

On 7/26/06, ianripping [EMAIL PROTECTED] wrote:


I have tried using the exaplme provided but having no luck.

This is my standard config file:

VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
ServerName commsg6lds
RewriteEngine On
RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/commsg6lds:80/extranet/VirtualHostRoot/$1
[L,P]
/VirtualHost

I am using rewrite rule and this works for just the internal address
http://commsg6lds

How would I configure this for http://live.commsg6lds
Do I have to enable NameVirtualHost?
What should I have for listen? Currently:
Listen 80
--
View this message in context: 
http://www.nabble.com/Running-2-instances-of-Zope-on-Apache-tf1998979.html#a5499540
Sent from the Zope - General forum at Nabble.com.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope installation woes

2006-07-07 Thread KE Liew

Just as your said, you don't have a good overview of the system you
are working with. So I would suggest to you to dig in.

If you have read all the docs and followed it to the word, am sure
you will be better than me by now.

Your intention of using this mailing list for help is not wrong, but
your way of seeking help can be unappreciated by those who are in this
maililng list.

At any case, try uninstalling everything, and start from scratch
again. If you have done this already, I suggest you look through the
basic commands of your distro and try to dig through the issue. It may
not be Zope's error in the first place, it could be your human error,
configuration of your server, or whatever.

A piece of advice. Install zope in your PC first before the server. I
hope you have the same distro too, that helps alot, I mean ALOT!!


Regards,

Kwang


On 7/7/06, russtik [EMAIL PROTECTED] wrote:

I read all the documentation I could find and followed it to the word.  I
believe other factors came into play which resulted in a non-working
installation. Not having a more holistic overview of system means that I
easily get lost when something unexpected happens.  This is why I'm
consulting the mailing list for assistance.

-Original Message-
From: KE Liew [mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 23:46
To: russ
Cc: [EMAIL PROTECTED]; zope@zope.org
Subject: Re: [Zope] Zope installation woes

no offense, but you should really listen to those advice given.

it'll take you lesser time to get a working web application than to do
it on the job as you said. i hope you do realise that on-the-job
could also mean researching and studying the work at hand before
actually being more productive.

you didn't read the docs properly to get zope running, IMHO. if you
wanna get zope+cmf running well and to what you want, start reading
and learn.


On 7/6/06, russ [EMAIL PROTECTED] wrote:
 o.k. when running that I saw this:

 unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
 /home/zope/instance/var/zopectlsock.15599

 Does this mean it's running?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Sent: 06 July 2006 15:44
 To: russ
 Subject: RE: [Zope] Zope installation woes

 if your zope instance does not show in the output from:

   netstat -ap | grep LISTEN

 (issued as root)

 then there's no sense in trying to figure out how to telnet to
 localhost 8080 (or whatever port your zope is running on) as there's
 nothing listening for the inbound connection. i.e., until your zope
 instance is running correctly so shows up in the netstat output, trying
 to connect inbound to it will fail and prove nothing.

 [there are a variety of things that can cause an inbound connection to
 a service to fail. you need to take the debugging one step at a time,
 starting with confirming that there's actually a service running.]


   - Rick


  Original Message 
  Date: Thursday, July 06, 2006 10:28:46 AM +0100
  From: russ [EMAIL PROTECTED]
  Subject: RE: [Zope] Zope installation woes
 
  What does it mean if this is listed under ps -eLf:
 
  zope 15601 15600 15601  01 Jul05 ?00:00:05
  /usr/bin/python /usr/
 
  ...but isn't anywhere to be seen under netstat -p ?
 
   how do I telnet to port 8080 *on* the same machine?
 
  Sorry :S
 
  -Original Message-
  From: replies-lists-zope
  Sent: 05 July 2006 18:59
  To: russ
  Subject: RE: [Zope] Zope installation woes
 
  use the ps command to see that that process is still running. also
  use the netstat command (with the -p flag (as root)) to see/confirm
  what port zope is listening on.
 
  if it's running, on port 8080, then try to telnet to port 8080, both
  as localhost 8080 and hostname 8080 (both from the server
  itself).  if both of those work, then telnet to hostname 8080 from
  a remote machine (e.g., the desktop machine you've been using your
  browser from). if the telnets from the server work, but the telnet
  from the remote host doesn't, then your issue is likely to be a
  firewall.
 
 
 
 
   Original Message 
  Date: Wednesday, July 05, 2006 06:24:40 PM +0100
  From: russ [EMAIL PROTECTED]
  To: 'Jonathan' [EMAIL PROTECTED], zope@zope.org
  Subject: RE: [Zope] Zope installation woes
 
  Well I've tried to follow your steps with the exception of point 15
  (mkzopeinstance.py doesn't reside in my python directory, it's in the
  zope/bin folder).  At the last stage I hit enter and got:
 
  bash-3.00$ ./zopectl start
  . daemon process started, pid=15601
 
  And now what?  http://www.domain.tld:8080 still produces nothing.
 
  :(
 
 


 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope] Zope installation woes

2006-07-06 Thread KE Liew

no offense, but you should really listen to those advice given.

it'll take you lesser time to get a working web application than to do
it on the job as you said. i hope you do realise that on-the-job
could also mean researching and studying the work at hand before
actually being more productive.

you didn't read the docs properly to get zope running, IMHO. if you
wanna get zope+cmf running well and to what you want, start reading
and learn.


On 7/6/06, russ [EMAIL PROTECTED] wrote:

o.k. when running that I saw this:

unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
/home/zope/instance/var/zopectlsock.15599

Does this mean it's running?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 15:44
To: russ
Subject: RE: [Zope] Zope installation woes

if your zope instance does not show in the output from:

  netstat -ap | grep LISTEN

(issued as root)

then there's no sense in trying to figure out how to telnet to
localhost 8080 (or whatever port your zope is running on) as there's
nothing listening for the inbound connection. i.e., until your zope
instance is running correctly so shows up in the netstat output, trying
to connect inbound to it will fail and prove nothing.

[there are a variety of things that can cause an inbound connection to
a service to fail. you need to take the debugging one step at a time,
starting with confirming that there's actually a service running.]


  - Rick


 Original Message 
 Date: Thursday, July 06, 2006 10:28:46 AM +0100
 From: russ [EMAIL PROTECTED]
 Subject: RE: [Zope] Zope installation woes

 What does it mean if this is listed under ps -eLf:

 zope 15601 15600 15601  01 Jul05 ?00:00:05
 /usr/bin/python /usr/

 ...but isn't anywhere to be seen under netstat -p ?

  how do I telnet to port 8080 *on* the same machine?

 Sorry :S

 -Original Message-
 From: replies-lists-zope
 Sent: 05 July 2006 18:59
 To: russ
 Subject: RE: [Zope] Zope installation woes

 use the ps command to see that that process is still running. also
 use the netstat command (with the -p flag (as root)) to see/confirm
 what port zope is listening on.

 if it's running, on port 8080, then try to telnet to port 8080, both
 as localhost 8080 and hostname 8080 (both from the server
 itself).  if both of those work, then telnet to hostname 8080 from
 a remote machine (e.g., the desktop machine you've been using your
 browser from). if the telnets from the server work, but the telnet
 from the remote host doesn't, then your issue is likely to be a
 firewall.




  Original Message 
 Date: Wednesday, July 05, 2006 06:24:40 PM +0100
 From: russ [EMAIL PROTECTED]
 To: 'Jonathan' [EMAIL PROTECTED], zope@zope.org
 Subject: RE: [Zope] Zope installation woes

 Well I've tried to follow your steps with the exception of point 15
 (mkzopeinstance.py doesn't reside in my python directory, it's in the
 zope/bin folder).  At the last stage I hit enter and got:

 bash-3.00$ ./zopectl start
 . daemon process started, pid=15601

 And now what?  http://www.domain.tld:8080 still produces nothing.

 :(




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )