I just tried removing the port, so my vhost entry in local.ini states " chrisbuchholz.dk = /chrisbuchholzname/_design/chrisbuchholz.name/_rewrite", but that didnt seem to fix it either.
On Fri, Nov 12, 2010 at 7:35 PM, Randall Leeds <[email protected]>wrote: > Ill double check later, but I don't remember needing the port number in the > CouchDB vhost. > On Nov 12, 2010 8:01 AM, "[email protected]" < > [email protected]> wrote: > > Hey guys, > > > > On the CouchDB on my server, I have a CouchApp placed at > > /chrisbuchholzname/_design/chrisbuchholz.name with rewrite-index at > > _rewrite/. I now want my domain chrisbuchholz.dk to point to that > CouchApp. > > > > On my server I use apache2 and manage all my domains as virtualhost. So I > > have set up a proxy for chrisbuchholz.dk that points it to the CouchDB, > so > > that the CouchDB vhost can grab it. I did it like this: > > > > <VirtualHost 178.79.133.30:80> > > ServerAdmin [email protected] > > ServerName chrisbuchholz.dk > > ServerAlias www.chrisbuchholz.dk > > ProxyPass / http://localhost:5984/ > > ProxyPassReverse / http://localhost:5984/ > > ErrorLog /srv/chrisbuchholz/www/chrisbuchholz.dk/logs/error.log > > CustomLog > > /srv/chrisbuchholz/www/chrisbuchholz.dk/logs/access.logcombined > > <Proxy *> > > Order allow,deny > > Allow from all > > </Proxy> > > </VirtualHost> > > > > Then I have added a vhost entry to local.ini: > > > > chrisbuchholz.dk:5984 = /chrisbuchholzname/_design/ > > chrisbuchholz.name/_rewrite > > > > But it doesn't work. > > When I access chrisbuchholz.dk, it just gives me CouchDB - not my > CouchApp. > > (you can try yourself) > > > > What am I missing and what am I doing wrong? > > > > > > Sincerely, > > Christoffer Buchholz >
