You are here:  » .htaccess file

Support Forum



.htaccess file

Submitted by Bob on Thu, 2007-02-22 22:34 in

Hi there,

I have set up $config_useRewrite to TRUE and saved ".haccess" file as instructed in your manual. I am using the Apache server at home for testing this feature. If I try to use the setup.php to install the script I get this WARNING: $config_useRewrite is TRUE but .htaccess not found!

Any ideas about why I am getting this error? Is it something to do with AllowOverride directory options in Apache configuration file or something else? I played with the issue for some time now but still could not see what's causing this warning.

Many Thanks.

Bob

Submitted by support on Fri, 2007-02-23 08:12

Hello Bob,

If you are running Apache under Windows i've come across this problem before, and it is to do with the file not actually being called .htaccess as a result of the way the commands and file system work.

Can you try changing htaccess.txt to .htaccess via the command prompt rather than in a window? Alternatively, your FTP program might be able to do it (use the window on your local filesystem).

One tip i've just looked up on the Web is to open htaccess.txt into Notepad, then use "Save As..." and enter ".htaccess" INCLUDING THE QUOTES and this will tell it to save it exactly as .htaccess and not .htaccess.txt.

Hope this helps,
Cheers,
David.