Firefox PHP

Mod_Rewrite Hack

Posted by TIG 
Re: Mod_Rewrite Hack
January 30, 2005 11:23AM
> RewriteBase /phorum5_HEAD

why would you have that in there? thats not your directory. its for sure that you get a 404 then.
if you have access to your access/error-log try to find out which file its trying to access.

Thomas Seifert
Re: Mod_Rewrite Hack
March 09, 2006 03:39PM

Do you have mod_rewrite enabled?

For apache2 on Debian go to /etc/apache2/mods-enabled and link the rewrite mod:
ln -s /etc/apache2/mods-available/rewrite.load

Do you have the AllowOverride in your apache conf set to All?
Something like this:
<Directory /webdir/phorum/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

Can you post a relevant part of the error.log so we can see what is going wrong? I copied the above ruleset and it works perfect.
Re: Mod_Rewrite Hack
November 03, 2006 11:28AM
I tried the mod but it just gives me SEO friendly URL. Anyone have the code changes that accomplish what TIG has asked from the first post in this thread?
Re: Mod_Rewrite Hack
June 27, 2007 10:09AM

I installed phorum and modified the code in order to get better urls.
You can check the result here :

SEO friendly urls

I can try to create a module or a hack to make this modification public if somebody is interested.

Let me know what you think,

Re: Mod_Rewrite Hack
January 18, 2008 03:24AM
your url are great! could you creat module or hach ? or sam einstructons how to do this
Re: Mod_Rewrite Hack
January 18, 2008 03:54AM

Thanks for your message.
I ll try to post a how-to on this thread by monday.

Sorry, only registered users may post in this forum.

Click here to login