[Grok-dev] Virtual Hosting still working out of the box?
Jan-Jaap Driessen
jdriessen at thehealthagency.com
Tue Sep 14 06:58:26 EDT 2010
On 14 September 2010 12:32, Sebastian Ware <sebastian at urbantalk.se> wrote:
> Is this current?
>
> http://grok.zope.org/documentation/how-to/grok-virtual-hosting-and-nginx/view
>
> I am doing
>
> proxy_pass http://gg8087/gg++vh++http::gg.thesite.se:80/++/;
>
> which has worked well before. But now I am getting an error for
>
> grok = 1.0
>
> URL: http://gymnasieguiden8087/gg%2B%2Bvh%2B%2Bhttp%3A%3Agg.thesite.se%3A80/%2B%2B/
> Module paste.evalexception.middleware:306 in respond
>>> app_iter = self.application(environ, detect_start_response)
> Module paste.translogger:68 in __call__
>>> return self.application(environ, replacement_start_response)
> Module zope.app.wsgi:55 in __call__
>>> request = publish(request, handle_errors=handle_errors)
> Module zope.publisher.publish:130 in publish
>>> obj = request.traverse(obj)
> Module zope.publisher.browser:513 in traverse
>>> ob = super(BrowserRequest, self).traverse(obj)
> Module zope.publisher.http:464 in traverse
>>> ob = super(HTTPRequest, self).traverse(obj)
> Module zope.publisher.base:263 in traverse
>>> obj = publication.traverseName(self, obj, entry_name)
> Module grok.publication:74 in traverseName
>>> result = super(ZopePublicationSansProxy, self).traverseName(
> Module zope.app.publication.publicationtraverse:61 in traverseName
>>> ob2 = adapter.publishTraverse(request, nm)
> Module grok.components:438 in publishTraverse
>>> raise NotFound(self.context, name, request)
> NotFound: Object: <zope.app.folder.folder.Folder object at 0x4676430>, name: u'gg++vh++http::gg.thesite.se:80'
> extra data
>
> Do I explicitly have to activate virtual hosting for paster style projects?
>
> Mvh Sebastian
Hi Sebastian,
My first hunch would be that you have one ':' too many in
"http::gg.thesite.se:80"
Cheers,
--
Jan-Jaap Driessen, MSc
More information about the Grok-dev
mailing list