Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-04-2004, 11:11 PM   #1
Registered: May 2003
Posts: 80

Rep: Reputation: 15
no trailing slash -> apache redirect to microsoft site?

i'm running apache-1.3.28 on slackware 9.1 with pretty standard settings. for some reason when an address doesn't have a trailing slash, it redirects to the microsoft website! any idea how i can prevent this nonsense?

Old 04-05-2004, 02:37 AM   #2
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Use the search feature here. Try looking for 'apache trailing slash' (without quotes).

This question gets asked about once a week (tho the microsoft bit is a new twist).

--- Cerbere
Old 04-05-2004, 07:15 AM   #3
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I'm surprised it doesn't drop you on the windows 2000 server site.
Old 04-05-2004, 08:28 AM   #4
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 253Reputation: 253Reputation: 253
Originally posted by DavidPhillips
I'm surprised it doesn't drop you on the windows 2000 server site.
(Score:5, Funny)
Old 04-08-2004, 02:27 PM   #5
LQ Newbie
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Thumbs up Trailing Slash - The solution


I had the same problem like most of us: - does not work anoying.. but works


I only changed "UseCanonicalName on" to "UseCanonicalName Off"

and .. now I'm smiling ...

Old 10-12-2004, 10:56 PM   #6
LQ Newbie
Registered: Sep 2004
Distribution: Slackware 10.1
Posts: 23

Rep: Reputation: 15
Good Call!!!!!!!!

I just changed changed "UseCanonicalName On" to "UseCanonicalName Off", restarted Apache, and I'm smiling to!!!!!!! Yippppeee!!! NO more microsoft on my websites!!!!!!


PS. I'm using Slackware 10, Apache 1.3, on a Compaq Deskpro P3, 733 Mhz, 512 RAM
Old 03-15-2005, 07:25 AM   #7
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
you bloody ripper!!! after i cleared my cache and cookies everything worked!!! UseCanonicalName was my problem after trying to stuff around with FQDN for days!!! thank you gys heaps!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trailing slash problem in apache... or DNS? Swakoo Linux - Newbie 1 06-07-2005 11:20 PM
Apache trailing slash boondock_saint Linux - General 9 07-07-2004 04:31 PM
trailing slash in Apache gives 404 errors rabbate Linux - General 6 04-30-2004 09:34 AM
Apache trailing slash puzzler tantric Linux - Software 4 04-11-2004 05:18 PM
Necessary trailing slash in apache directories silversky Linux - Software 3 03-03-2004 04:19 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration