New to Mod_Rewrite and Issue with it working

New to mod_rewrite? This is a good place to start.

New to Mod_Rewrite and Issue with it working

Postby jimbauer3 » Fri Oct 30, 2009 11:43 am

I'm trying to setup the httpd.conf file to rewrite to a DNS recently created. Currently I have Subversion web utilizing http://localhost/svn/dml, I need the rewrite to use

I have added the following in the httpd.conf file;

<IfModule rewrite_module>
Options +FollowSymLinks
RewriteEngine On
RewriteRule /.* [L]

I also enabled the module as below;

LoadModule rewrite_module modules/

Is there something eles that I'm missing to get this to work.

Posts: 1
Joined: Thu Oct 29, 2009 5:32 am

Postby richardk » Mon Nov 02, 2009 10:13 am

Does this mod_rewrite test work (in your .htaccess file)?
You want requests to localhost/svn/dml/* to go to*?
Where is the mod_rewrite in your .htaccess file?

Try a simple redirect
Code: Select all
Redirect 301 /svn/dml

If that doesn't work, what SVN configuration do you have? It might be a conflict with that.
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 5 guests