Hi Sean, If you try
<VirtualHost xxx.xxx.xxx.47> ServerName dspace.site.ac.za ServerAlias dspace.site.ac.za DocumentRoot /var/www/dspace ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ </VirtualHost> Then you can setup a symlink from [tomcat]/webapps/ROOT -> /dspace/jspui (or /dspace/xmlui). I *think* this will work, or else I'm just disseminating wildly inaccurate information so please ignore... Regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 Sent from my plain old desktop computer. > -----Original Message----- > From: Sean Carte [mailto:[email protected]] > Sent: Thursday, 17 September 2009 12:07 AM > To: dspace-tech > Subject: [Dspace-tech] Virtual Site Proxy > > I wonder if anybody has done this, and would be willing to > give me a shove in the right direction. Alternatively, if it > can't be done, please would someone put me out of my misery > by telling me so. > > I have a server with an existing site and I want to add a > dspace site to it. To complicate matters I want the dspace > site proxied so that: > > http://www.site.ac.za/ -> /var/www/ > http://dspace.site.ac.za -> /var/www/dspace -> proxy -> > /dspace (or something like that) > > I can see how I might do this by accessing port for dspace, > but I can't figure out how to get the proxy stuff to do its > thing without interfering with the default site. > > What I have so far is: > > cat /etc/apache2/sites-enabled/dspace > > <VirtualHost xxx.xxx.xxx.47> > ServerName dspace.site.ac.za > ServerAlias dspace.site.ac.za > DocumentRoot /var/www/dspace > </VirtualHost> > > But that only gets me to the empty directory. > > And if I add: > > ProxyPass /dspace ajp://localhost:8009/ > ProxyPassReverse /dspace ajp://localhost:8009/ > > to my mods-enabled/proxy.conf, I need to add '/dspace' to the URL. > > Any ideas? > > Sean > -- > Sean Carte > esAL Library Systems Manager > +27 72 898 8775 > +27 31 373 2490 > fax: 0866741254 > http://esal.dut.ac.za/ > > -------------------------------------------------------------- > ---------------- > Come build with us! The BlackBerry® Developer Conference > in SF, CA is the only developer event you need to attend this > year. Jumpstart your developing skills, take BlackBerry > mobile applications to market and stay ahead of the curve. > Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

