Season's Greetings Everyone! I'd like help getting plone to work with apache2 and ISPConfig on my Ubuntu 7.10. Here's the deal: 1. I have one Web site (http://www.site1.com) on apache and located at /var/www/web1/web 2. I created another Web site, site2 (http://www.site2.org) located at /var/www/web2/web 3. I created a plone instance site2, and accessible at http://www.site1.com:8080/site2 4. I would now like to have the address http://www.site2.org point to the plone instance site2 I've looked at some examples (http://plone.org/documentation/how-to/plone-with-apache), enabled the relevant apache modules, and tried my hand at rewrite rules, but its just not working out. I'd thus appreciate it if any one can provide me some pointers or copies of configurations that have worked for them under similar circumstances. Thanks in advance for your help. Katim
You can use ISPConfig's forward feature for Co-Domains, or you use the Apache Directives field to create some rewrite rules: http://httpd.apache.org/docs/2.2/misc/rewriteguide.html
Hi Falko, I tried the forward feature of ISPConfig, but it didn't quite work out. Thus, creating a new forward to http://www.site2.org:8080/site2 did not get me to the plone site. I also looked at the Apache directives documentation you linked to, but I couldn't see any code that I could use for me needs. For your information, here's the relevant snippet from my Vhosts_ispconfig.conf file (with real names replaced by site2): <VirtualHost site2-ipaddress:80> ServerName www.site2.org:80 RewriteEngine On RewriteRule ^($|/.*) http://127.0.0.1:8080/VirtualHostBase/http/www.site2.org:80/site2/VirtualHostRoot/$1 [L,P] # DocumentRoot /var/www/web2/web What am I doing wrong? Katim
Try this: Code: RewriteEngine On RewriteRule ^(.*)$ http://127.0.0.1:8080/VirtualHostBase/http/www.site2.org:80/site2/VirtualHostRoot/$1 [L,P] Of course, http://127.0.0.1:8080 will work only on localhost, not from another computer.
Hi Falko, I tried the above, and ended with an error message: Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. For your information, I included site2.org in my /etc/hosts file (so 127.0.0.1 would also resolve to it), and still got the above message. My additional questions is: what happens if I add another, or more plone sites? Would I have to add additional rewrite rules for them, and if so what format would they take? Again, thanks in advance for your help. Katim