I am using mod_rewrite in my website.It's a social networking website.There are various groups in my website.Some groups are lie "<spirit","<Iam the ONE>" etc.
Previously every page used to get displayed by it's id,so there was not any problem But now since I am using mod_rewrite so the page's name appear in the url instead of it's id.So main problem is the group's names with special characters are not opening.It gives some error which states-you have no permission to access it on server.I want to display url that contain some special characters like "< or > or ;".S o can anybody help me out!!

Thanks

Recommended Answers

All 3 Replies

Not sure why you posted in PHP for this as there is no mention af anything apart from mod_rewrite s this should have been posted in the Apache Forum

You cannot use any characters apart from alphanumerics and the special characters $ - _ . + ! * ' in a URL. You will either need to remove the invalid special characters from the URL or encode them to their hexadecimal value. A full list can be found here http://www.degraeve.com/reference/urlencoding.php

Not sure why you posted in PHP for this as there is no mention af anything apart from mod_rewrite s this should have been posted in the Apache Forum

You cannot use any characters apart from alphanumerics and the special characters $ - _ . + ! * ' in a URL. You will either need to remove the invalid special characters from the URL or encode them to their hexadecimal value. A full list can be found here http://www.degraeve.com/reference/urlencoding.php

Hey XAN...........................THAKS VERY MUCH FOR GIVING ME THE SOLUTION.

Hi, If you can do this go to pay and everything be ok.

commented: ...Spam +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.