Plone behind Apache problem...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JZ

    #1

    Plone behind Apache problem...

    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/
    ProxyPassRevers e /
    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
    ProxyPassRevers e 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

Working...