Newbie mod_rewrite question`

This is a discussion on Newbie mod_rewrite question` within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello ive spent a while looking at the mod_rewrite module in apache2.2 however i cant seem to get it ...


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-08-2006
julian@isolve-online.com
 
Posts: n/a
Default Newbie mod_rewrite question`

Hello ive spent a while looking at the mod_rewrite module in apache2.2
however i cant seem to get it to work. I am trying to get this simple
example to work but i cant.

in my httpd.conf file i have the following code

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/news$ /events
</IfModule>

All i am trying to do is to get to the point where if i type
http://localhost/news into the url i will be redirected to
http://localhost/events

I am using the site
http://www.sitepoint.com/article/guide-url-rewriting/2

If anyone knows how to get this to work please let me know

Thanks

  #2 (permalink)  
Old 02-08-2006
MikeDawg
 
Posts: n/a
Default Re: Newbie mod_rewrite question`

Do you have mod_rewrite.c in your httpd (either compiled in, or as a
dso module)? Can you verify that?

Also, make sure that you have: Options FollowSymLinks set in your
config.

 


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 02:19 PM.


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