On Sep 18, 2007, at 6:28 AM, [EMAIL PROTECTED] wrote:

hello dan,

here is my config which works for debian/apache2.2:

<VirtualHost *>
  ServerName DOMAINNAME.TLD
  ServerAlias www.DOMAINNAME.TLD
# <IfModule mod_rewrite.c>
    RewriteEngine   On
RewriteRule ^/(.*) http://localhost:8380/VirtualHostBase/ http/DOMAINNAME.TLD:80/DIRECTORY_WHERE_PLONE_IS_INSTALLED/ VirtualHostRoot/$1 [L,P]
#  </IfModule>
</VirtualHost>


it's maybe close to yours.
what is the part "/mydomain.com/VirtualHostRoot/" in your config? is it the directory where plone is installed? and notice: i have commented out the module check <IfModule mod_rewrite.c>. when i first installed apache and everything, the IfModule statement didn't work. today i tried it again, and it works - so it seems it was an apache bug.
if you have the IfModule statement included, try to comment it out.
you may also check the apache logs
tail -f /var/log/apache2/....

good luck,hannes


I am moving a plone 2.0.1 from an old server running FreeBSD 4.9 and apache 1.3 to a new server running FreeBSD 6.2 with apache 2.2 with the system updated with latest patches.

RewriteRule ^/(.*) http://localhost:portnumber/ VirtualHostBase/http/%{SERVER_NAME}:80/mydomain.com/ VirtualHostRoot/$1 [L,P]

Peace,
Dan


Hi Hannes,

Thanks for your reply... i have been away for a few days so just reading now.

I tried commenting out the <IfModule rewrite.c> and </IfModule> as you suggested. No luck, still get "Forbidden" html page.

The "/mydomain.com/VirtualHostRoot/" is the name of the Plone site ("mydomain.com", well with named for this email thread) followed by VirtualHostRoot. So i got that right. Just the same as it was on the old system with the old apace conf.

I have looked at logs... opps... thought i had looked at all logs. Looks like proxy module was not installed in apache22. Hummm. Tried to build with it turned on but getting message:

===>  apache-2.2.4_2 has known vulnerabilities:
=> apache -- multiple vulnerabilities.
Reference: <http://www.FreeBSD.org/ports/portaudit/ c115271d-602b-11dc-898c-001921ab2fa4.html>
=> Please update your ports tree and try again.
*** Error code 1

Am doing portsnap fetch update as i type and will build with proxy after it is done. At least i know what is up now. Strange proxy module was not turned on by default. Oh well

Thank you everyone for your help!

Peace,
Dan




_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to