Hi
I had a problem for serving html pages with apache that located in the documentroot /var/www/html. I followed in setting up plone with apache the "plone-with-apache-1.3" and
I got plone site when I type http://localhost/plone but apache is serving the htmls in the document root no moreI followed "Mixing Local Apache and Proxyed Content" tutorial but it still not working
I tried to add a
new entry for the apache root, still not working, this is my virtualhost definition:
<VirtualHost *>
ServerName localhost
ServerAlias localhost
DocumentRoot /var/www/html
ServerAdmin root:[EMAIL PROTECTED]
ProxyPass / http://localhost:8080/VirtualHostBase/https/localhost:443/MohPlone/VirtualHostRoot/
#ProxyPass / http://localhost:8080/VirtualHostBase/http/localhost:80/MohPlone/VirtualHostRoot/
ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/localhost:80/MohPlone/VirtualHostRoot/
</VirtualHost>
And this is the rewrite rule I used:
RewriteEngine On
RewriteRule ^/localhost(.*) http://localhost:8080/VirtualHostBase/http/localhost:80/VirtualHostRoot/_vh_loocalhost$1 [P,L]
RewriteCond %{REQUEST_URI} !^/html(.*)
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/localhost:80/MohPlone/VirtualHostRoot/$1 [P,L]
And this is the new entry I added:
<VirtualHost *:80>
ServerAdmin root:[EMAIL PROTECTED]
DocumentRoot /var/www/html
ProxyPass /MohPlone/ http://localhost:8080/VirtualHostBase/https/localhost:443/MohPlone/#VirtualHostRoot/_vh_MohPlone/
ServerName 127.0.0.1
ErrorLog /var/www/html/log
</VirtualHost>
Please please may any one know how I can solve this problem?
Thanks in advance
Stay in the know. Pulse on the new Yahoo.com. Check it out.
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
