Firefox PHP

Mod_Rewrite Hack

Posted by TIG 
Re: Mod_Rewrite Hack
January 30, 2005 05:23PM
> 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
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Mod_Rewrite Hack
March 09, 2006 09:39PM
Hi.

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
</Directory>

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 05:28PM
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 04:09PM
Hi,

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,

Pierre
Re: Mod_Rewrite Hack
January 18, 2008 09: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 09:54AM
Hi,

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

Pierre
Sorry, only registered users may post in this forum.

Click here to login