Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trailing slash in Apache



 Michael Webb wrote: 
> ...how do I get [www.sdmc.com/binderapp/] to work as www.sdmc.com/binderapp... 

I thought Apache already made URLs canonical by default. The other 
response in this thread seems to confirm that, and if you read the 
"Trailing Slash Problem" section of the "Apache 1.3 URL Rewriting Guide" 
you'll see: 

http://httpd.apache.org/docs/1.3/misc/rewriteguide.html

   ...the problem of the trailing slash on URLs referencing directories. 
   If they are missing, the server dumps an error...Actually [it] tries 
   to fix it [itself] in most of the cases... 

Also suggesting that Apache handles this internally, normally. But it 
goes on to describe techniques for implementing such rules yourself. 


> ...when I try to put a redirect in the .htaccess folder...it doesn't 
> work... (it is bringing up index.html) 

Which index.html? 
www.sdmc.com/binderapp/index.html? 
www.sdmc.com/index.html? 

The former is what you want it to do, isn't it? And the latter shouldn't 
happen, unless you've constructed the redirect rule wrong. 

Try posting your .htaccess. 

  -Tom 

-- 
Tom Metro 
Venture Logic, Newton, MA, USA 
"Enterprise solutions through open source." 
Professional Profile: http://tmetro.venturelogic.com/

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org