In article <BC4EBC60.28EF3%coluche@altern.org>,
"C." <coluche.TakeThisOut@altern.org> wrote:
> I need to rewrite:
>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.domain.com/$news/" target="_blank">http://www.domain.com/$news/</a> and <a style='text-decoration: underline;' href="http://www.mydomain.com/$news/$user/</font" target="_blank">http://www.mydomain.com/$news/$user/</font</a>>
> into
<font color=purple> > <a style='text-decoration: underline;' href="http://www.mydomain.com/index.php?site=$news&user=$user</font" target="_blank">http://www.mydomain.com/index.php?site=$news&user=$user</font</a>>
>
> RewriteRule ^(/[a-z0-9]+)*/([a-z0-9]+) /index.php?site=$2
>
> Does not work
launch the terminal (/Applications/Utilities/Terminal.app) and type :
tail -f /var/log/httpd/error_log
then test your web site. You'll soon find what's wrong with your rewrite
rule.
patpro
--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Mod rewrite and OSX