We want to implement the URL rewriting with Apache.
>From the Wiki, we tried the proposed solution from
       http://confluence.magnolia-cms.com/display/WIKI/Rewrite+URLs+with+Apache

The simple mod_proxy is working fine but with the mod_proxy_html we received 
the following error:

[warn] proxy: No protocol handler was valid for the URL /. If you are using a 
DSO version of mod_proxy, make sure the proxy submodules are included in the 
configuration using LoadModule.

All required modules are loaded (LoadModule) :

* mod_deflate
* mod_rewrite
* mod_proxy
* mod_proxy_html

The following configuration of VirtualHost is

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName localhost
    ServerAlias localhost
    RewriteEngine on
    RewriteRule ^/$       /index.html [P]
    ProxyPass   /docroot/ 
http://localhost:8080/magnoliaPublic/docroot/demo-project/
    ProxyPass   /dms/          
http://localhost:8080/magnoliaPublic/dms/demo-project/
    ProxyPass   /         http://localhost:8080/magnoliaPublic/demo-project/
    ProxyPassReverse   /docroot/ 
http://localhost:8080/magnoliaPublic/docroot/demo-project/
    ProxyPassReverse   /dms/         
http://localhost:8080/magnoliaPublic/dms/demo-project/
    ProxyPassReverse   /         
http://localhost:8080/magnoliaPublic/demo-project/
    SetOutputFilter INFLATE;proxy-html;DEFLATE
    ProxyHTMLURLMap /magnoliaPublic/docroot/demo-project/ /docroot/
    ProxyHTMLURLMap /magnoliaPublic/dms/demo-project/     /dms/
    ProxyHTMLURLMap /magnoliaPublic/demo-project/         /
    ProxyHTMLDoctype XHTML
</VirtualHost>

Can you help me?
BenoƮt


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to