.htaccess causing error "[error] [client 127.0.0.1] client denied by server configuration"
Posted by: hitendrasinh (---.140.179.122.airtelbroadband.in)
Date: July 26, 2012 03:50PM

Hi,

I am just trying to enable url rewriting with wamp/localhost.


Error log from apache:-
[error] [client 127.0.0.1] client denied by server configuration:

.htaccess file:-
Options +FollowSymLinks
RewriteEngine On
RewriteBase /base/
RewriteRule ^category /category.php


if i remove .htaccess file from base directory then it works fine but i am not able to take advantage of url rewriting.

can anybody help me to solve this problem?



Edited 2 time(s). Last edit at 07/26/2012 04:46PM by hitendrasinh.

Options: ReplyQuote
Re: .htaccess causing error "[error] [client 127.0.0.1] client denied by server configuration"
Posted by: RiggsFolly (---.as13285.net)
Date: July 27, 2012 02:28PM

Without knowing your directory structure its difficult to say, but Iwould guess that the result of the url rewrite is sending you somewhere you didnt expect and whereever that is its not within the confines of your servers directory structure.

Docs on use of mod_rewrite
[httpd.apache.org]


There is also a loggin feature that will log what the url rewriter is doing, step by step that can help when debugging rewrite rules.

[httpd.apache.org]


Suggest you will have to do a little research and debugging

Options: ReplyQuote


Sorry, only registered users may post in this forum.