I assume you need make it with apache (because make it in php is too easy):
- need enable apache modules mod_rewrite and mod_proxy
- need create required rules to modify url
- need send modified url-s to apache proxy
- need disable supporting external request by apache proxy

if you need more detail then I can send you an example by email.

Best
Vitana
http://vitana-group.com/

I assume you need make it with apache (because make it in php is too easy):
- need enable apache modules mod_rewrite and mod_proxy
- need create required rules to modify url
- need send modified url-s to apache proxy
- need disable supporting external request by apache proxy

if you need more detail then I can send you an example by email.

Best
Vitana
http://vitana-group.com/

Hi Vitana,

Thanks for your immediate reply

I think modifying in the htaccess is nothing but changing the settings of our webserver, any way I am not sure about it, Can you please send me an email to saiprem.m@gmail.com.

And one more thing, I saw your website, Its pretty good, but in someplaces seems url rewriting for your site is not working properly - FYI Please click on the link "How we do it" on the home page. It is giving me an error, It might be problem of url-rewriting.

I just sent an email you on it.

I have not created How we do it yet :)
There I use following .htaccess

DirectoryIndex index.php

RewriteEngine On
RewriteCond %{REQUEST_URI} \.(html|php|jpg|gif|png)$
RewriteRule .* - [L]

RewriteRule ^$ index.php [QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ $1.php [QSA,L]

based on this rules if apache can not find requested file then it adds php extention and tries to execute it as php script.

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.