Apache Server configuration support - mod_rewrite and SEO friendly url

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2007 > mod_rewrite and SEO friendly url





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mod_rewrite and SEO friendly url
Radix

2007-07-19, 7:21 pm

I've got the following rewrite to work in .htaccess:

RewriteEngine on
RewriteBase /tmp/
RewriteRule ^([^/]*)$ /cgi-bin/app/file.jsp?v1=$1 [L]

However, I entered the same into httpd.conf, couldn't get it to work:

<Directory "/apps/apache2-open/htdocs/tmp">
Options Indexes FollowSymlinks
AllowOverride None
Order allow,deny
Allow from all
RewriteEngine on
RewriteBase /tmp/
RewriteRule ^([^/]*)$ /cgi-bin/app/file.jsp?v1=$1 [L]
</Directory>

Can anyone see my mistake(s) and recommend what to do to fix this? I
have used it on both Apache 2.0.52 and 2.2.4, without any success on
httpd.conf.

regards,
Rudy

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com