By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

Plone behind Apache problem...

P: n/a
JZ
I would like to exclude some files from Plone control within the same
virtual host. The problem is, I cannot use mod_rerwite because Plone needs
mod_proxy for working correctly. So the following rule does not work for
*.php files at all:

RewriteEngine on
RewriteRule \.php - [L]
ProxyPass /
http://host.com:8080/VirtualHostBase...rtualHostRoot/
ProxyPassReverse /
http://host.com:8080/VirtualHostBase...rtualHostRoot/

But when I use mod_rewrite instead mod_proxy, I cannot use Plone! It means
not everything works correctly (I cannot add any folder, or document etc.
without raising exception) I think it is because Plone needs
ProxyPassReverse rule for full working. So the following rules work for
*.php, but do not work for Plone:

RewriteEngine on
RewriteRule \.php - [L]
RewriteRule ^(.*)
http://host.com:8080/VirtualHostBase/http/host.com:80/mysite/VirtualHostRoot/$1
[P,L]

I know, I can add ProxyPass rule for excluding specific folder from Plone
but it is not the case. I want to exclude files with specific extensions,
not specific folders. Who knows how to solve that dillemma?

--
JZ ICQ:6712522
http://zabiello.com
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.