[Zope-CMF] apache, virtual host monster, CMF, and unsliceable
Mark Gibson
mark@kaivo.com
Tue, 14 May 2002 18:42:46 -0600
Uhh, never mind. Coding error.
Mark Gibson wrote:
> I'm using apache 1.3.22 in front of Zope 2.5.0 and CMF 1.2. I've looked
> in the archives, and haven't found anything addressing my particular
> problem.
>
> I can get to the initial page of my CMF site fine. If I try to access
> anything else on the site, I get an error: TypeError: unsliceable object
>
> It looks like the rewriting is working fine. I can access
> http://mydomain.com, but if I try to access http://mydomain.com/Members,
> I get the error.
>
> I've tried the same settings with a non-CMF folder, and eveyrthing works
> fine.
>
> Anyone have any ideas?
>
>
> Here's may apache config:
>
> <VirtualHost 10.0.0.2>
> ServerName mydomain.com
> #DocumentRoot /var/www/html
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteLog "/etc/httpd/logs/rewrite_log"
> RewriteLogLevel 9
> RewriteRule ^/(.*)
> http://192.168.1.1:9080/VirtualHostBase/http/mydomain.com:80/HOA/metrolofts/VirtualHostRoot/$1
>
> [P]
> </IfModule>
> </VirtualHost>
>
>
> Here's the traceback:
>
>
> Traceback (innermost last):
> File /home/local/zope_2_5/lib/python/ZPublisher/Publish.py, line 150,
> in publish_module
> File /home/local/zope_2_5/lib/python/Products/Localizer/__init__.py,
> line 65, in new_publish
> File /home/local/zope_2_5/lib/python/ZPublisher/Publish.py, line 114,
> in publish
> File /home/local/zope_2_5/lib/python/Zope/__init__.py, line 158, in
> zpublisher_exception_hook
> (Object: Members)
> File /home/local/zope_2_5/lib/python/ZPublisher/Publish.py, line 98,
> in publish
> File /home/local/zope_2_5/lib/python/ZPublisher/mapply.py, line 88, in
> mapply
> (Object: index_html)
> File /home/local/zope_2_5/lib/python/ZPublisher/Publish.py, line 39,
> in call_object
> (Object: index_html)
> File /home/local/zope_2_5/lib/python/OFS/DTMLMethod.py, line 127, in
> __call__
> (Object: index_html)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
> line 473, in __call__
> (Object: index_html)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_Return.py,
> line 31, in render
> (Object: roster)
> File /home/local/zope_2_5/lib/python/OFS/DTMLMethod.py, line 120, in
> __call__
> (Object: roster)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
> line 473, in __call__
> (Object: roster)
> File /home/local/zope_2_5/lib/python/OFS/DTMLMethod.py, line 120, in
> __call__
> (Object: standard_html_header)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
> line 473, in __call__
> (Object: standard_html_header)
> File /home/local/zope_2_5/lib/python/OFS/DTMLMethod.py, line 120, in
> __call__
> (Object: breadcrumb_display)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
> line 473, in __call__
> (Object: breadcrumb_display)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_In.py,
> line 670, in renderwob
> (Object: breadcrumbs)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/AccessControl/DTML.py, line
> 32, in guarded_getitem
> (Object: index_html)
> File
> /home/local/Zope-2.5.0-linux2-x86/lib/python/AccessControl/ZopeGuards.py,
> line 90, in guarded_getitem
> File /home/local/zope_2_5/lib/python/ZPublisher/HTTPRequest.py, line
> 845, in __getitem__
> File /home/local/zope_2_5/lib/python/ZPublisher/HTTPRequest.py, line
> 772, in get
> TypeError: unsliceable object
>
>
>
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests