[Zope] Monstrous URLs and Apache errors persist

Troy Farrell troy at entheossoft.com
Sat Feb 28 19:36:29 EST 2004


Try it without the spaces:
[NC,L,P]

Patrick Kirk wrote:
> Hi all,
> 
> http://64.5.48.153:8081/VirtualHostBase/http/enterprise-hr.com:80/www/Vi
> rtualHostRoot/$1 [L] [P] is the lastest draft and still generating long 
> URLs.
> 
> The sysadmin tried just [P] but I was unable to access the site.  The 
> error was:
> "Forbidden
> You don't have permission to access / on this server.
> 
> Additionally, a 403 Forbidden error was encountered while trying to use 
> an ErrorDocument to handle the request. "
> 
> When he tried [NC, L, P] he got an Apache didn't like it and gave the 
> error message, "RewriteRule: bad flag delimiters"
> 
> Can anyone amke sense of this?
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> <VirtualHost 64.5.48.153>
> ServerAlias www.enterprise-hr.com enterprise-hr.com
> ServerAdmin webmaster at enterprise-hr.com
> BytesLog domlogs/enterprise-hr.com-bytes_log
> ServerName www.enterprise-hr.com
> User enterpri
> Group enterpri
> CustomLog domlogs/enterprise-hr.com combined
> ScriptAlias /cgi-bin/ /websites/enterpri/public_html/cgi-bin/
> DocumentRoot /websites/patrkirk/zope
> RewriteEngine on
> RewriteRule ^/(.*)
> http://64.5.48.153:8081/VirtualHostBase/http/enterprise-hr.com:80/www/VirtualHostRoot/$1 [L] [P]
> </VirtualHost>



More information about the Zope mailing list