FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Mod Rewrite .htaccess





coreymanshack
Why is my .htaccess not working when i upload it to my public html of this site??


Here is the code.

Code:

RewriteEngine on
RewriteRule /index.php http://3ld.biz/forums/portal.php
RewriteRule /members.php http://3ld.biz/forums/members.php
alex_cyber
have you enable the rewrite mod in Apache
coreymanshack
alex_cyber wrote:
have you enable the rewrite mod in Apache


Frihost has the rewrite mod enabled.
coreymanshack
coreymanshack wrote:
alex_cyber wrote:
have you enable the rewrite mod in Apache


Frihost has the rewrite mod enabled.


I figured out frihost is set up weird cause I did a

Code:
RewriteRule ^index.html$ http://3ld.biz/forums/portal.php


instead of index.php and it worked
Fire Boar
Isn't that more to do with the starting / in your original?
coreymanshack
Fire Boar wrote:
Isn't that more to do with the starting / in your original?


Well what I posted was just something I had tried, I had already tried
Code:
RewriteRule ^index.php$ http://3ld.biz/forums/portal.php


and if i didnt, I'm a dummy, cause I thought I did.
Related topics
.htaccess instead of mod_rewrite
More Domain Help Needed
Mod Rewrite!!
help with mod_rewrite
Move to subdomain without causing 404 errors on old pages?
How to use mod rewrite?
Does mod rewrite nescessary?
Appache Mod Rewrite
url rewrite
mod rewrite - danger?
[help]Webs dinamicas y estaticas
Need Help. Urgent!!
Help needed with mod rewrite
Mod rewrite subdomain
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.