LinuxQuestions.org
Review your favorite Linux distribution.
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 08-12-2003, 07:37 PM   #1
kipbenson4
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Apache: Need backslash to indicate directory?


I searched for apache-related posts before asking this, but I didn't find anything relevant. It's similar, but not quite the same as the DirectoryIndex directive problem, I think.

I have direcories in my htdocs, so I want to be able to access them in the following ways:

http://myserver/sandbox/ (1)
http://myserver/sandbox (2)

(1) works like a champ, going to whatever I've specified in DirectoryIndex, but (2) gives a browser error--NOT from Apache.

What can I do to auto-insert the backslash so apache doesn't think it's trying to access a file?

Thanks!
Kip
 
Old 08-12-2003, 09:04 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You need to have this in your httpd.conf file:

UseCanonicalName On
 
Old 08-12-2003, 09:13 PM   #3
kipbenson4
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
[Resolved] UseCanonicalName setting

It already was on, so I tried turning it off:

UseCanonicalName Off

That seemed to do the trick!

Thanks for the tip.
Kip
 
  


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
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
Help Deleting a Backslash! Am i an idiot? farmerjoe Programming 3 03-21-2005 11:03 AM
backslash input in script esasse Linux - Newbie 6 02-17-2005 06:55 AM
Trailing Backslash problem duerra Linux - Newbie 6 01-28-2004 12:58 PM
Backslash in URL Cynthia Blue Linux - Newbie 17 08-18-2003 07:36 AM

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

All times are GMT -5. The time now is 11:07 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