Page 1 of 1
Help for Mod_ReWrite
Posted: Wed Mar 08, 2006 3:56 am
by heerajee
Hi,
I want to do my website address to be show in the address bar as abc.com on every page using PHP.
For this plz, guide to me how it is possible in little bit detail.
& which apache version is suitable for installation and this mod_rewrtie, and from where it is easily available to download.
Thanks in advance for your consideration.
Asif Arif
Posted: Wed Mar 08, 2006 9:23 am
by feyd
You want to spoof a domain or keep the same address in the address bar?
For former is unethical, so we won't go into details there, while the latter is done easiest with frames; the bane of many a developer.
Help!
Posted: Thu Mar 09, 2006 4:20 am
by heerajee
Thanks of your interest, but u did not give me any tip for solution.
I will be thankful to anyone to do help.
Thanks.
Re: Help!
Posted: Thu Mar 09, 2006 7:42 am
by Chris Corbyn
heerajee wrote:Thanks of your interest, but u did not give me any tip for solution.
I will be thankful to anyone to do help.
Thanks.
Actually he did give you a solution. Use frames.
Basically run your website from inside of one frame on the index page. It's not very user friendly though if you can't bookmark the url.
By the way, if your title was little more descriptive than just "Help!" you may have received a few more responses... how can anyone know what the thread is about when it's called "Help!" ?
Help for Mod_ReWrite
Posted: Thu Mar 09, 2006 8:19 am
by heerajee
Now, i have changed the title to make it easy yo understand. I hope now some one will tell me its solution. I dont want to use frames instead mod_rewrite.
Thanks.
I have made a small assignment by changing in the httpd.conf file but in vain.
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
///////Then at the end
RewriteEngine on
RewriteRule ^alice.html$ bob.html
from the source url(
http://www.workingwith.me.uk/articles/s ... od_rewrite).
told me is this chance will effect the mod_rewrite mechanism.
Thanks.
Help! mod_rewrite
Posted: Fri Mar 10, 2006 1:34 am
by heerajee
Hi,
I have studied the mod_rewrite mechanism and succeede in showing from old.html to new.html.
But now i want that transfering the
http://www.abc.com/index.php to
http://www.abc.com/index.html.
How it is possible to implement this on my whole site.
Thanks in Advance.
Asif Arif
"A little bit done, A little bit left"
Posted: Fri Mar 10, 2006 5:21 am
by heerajee
I have done this but with alice.html & bob.html, when i call the alice.html this shows the bob's contents but the address bar shows the address as alice.html but i want the address showed the address as alice.php.
If any one helped me, i am very thankful to him.
Thanks