Note that there are some explanatory texts on larger screens.

plurals
  1. POWordpress throws 403 forbidden error on wamp apache when enabled permalink?
    primarykey
    data
    text
    <p>I have setup a wordpress website on which I enabled permalink to open the pages with seo friendly urls. So it changed my .htaccess as below</p> <pre><code># BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase /brt_blog/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /my_blog/index.php [L] &lt;/IfModule&gt; # END WordPress </code></pre> <p>But now when I try to access the website on localhost, it throws error as</p> <pre><code>Forbidden You don't have permission to access /my_blog/ on this server. </code></pre> <p>I tried to look into the apache error logs and found this</p> <pre><code>[Thu Sep 19 22:33:29 2013] [error] [client 127.0.0.1] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: D:/www/brt_blog/, referer: http://localhost/ </code></pre> <p>So to fix this what I did is, I added below line before <strong># BEGIN Wordpress</strong></p> <pre><code>Options FollowSymLinks </code></pre> <p>And that got fixed and site worked fine with seo friendly urls.</p> <p>But the main issue is, it seems that there is some misconfiguration or some kind of security set on apache under wamp on my system. As every time if I create any site with the htaccess file having this code, it throws same <strong>403 Forbidden</strong> error.</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On .... my rewrite rules here... &lt;/IfModule&gt; </code></pre> <p>Here is the link to my httpd.conf file on apache, just in case anybody need to check it. <a href="http://pastebin.com/LFxNTsnR" rel="nofollow">http://pastebin.com/LFxNTsnR</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload