[opencms-dev] How? /cgi-bin/ and OpenCMS ROOT installation?

Alexander Kandzior alex at opencms.org
Wed Mar 16 09:03:15 CET 2005


You should explore the options that mod_proxy offers.

A hint: Check out the mod_proxy docs on what lines like the following are
actually used for:

ProxyPass              /export/            !

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Daniel Rhoden
> Sent: Wednesday, March 16, 2005 12:08 AM
> To: The OpenCms mailing list
> Subject: [opencms-dev] How? /cgi-bin/ and OpenCMS ROOT installation?
> 
> I have OpenCMS 6 beta 1 running as the ROOT application and 
> resolving like so:
> http://www.mysite.com/
> or
> http://www.mysite.com/system/login/
> 
> My question is this:
> 
> Now that I have implemented all the fun stuff in the 
> "Integrating OpenCms, Tomcat and the Apache webserver with 
> mod_proxy", how do provide access to my scripts, particurlaty 
> AWstats? 
> 
> Essentially, I need to be able to do this:
> 
> http://www.mysite.com/cgi-bin/awstats/awstats.pl
> 
> After the changes, here is what my httpd.conf file looks like 
> for this particular configuration:
> 
> <VirtualHost xxx.xxx.xx.xxx:80>
> <Directory /home/admin/mysite.com/html>
> Options Indexes Includes FollowSymLinks
> AllowOverride All
> </Directory>
> ScriptAlias /cgi-bin/awstats /var/www/cgi-bin/awstats Alias 
> /awstats /var/www/html/awstats ScriptAlias /cgi-bin/awstats 
> /var/www/cgi-bin/awstats Alias /awstats /var/www/html/awstats 
> ServerName mysite.com DocumentRoot /opt/tomcat5/webapps/ROOT/ 
> SuexecUserGroup admin admin ServerAlias "www.mysite.com" 
> "ftp.mysite.com" "mail.mysite.com"
> ServerAdmin "admin at mysite.com"
> ScriptAlias "/cgi-bin/" "/home/admin/mysite.com/cgi-bin/"
> CustomLog "/home/admin/aruba-guide.info/access_log" "combined"
> ErrorLog "/home/admin/aruba-guide.info/error_log"
> 
> # Log only non-redirect requests in "normal" log file 
> SetEnvIf Request_URI "\/opencms\/*" redirect CustomLog 
> logs/aruba-guide-access.log common env=!redirect
> 
> ProxyPass               /opencms/          !
> RedirectPermanent      /opencms/           
> http://www.aruba-guide.info/
> 
> ProxyPass              /resources/         !
> ProxyPass              /export/            !
> 
> ProxyPass             /                    
> http://127.0.0.1:8081/opencms/
> ProxyPassReverse      /                    
> http://127.0.0.1:8081/opencms/
> 
> </VirtualHost>
> 
> 
> Could I simply add the following line to make this work:
> ProxyPass              /cgi-bin/           !
> 
> 
> Thanks
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list