PDA

View Full Version : Mod-rewrite problem


SMac
10-02-2005, 04:31 PM
Hi all,
I am new to PHP Link Directory. The program looks great and I think it will meet my needs just fine if I can get the rewrite to work.

Right now I have the correct .httacess in my root directory, enable URL rewrite is set to “yes” and according to the hosting provider (1and1.com) the engine is on but I still get a 500 – Internal Server Error.

Doe anyone have any thoughts on how to get this working?

VSDan
10-02-2005, 05:53 PM
Quite often web hosts are wrong when it comes to mod_rewrite. If it is installed, it may not be enabled (via server config, httpd.conf). A good test is to see if just the one Rewrite line works:

RewriteEngine on

If not, try preceding the above line with the following line:

Options FollowSymlinks

The latter addition sometimes gets mod_rewrite works. If still no go, then your web host is likely wrong.

SMac
10-02-2005, 07:49 PM
Thanks for the ideas VSDan.

I tried the Options FollowSymlinks and it does not seem to work.

I am very sure that the host has it turned on because the specificaly mention it on their site.

kavakava
12-28-2005, 05:11 PM
Hi,

I am on 1&1 as well, and had the same problem. This fixed it:

http://www.phplinkdirectory.com/forum/viewtopic.php?t=105&highlight=modrewrite

Good luck!

PortProphecy
12-28-2005, 05:20 PM
I had the same problem. usign a shared hosting plan with 1 and 1. I found the. htaccess that was placed by default in some obscure place, and deleted it, then added the php link directory .htaccess file in its place and now everything is ok.