LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-28-2004, 03:01 AM   #1
nutsaboutlinux
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
URL not followed by a '/' takes to another page


Hi there!

I'm faced with a strange problem after I shifted the server of one of my sites. When I type a particular url (of a directory of the sub-doamin of the site), then it redirects to a page which doesn't exist at all if not folloed by a backslash. Here's what I mean concisely-

sub-domain.mysite.com/directory/- works fine.

sub-domain.mysite.com/directory - redirects to mysite.com/directory, which actually doesn't exist.


This is driving me nuts and I have no idea what to do. I'll be grateful if someone here could come up with the error and the possible fix. I'm not too familiar with hosting so kindly explain a bit in lenght or refer me some resources where I can learn about the problem and the possible solutions.

Thanks and regards,

Nuts about Linux.
 
Old 04-28-2004, 04:17 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Did you try setting UseCanonicalName in your httpd.conf to "On"? I'm not sure if this will actually help but the default is "Off" and that is often a source of confusion and unexpected Apache behaviour.


Håkan
 
Old 04-28-2004, 04:45 AM   #3
nutsaboutlinux
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Hey, hw-tph, your guess was spot-on. That exactly was the problem. I've made the changes as you suggested, and it's working perfectly fine now.

Thanks a ton!

Nuts about Linux.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 8100: No scancodes from Page Up Page Down keys twosider Linux - Laptop and Netbook 1 10-18-2005 09:41 AM
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 09:51 AM
daunting task - read wml input, insert variables into URL, DL page, parse, write file jeffreybluml Programming 1 05-12-2005 06:31 AM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:28 AM.

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