Joseph Grogan
New Member
Hi i tried that mod rewrite to and it dont seem to be working for me either. It just leaves it as it was. Didnt change the name at all
Ye, its on XP pro, i'll setup a redhat server tomorrow then and try get apache and all working on it! Never setup an *nix webserver box before! should be fun!
Ziycon if you are running apache on xp there should not be a problem make sure mod rewrite is enabled in apache. I test using xampp on my xp machine and have no problem testing mod rewrite.
Sorry, after looking again at it, you're right. I was thinking [R=301] for some reason. It was late when I was replying!Ziycon if you are running apache on xp there should not be a problem make sure mod rewrite is enabled in apache. I test using xampp on my xp machine and have no problem testing mod rewrite.
David my first one (no.2) should work as expected and leave the url as mysite.com/forum/ the same as with any other rule it doesn't add index.php, not sure why you thought it would.
The 3rd does have that obvious disadvantage but without knowing his forum setup it may the easiest way so its good to have it as an option, lateral thinking as you say.
Saying that I think your solution is the best one and would be the recommended one by me too.
It just gives me a 404 error! So confused!You should have the .htaccess file in html root folder of the site you are developing not your localhost root (i.e. beside your index.php)
what kind of error are you getting? did you restart apache after enabling the mod rewrite module?
to:AllowOverride None
Working perfectly now!AllowOverride All
It is working but im trying to get it to work with AJAX, i have a page and i want the link to show up say as /releases.htm but to have two variables in the 'real' link to say what page to go to and what sort order like, show only ones starting with a or show all results.I don't get it. Is that way not working for you?