It is currently Fri May 25, 2012 7:24 pm

News News of Apache mod Rewrite

Site map of Apache mod Rewrite » Forum : Apache mod Rewrite

Discussions about Apache mod Rewrite, .htaccess, Use, experiences ... URL Rewriting.

Rewrite rule!! help

Hi!, I'm trying to make patern for url like this naudinga;254d34e674cbcb04cd4100ff331731c7;atlikejas;69%20Danguje; exactly forthe last part of it : "69%20Danguje" how should I do? My variant is:
Code: Select all
([a-zA-Z0-9%-]+)
it doesnt work:/ please help:]
Read more : Rewrite rule!! help | Views : 337 | Replies : 1


Mod_rewrite 2rules, second doesn't work

Hi every body. I have a very annoying problem with mod_rewrite rules(I'm new here), so i have 2 rules:
Code: Select all
RewriteRule ^index;([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);$  index.php?SID=$1&id=$2&p=$3
RewriteRule ^index;([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);$  index.php?SID=$1&id=$2&x=$3

as you see both of them are for same file and also both of them have same number of variables but them are different. So my problem is that second rule doesn't work:( please help me to solve this problem!:)
Read more : Mod_rewrite 2rules, second doesn't work | Views : 483 | Replies : 5


htacces help please

From last 7 days i have tried all possible option to load htacces that work, but url is showing 404 error.

mod rewrite working.

its just i need to get thru with this last bit of htaccess that get generate with PHPBB-SEO mod and i relace with ascii to my FTP.

Please check following htacc and let me know where im going wrong.

Thanks in advance guys.



# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

# You may need to un-comment the ...
Read more : htacces help please | Views : 937 | Replies : 1


mod_rewrite for redirecting url as cityname.domain.com

Hi

I am new to mod_rewrite

I need two things to do in htacess

1. I want all my php pages to display as html

Example : index.php to index.html
aboutus.php to aboutus.html

I given like this

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(*)\.html$ index.php?action=$1
RewriteRule ^(*)\.html$ aboutus.php?action=$1

This works good. But for this a query string is passes. I don’t want to give any query string. If I click index.php it should redirect to index.html. I don’t want to write separate for aboutus.php. within a single code it should redirect all php to html pages


2. The most wanted thing ...
Read more : mod_rewrite for redirecting url as cityname.domain.com | Views : 553 | Replies : 1


Request exceeded the limit of 10 internal redirects due

Hiya,
I'm running 3.07pl1 phpbb-seo premod, advanced mode. I've used the htaccess generated by phpp-seo. I did not turn on any of the options for preceding / or whatnot. I also have wordpress on the same domain (pwnwear.com is wordpress, pwnwear.com/forum is phpbb). There are a few standard rules for wordpress in my htaccess, which are at the end of the file.
I've been trying to track down the cause of this error.
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary.

Are there any known problems with ...
Read more : Request exceeded the limit of 10 internal redirects due | Views : 1013 | Replies : 0


 

Login  •  Register


Statistics

Total posts 41127 • Total topics 8563 • Total members 15417