You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by JUNIOR <ju...@shakur.com.br> on 2003/10/28 23:11:34 UTC

[users@httpd] how do i turn it off?

i´m using the apache 1.3.x with php support for win32 on a machine with
windows xp
everything is working fine, but i have 1 problem that i don´t know how to
solve, but i think that could be solved configuring something at http.conf

when i put on any browser:

http://localhost/test

the apache puts automaticaly:

http://localhost/test/

with the "/" caracter ending

how do i turn off this?

sorry for the englsh

Regards

Junior from Brazil



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by Leif W <wa...@usa.net>.
----- Original Message ----- 
From: "JUNIOR" <ju...@shakur.com.br>
To: <us...@httpd.apache.org>
Sent: Tuesday, October 28, 2003 5:11 PM
Subject: [users@httpd] how do i turn it off?


> i´m using the apache 1.3.x with php support for win32 on a machine with
> windows xp
> everything is working fine, but i have 1 problem that i don´t know how to
> solve, but i think that could be solved configuring something at http.conf
>
> when i put on any browser:
>
> http://localhost/test
>
> the apache puts automaticaly:
>
> http://localhost/test/
>
> with the "/" caracter ending
>
> how do i turn off this?

Is "test" a directory or a file?  I assume it's a directory, because that is
what Apache does to directories.  If a request for a directory is made
without a trailing slash, Apache has to send a redirect to the browser to
the URL with the trailing slash, otherwise relative URLs wouldn't work
properly.  (paraphrasing
http://httpd.apache.org/docs/misc/FAQ.html#set-servername ).

Leif

> sorry for the englsh
>
> Regards
>
> Junior from Brazil



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by Robert Andersson <ro...@profundis.nu>.
JUNIOR wrote:
> my conf is in:
>
> http://karas.no-ip.org/httpd.conf

Then you probably have mod_dir.c compiled in. Do the apache -l on the
command line as see it it's in the list.

I'm very poor at Apache 1.3; hardly ever used it, so I'm not sure how to go
about disabling a compiled in module.

However, I don't think you want to do that, as that would also disable
DirectoryIndex == very bad.

Could you explain why the "trailing slash" fix, mod_dir provides, is a
problem for you, so we can suggest alternate solutions.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by JUNIOR <ju...@shakur.com.br>.
my conf is in:

http://karas.no-ip.org/httpd.conf

Thanks

Junior

----- Original Message ----- 
From: "Robert Andersson" <ro...@profundis.nu>
To: <us...@httpd.apache.org>
Sent: Wednesday, October 29, 2003 7:43 AM
Subject: Re: [users@httpd] how do i turn it off?


> JUNIOR wrote:
> > sorry, but i searched again and i don't have it
> > maybe we have on apache for linux but for win32 don't
>
> That's strange. Can you do a "httpd -l" to see what modules are compiled
in?
> (or is it "apache -l" with 1.3?)
>
> > i can send you my http.conf if you want it
>
> Rather post a link to it, so others can look at it as well.
>
> Regards,
> Robert Andersson
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by Robert Andersson <ro...@profundis.nu>.
JUNIOR wrote:
> sorry, but i searched again and i don't have it
> maybe we have on apache for linux but for win32 don't

That's strange. Can you do a "httpd -l" to see what modules are compiled in?
(or is it "apache -l" with 1.3?)

> i can send you my http.conf if you want it

Rather post a link to it, so others can look at it as well.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by JUNIOR <ju...@shakur.com.br>.
sorry, but i searched again and i don't have it
maybe we have on apache for linux but for win32 don't

i can send you my http.conf if you want it

----- Original Message ----- 
From: "Robert Andersson" <ro...@profundis.nu>
To: <us...@httpd.apache.org>
Sent: Wednesday, October 29, 2003 6:30 AM
Subject: Re: [users@httpd] how do i turn it off?


> JUNIOR wrote:
> > i don't have "mod_dir" at http.conf
>
> Yes, you should have.
>
> Look for:
>
>     LoadModule dir_module     path/mod_dir.so
>     ...and...
>     AddModule mod_dir.c
>
> Regards,
> Robert Andersson
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by Robert Andersson <ro...@profundis.nu>.
JUNIOR wrote:
> i don't have "mod_dir" at http.conf

Yes, you should have.

Look for:

    LoadModule dir_module     path/mod_dir.so
    ...and...
    AddModule mod_dir.c

Regards,
Robert Andersson

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by JUNIOR <ju...@shakur.com.br>.
i don't have "mod_dir" at http.conf

is it exists at apache win32 version?

----- Original Message ----- 
From: "Aaron Morris" <aa...@mindspring.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, October 28, 2003 8:36 PM
Subject: Re: [users@httpd] how do i turn it off?


>
>
> JUNIOR wrote:
> > i´m using the apache 1.3.x with php support for win32 on a machine with
> > windows xp
> > everything is working fine, but i have 1 problem that i don´t know how
to
> > solve, but i think that could be solved configuring something at
http.conf
> >
> > when i put on any browser:
> >
> > http://localhost/test
> >
> > the apache puts automaticaly:
> >
> > http://localhost/test/
> >
> > with the "/" caracter ending
> >
> > how do i turn off this?
> >
> > sorry for the englsh
> >
> > Regards
> >
> > Junior from Brazil
>
> Do not load mod_dir.
>
> -- 
> Aaron W Morris <aa...@mindspring.com> (decep)
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how do i turn it off?

Posted by Aaron Morris <aa...@mindspring.com>.

JUNIOR wrote:
> i´m using the apache 1.3.x with php support for win32 on a machine with
> windows xp
> everything is working fine, but i have 1 problem that i don´t know how to
> solve, but i think that could be solved configuring something at http.conf
> 
> when i put on any browser:
> 
> http://localhost/test
> 
> the apache puts automaticaly:
> 
> http://localhost/test/
> 
> with the "/" caracter ending
> 
> how do i turn off this?
> 
> sorry for the englsh
> 
> Regards
> 
> Junior from Brazil

Do not load mod_dir.

-- 
Aaron W Morris <aa...@mindspring.com> (decep)




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org