Help for Mod_ReWrite

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

Help for Mod_ReWrite

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

Help!

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Help!

Post 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!" ?
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

Help for Mod_ReWrite

Post 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.
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

Help! mod_rewrite

Post 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
heerajee
Forum Newbie
Posts: 18
Joined: Sat Feb 25, 2006 12:33 am

"A little bit done, A little bit left"

Post 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
Post Reply