[Setup] Apache2 Server Problem again
mohammed ibrahim
moh_fcis at yahoo.com
Thu Sep 21 18:22:48 UTC 2006
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:mylove at localhost
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:mylove at localhost
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20060921/d1dea4d2/attachment-0001.html>
More information about the Setup
mailing list