I just figured out why "Home/Help" works. The first part of the URL
after the host name is the context. Home doesn't match a context so
it fails over to the default which happens to redirect to Home.py.
So.. is the context required in the URL? Is there any way to go
directly to http://mysite.com/Home.py without it trying to make
Home.py a context?
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff
> Johnson
> Sent: Thursday, August 23, 2001 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: [Webware-devel] Apache setup
>
>
> Hi all,
>
> I'm an apache newbie and I was playing around yesterday with trying
to
> hide the CGI part of the URL so that http://mysite.com/WKMod/Home
> becomes http://mysite.com/Home. That works now but if I click on
> href="Help", instead of going to http://mysite.com/Help it goes to
> http://mysite.com/Home/Help. Strangely, both work but the latter is
> not correct. How can I tell Apache that Home is a file and not a
> directory? Even if I go to Home.py, it still treats it like a
> directory.
>
> Here's part of my httpd.conf:
>
> <VirtualHost _default_:80>
> ServerName mysite.com
> DocumentRoot "/usr/home/jeff/www/mysite/www"
> ServerAdmin [EMAIL PROTECTED]
> ErrorLog /usr/home/jeff/www/mysite/logs/httpd-error.log
> TransferLog /usr/home/jeff/www/mysite/logs/httpd-access.log
> <Location />
> WKServer localhost 8088
> SetHandler webkit-handler
> </Location>
> </VirtualHost>
>
> Any advice or comments?
>
> Thanks,
> Jeff
>
>
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-devel
>
>
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel