Mod rewrite and OSX

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...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2004
C.
 
Posts: n/a
Default Mod rewrite and OSX

Hi,

Mod_rewrite is loaded in httpd.conf, but it does not work, is that something
I missed ?

Coluche

  #2 (permalink)  
Old 02-10-2004
patpro
 
Posts: n/a
Default Re: Mod rewrite and OSX

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
  #3 (permalink)  
Old 02-10-2004
C.
 
Posts: n/a
Default Re: Mod rewrite and OSX


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



  #4 (permalink)  
Old 02-10-2004
patpro
 
Posts: n/a
Default Re: Mod rewrite and OSX

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:27 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0