2
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by vitana
0

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/

Edited by vitana: n/a

0

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.

Edited by saiprem: n/a

0

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.

Edited by vitana: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.