Hello.
I've got a problem with a webware deployment on an apache virtual host.
The root of the site is webware, but it's not "letting go" to allow php
and cgi applications (that are not root) to work. Here's the conf
fragment and a little more explanation:
--------------------------------------------
<VirtualHost 10.1.0.98>
<Location />
WKServer localhost 8087
SetHandler webkit-handler
</Location>
# for global binary resources
Alias /global/ /data/www/global/
<Location /global>
SetHandler apache-core-default-handler
DefaultType application/octet-stream
</Location>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin/>
Options ExecCGI
Allow from 10.0.0
</Directory>
Alias /webmail /usr/local/share/horde/imp
<Location /usr/local/share/horde/imp>
<IfModule libphp4.c>
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag session.save_path /var/tmp/imp
php3_magic_quotes_gpc Off
php3_track_vars On
</IfModule>
</Location>
</VirtualHost>
--------------------------------------------
The webware app works fine; when trying to hit an url like:
http://10.1.0.98/cgi-bin/viewcvs.cgi it redirects to
http://10.1.0.98/cgi-bin/viewcvs.cgi/ showing the "index" page from the
root of the webkit application (note trailing slash).
The same thing happens when I hit the php app:
http://10.1.0.98/webmail redirects to
http://10.1.0.98/webmail/index.php/ with the same index.py page (note
trailing slash).
ExtraURLPathInfo is NOT turned on in the webkit config. I double-checked
it by printing out the extra material, and it's "None".
So, this is weird. I can see how I don't have all the little apache
particulars just right to get this to work, but I'm surprised that
webkit is happily taking the bogus URL and remapping it somehow to the
default servlet at http://10.1.0.98/
Another strange thing is that the /global is working just fine; it's
serving static material through apache.
If I comment out the <Location /> clause that sets up the webkit
handler, everything works fine (except the webware app, of course).
I have tried setting the handler for these two Locations
to apache-core-default-handler, cgi-script, etc, all without success.
I also did a low-level dump of the response for http://dalchemy.com/imp/
under both conditions:
with appserver turned on:
-----------------------------------------------
HTTP/1.1 301 Redirect
Date: Fri, 29 Nov 2002 19:33:26 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_webkit/0.5 PHP/4.1.2
location: .//
Connection: close
Content-Type: text/html; charset=iso-8859-1
-----------------------------------------------
with appserver turned OFF:
-----------------------------------------------
HTTP/1.1 302 Found
Date: Fri, 29 Nov 2002 19:32:53 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_webkit/0.5 PHP/4.1.2
X-Powered-By: PHP/4.1.2
Set-Cookie: Horde=5216fda66e7aa000efd2ecb26ea66ae2; path=/horde;
domain=dalchemy.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Location: http://dalchemy.com/horde/imp/redirect.php?Horde=5216fda66
Connection: close
Content-Type: text/html; charset=ISO-8859-1
-----------------------------------------------
Any clues?
Thanks.
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
