"Josh" <josh.RemoveThis@pixael.com> ha scritto nel messaggio
news:c6r77f$ep2o8$1@ID-203386.news.uni-berlin.de...
> how can i add slash to virtual directory?
> i put this rule in htaccess
> RewriteRule ([^/]+)/$ /index.php?id=$1 [T=application/x-httpd-php,last]
<font color=purple> > and <a style='text-decoration: underline;' href="http://www.example.com/dir/" target="_blank">www.example.com/dir/</a> redirect to <a style='text-decoration: underline;' href="http://www.example.com/index.php?id=1</font" target="_blank">www.example.com/index.php?id=1</font</a>>
> but <a style='text-decoration: underline;' href="http://www.example.com/dir" target="_blank">www.example.com/dir</a> return a 404
ok
RewriteRule ^([^.])$ /$1/ [R]
is this syntactically correct?
--
Josh
<a style='text-decoration: underline;' href="http://www.pixael.com" target="_blank">www.pixael.com</a>
icq: 59204079<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: add slash to virtual dir