LinuxQuestions.org
Register a domain and help support LQ
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, 08: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, 10:04 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,147

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

UseCanonicalName On
 
Old 08-12-2003, 10: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


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


All times are GMT -5. The time now is 08:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration