如何摆脱网址末尾的额外斜杠

I have this link and as you can see there is an extra / at the end. Basically i have a restaurant_pos folder with an index.php file in it but apache is adding the extra slash. I thought there was a way to do this in htaccess with directory directives off or something like that...not sure the name...any ideas

This should do the job for you (redirect if UR has trailing slash):

DirectorySlash Off

RewriteEngine On
RewriteBase /

# get rid of trailing slash
RewriteRule ^(.*)/$ $1 [R=301,L]

But you may have that extra slash added by some other rule in your .htaccess. If above will not help and you have some rewrite rules already in place -- please post them in your question.