GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 22-Jun-2009, 07:50
chancho chancho is offline
New Member
 
Join Date: Jun 2009
Posts: 1
chancho is on a distinguished road
Question

Help with rewriteCond


Hello everyone,

I'm having a problem with Apache, I have a file 'unsupportedscanx.php', and I want to set a condition that if a user type the URL with upper case letters or combination with lower case letter, that always points to this file unsupportedscanx.php.

This is what I've been using and can't find a solution,
Code:
rewriteCond ${lowercase:%{REQUEST_URI}} ^/unsupportedscanx\.php$ rewriteRule ^/%1 /unsupportedscanx\.php [R=301,L]

What is the problem with the code?
Hope someone can help me,

Thanks
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mod rewite to disguise root JUNK KED Apache Web Server Forum 4 09-Jan-2005 05:39
Major .htaccess issues.... Oy! ashley526 Search Engine Optimization Forum 0 22-Jun-2004 22:57
Using mod_rewrite to prevent hotlinking and email harvesters jrobbio Web Hosting Forum 12 17-Jan-2004 18:34
Blocking Spambots by .htaccess BobbyDouglas Apache Web Server Forum 2 16-Jan-2004 10:32
.htaccess language / rewrite problem spinflip Apache Web Server Forum 5 15-Dec-2003 14:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 17:38.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.