httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Leader <>
Subject Re: [users@httpd] A trailing slash is required in a URL
Date Sun, 29 Jun 2003 15:38:26 GMT
Thanks, this worked.  By the way, I'm using Apach version 1.3.27.

I'm having another related problem...

After I set up the alias, it was able to find the requested URL without the 
trailing slash.  It was a path to a .jsp file.  But now the jsp file cannot 
find its own relative URLs which are in the same directory.  For example, I 
use the alias:

	Alias /test /usr/tomcat/webapps/test/main.jsp

The file main.jsp is:

    <frameset rows="0%, *">
      <frame src="head.jsp">
      <frame src="contents.jsp">

When I request, I get the following:

	Not Found (404)
	Original request: /contents.jsp

	Not found request: /contents.jsp

Any idea how to resolve these URLs?



On Sun, 29 Jun 2003 10:29:12 -0400 (Est (heure d'été)), Joshua Slive 
<> wrote:

> On Sun, 29 Jun 2003, Brian Leader wrote:
>> Hello,
>> Sometimes when I configure a website, in order to show the default
>> document, e.g. index.html, I'm required to use a trailing slash.  For
>> instance, if I use the url: (where I have 
>> index.html
>> in the test directory), I get an error.  But if I use
>> (note trailing "/"), it works.  Any ideas how to
>> prevent the trailing slash requirement?
> See:
> Joshua.

Using M2, Opera's revolutionary e-mail client:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message