Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,475 members, 7,830,385 topics. Date: Thursday, 16 May 2024 at 08:49 PM

..... - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / ..... (1377 Views)

Mod Rewrite Not Working On My Addon Domain / Useful Uml Modeling: Don't Rewrite The Uml / Url Rewrite In Php (2) (3) (4)

(1) (Reply) (Go Down)

..... by Ymodulus: 12:38pm On Oct 11, 2011
.....
Re: ..... by dhtml1(m): 1:03pm On Oct 11, 2011
There is no downside to it really. Your choice,
www.mysite.com/company/page=1?v=10

or rewrite it to

www.mysite.com/page1

Your choice. But do well to remember that Windows Servers do not support .htaccess,
so if your only option is rewrite, the site will fail on such servers.

Then, i have experienced some apache servers with the rewrite engine turned off.
Maybe for security reasons. . . am not sure. . .
Re: ..... by Ymodulus: 2:04pm On Oct 11, 2011
tanks dhtml. most especially on the fact that windows server do no support htaccess. but in your own view which wud u advise me to use and which do u use
Re: ..... by binkabir(m): 9:41pm On Oct 11, 2011
Ymodulus:

tanks dhtml. most especially on the fact that windows server do no support htaccess. but in your own view which wud u advise me to use and which do u use

I will personally recommend "php routing after rewriting all request to index.php", because you simply know the rules and is server independent.
Re: ..... by dhtml1(m): 10:13pm On Oct 11, 2011
Exactly. I have already explained the reasons above already:
1. Rewriting may fail if .htaccess is not supported
2. Even if .htaccess is working, rewrite engine may be turned off

You may start begging your webhost to switch on rewrite engine.

But i will like to quickly add here that drupal comes with an option (clean url disabled),
that allows you to route requests to index.php if the rewrite engine is not working.

(1) (Reply)

Dhtml Pastebin / Codebin : Run Php/jscript/html Online / Help! My Traffic Is Wasting! / Twitter Retweet Community Script

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.