Enter Keywords:
1 - 10 of 41(0.012 seconds)
Sort By:
 
Hello. I am still trying to get a better hold on RewriteCond syntex for mod_rewrite. I use this to check if a URL ends with "go=1"  (thanks, caterham_www)         RewriteCond %{QUERY_STR...
Zones: Apache Web ServerDate Answered: 02/16/2005 Rating: 9.6 Views: 0
Hi experts, I was confronted with the following RewriteRule:   RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ No problem with the inner three matching a file suffix, but to me the...
Zones: Apache Web ServerDate Answered: 08/27/2006 Rating: 9.8 Views: 22
RewriteCond %{REQUEST_URI} ^(.*)//$ RewriteRule . http://www.doublespark.co.uk/$1 [R=301] RewriteCond %{REQUEST_URI} ^(.*)/,$ RewriteRule . http://www.doublespark.co.uk/$1 [R=301] Thanks, ...
Zones: Apache Web ServerDate Answered: 01/02/2008 Rating: 9.2 Views: 0
I have a blogging script that takes GET input.   an example might be ?u in the first example.   user.domain.com shoudl be rewritten to user.domain.com?u=user for instance. I have been told that...
Zones: Apache Web ServerDate Answered: 03/21/2005 Rating: 9.4 Views: 0
I want to allow http://ANYTHINGHERE.example.com to link the images...but nothing else. ie. Any sub-domain including the root www. What do i need to change? RewriteEngine On RewriteCond %{HTTP_R...
Zones: Apache Web ServerDate Answered: 07/07/2005 Rating: 6.2 Views: 0
Dear Experts, I need to create a RewriteRule based on a few conditions. Let's assume I have a script called deliver.php. The script accepts a single parameter, namely what. I can call the scr...
Zones: Apache Web ServerDate Answered: 08/01/2005 Rating: 9.8 Views: 0
Several .htaccess questions: 1) How can I add trailing slash in all cases unless a file extension is shown (or is it better to strip trailing slashes always?) 2) Do RewriteConds accumulate?  ...
Zones: Apache Web ServerDate Answered: 10/21/2005 Rating: 8.4 Views: 0
While this works as I'd expect (rewrites http://www.whatever.com/BLAH to http://www.whatever.com/test.php): Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^...
Zones: Apache Web ServerDate Answered: 07/01/2006 Rating: 9.0 Views: 14
Hi, I need help to understand how RewriteCond works RewriteRule ^([^/]+)/([^/]+) /index1.php?p=$1&NewsID=$2 [NC] causes the url mysite/news/NewsID=1 to display as mysite/news/12 (where 12 i...
Zones: Apache Web ServerDate Answered: 05/25/2009 Rating: 8.4 Views: 0
RewriteCond %{QUERY_STRING} Mpage=13 is treated as though Mpage=1 (i.e., the trailing "3" in the integer "13" is dropped or ignored) I tried these but they also did not work: RewriteCond %{QUER...
Zones: Apache Web ServerDate Answered: 08/27/2009 Rating: 6.6 Views: 0