Latest LQ Deal: Linux Power User Bundle
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 08-12-2003, 07:37 PM   #1
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?

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

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

UseCanonicalName On
Old 08-12-2003, 09:13 PM   #3
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.


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 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 PM.

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