Mod_rewrite Question

Status
Not open for further replies.


This site has 25,000 pages, and over ten thousand uniques a day.

Isn't there just a simple way to do it with regular expressions? I don't understand them, maybe someone could give me some insight.
 
Nope. Is there another way to do it without going into the httpd.conf?

as far as mod_rewrite is concerned you can have everything in an .htaccess file

test this line out: RewriteMap lowercase int:tolower
and this one: RewriteCond ${lowercase:%{HTTP_HOST}|NONE} ^(.+)$

dont forget to enable it first: RewriteEngine on
 
yeah sitepoint has a few people that are pretty familiar with mod_rewrite

I'll try to play around with the htaccess file tomorrow and see if I can get it to work
call me a geek but I always enjoyed tinkering with apache
 
Status
Not open for further replies.