This is a discussion on Mod rewrite and OSX within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, Mod_rewrite is loaded in httpd.conf, but it does not work, is that something I missed ? Coluche...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <BC4EAF5D.28EDD%coluche@altern.org>,
"C." <coluche@altern.org> wrote: > Mod_rewrite is loaded in httpd.conf, but it does not work, is that something > I missed ? you should send us the Rewrite rule you're trying to use patpro -- je cherche un poste d'admin UNIX/Mac http://patpro.net/cv.php |
|
|||
|
I need to rewrite: http://www.domain.com/$news/ and http://www.mydomain.com/$news/$user/ into http://www.mydomain.com/index.php?site=$news&user=$user RewriteRule ^(/[a-z0-9]+)*/([a-z0-9]+) /index.php?site=$2 Does not work coluche in article patpro-A8E899.22195510022004@news.fu-berlin.de, patpro at patpro@boleskine.patpro.net wrote on 10/02/04 16:19: > In article <BC4EAF5D.28EDD%coluche@altern.org>, > "C." <coluche@altern.org> wrote: > >> Mod_rewrite is loaded in httpd.conf, but it does not work, is that something >> I missed ? > > > you should send us the Rewrite rule you're trying to use > > > patpro |
|
|||
|
In article <BC4EBC60.28EF3%coluche@altern.org>,
"C." <coluche@altern.org> wrote: > I need to rewrite: > > http://www.domain.com/$news/ and http://www.mydomain.com/$news/$user/ > into > http://www.mydomain.com/index.php?site=$news&user=$user > > 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 http://patpro.net/cv.php |
| Thread Tools | |
| Display Modes | |
|
|