LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-04-2004, 10:11 PM   #1
SerfurJ
Member
 
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?

thanks,
jason
 
Old 04-05-2004, 01:37 AM   #2
Cerbere
Member
 
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).

Enjoy!
--- Cerbere
 
Old 04-05-2004, 06:15 AM   #3
DavidPhillips
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, 07:28 AM   #4
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
Quote:
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, 01:27 PM   #5
giluriel
LQ Newbie
 
Registered: Apr 2004
Posts: 2

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

Hi,

I had the same problem like most of us:
http://www.myserver.com/directory - does not work
http://www.myserver.com/directory/ anoying.. but works

well...

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

and .. now I'm smiling ...

:-)
 
Old 10-12-2004, 09:56 PM   #6
webshark
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!!!!!!

Thanks

PS. I'm using Slackware 10, Apache 1.3, on a Compaq Deskpro P3, 733 Mhz, 512 RAM
 
Old 03-15-2005, 06:25 AM   #7
dickohead
Member
 
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!
 
  


Reply



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 10:20 PM
Apache trailing slash boondock_saint Linux - General 9 07-07-2004 03:31 PM
trailing slash in Apache gives 404 errors rabbate Linux - General 6 04-30-2004 08:34 AM
Apache trailing slash puzzler tantric Linux - Software 4 04-11-2004 04:18 PM
Necessary trailing slash in apache directories silversky Linux - Software 3 03-03-2004 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 PM.

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