Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Wordpress: enabling Permalinks causes 403 error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-12-04
05:32 AM
2011-12-04
05:32 AM
Wordpress: enabling Permalinks causes 403 error
I am trying to get the "WP Super Cache" working.
In order to do that I have to enable permalinks, but as soon as I do that I get a 403-error when accessing the site.
Enabling permalinks an .htaccess file is created in /webroot/wordpress
The only way to get the main page operating again is to out comment (with #) the "ReWriteEngine On" command.
As far as I found out so far (as a complete new-bee) is that this means mod_rewrite is not running.
When i try to load this module in the httpd.conf file, it says that this is already built-in.
Now after learning about Apache for several hours, I am out of ideas to get this working. Does anyone have any ideas here?
PS:
I am just trying to set things up for the first time.
The URL is: http://peterkooiman.dyndns-at-work.com/wordpress/
Cause of this trouble only the main page is accessible.
In order to do that I have to enable permalinks, but as soon as I do that I get a 403-error when accessing the site.
Enabling permalinks an .htaccess file is created in /webroot/wordpress
The only way to get the main page operating again is to out comment (with #) the "ReWriteEngine On" command.
As far as I found out so far (as a complete new-bee) is that this means mod_rewrite is not running.
When i try to load this module in the httpd.conf file, it says that this is already built-in.
Now after learning about Apache for several hours, I am out of ideas to get this working. Does anyone have any ideas here?
PS:
I am just trying to set things up for the first time.
The URL is: http://peterkooiman.dyndns-at-work.com/wordpress/
Cause of this trouble only the main page is accessible.
Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-12-04
05:53 AM
2011-12-04
05:53 AM
Re: Wordpress: enabling Permalinks causes 403 error
First off, check the spelling. It's "RewriteEngine On", no "ReWriteEngine On" - Apache can be picky there at times. Also make sure the "FollowSymLinks" is enabled for the location of your blog, maybe by adding a "Options +FollowSymLinks to the top of your .htaccess file.
-Stefan
-Stefan
Message 2 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-12-04
06:43 AM
2011-12-04
06:43 AM
Re: Wordpress: enabling Permalinks causes 403 error
You are right, the command is "RewriteEngine On" as you wrote. The .htaccess file is generated automatically everytime i touch Permalinks under Settings in the Wordpress dashboard.
I tried the "Options +FollowSymLinks". And also with the +SymLinksIfOwnerMatch added.
In fact I followed the advice from this site: http://perfectionlabstips.wordpress.com/2008/12/22/fixing-issue-with-lack-of-apache-followsymlinks-or-symlinksifownermatch-option-declarations/
I am wondering why I get the 403 error not anymore when I delete the "RewriteEngine On" demand.
Wouldn't that mean the mod_rewrite isn't available?
I tried the "Options +FollowSymLinks". And also with the +SymLinksIfOwnerMatch added.
In fact I followed the advice from this site: http://perfectionlabstips.wordpress.com/2008/12/22/fixing-issue-with-lack-of-apache-followsymlinks-or-symlinksifownermatch-option-declarations/
I am wondering why I get the 403 error not anymore when I delete the "RewriteEngine On" demand.
Wouldn't that mean the mod_rewrite isn't available?
Message 3 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-12-04
07:38 AM
2011-12-04
07:38 AM
Re: Wordpress: enabling Permalinks causes 403 error
No. As Apache tells you, mod_rewrite is compiled in on ReadyNAS boxes, so there's no way it could not be available 😉
-Stefan
-Stefan
Message 4 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-01-23
03:23 PM
2012-01-23
03:23 PM
Re: Wordpress: enabling Permalinks causes 403 error
I'm also stuck with this error. Any progress?
Message 5 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-01-23
03:30 PM
2012-01-23
03:30 PM
Re: Wordpress: enabling Permalinks causes 403 error
The only thing that I could think of right now (without having tested it on the ReadyNAS) is to add an "AllowOverride All" to the Location statement of the Wordpress installation.
-Stefan
-Stefan
Message 6 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-10
07:43 AM
2012-04-10
07:43 AM
Re: Wordpress: enabling Permalinks causes 403 error
I'm having the exact same issue...
Message 7 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-19
10:30 AM
2012-05-19
10:30 AM
Re: Wordpress: enabling Permalinks causes 403 error
I still have this problem. Anybody care to help troubleshoot?
Message 8 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-28
02:55 PM
2012-11-28
02:55 PM
Re: Wordpress: enabling Permalinks causes 403 error
This was driving me mad, but I've found something that works for me for a similar problem:
Reference (In German): http://www.get-the-solution.net/index-blog-1-14-79-Netgear+ReadyNAS+-+RewriteRules+einrichten.html
I added this to the top of my custom conf file in /etc/frontview/apache/addons/
Combined with my rewrite rules (for a directory navigator)
Hope this helps someone out!
Reference (In German): http://www.get-the-solution.net/index-blog-1-14-79-Netgear+ReadyNAS+-+RewriteRules+einrichten.html
I added this to the top of my custom conf file in /etc/frontview/apache/addons/
Alias /www /c/www
<Location />
Options Indexes FollowSymLinks SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Location>
Combined with my rewrite rules (for a directory navigator)
RewriteEngine On
RewriteCond %{REQUEST_URI} !=/index.php
RewriteRule /$ /index.php
Hope this helps someone out!
Message 9 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-01-29
08:00 PM
2013-01-29
08:00 PM
Re: Wordpress: enabling Permalinks causes 403 error
Can someone please help me with this as these 403 errors on wordpress permalinks are driving me insane!
Please confirm WHAT exactly goes in place of the 'www' ?
Is it the network share or the domain?
For example wordpress is on my network share called 'website'. Wordpress is in a sub directory called 'test' here is the code i added to the /etc/frontview/apache/httpd.conf file:
Is this correct as it doesn't seem to work.
Please confirm WHAT exactly goes in place of the 'www' ?
Is it the network share or the domain?
For example wordpress is on my network share called 'website'. Wordpress is in a sub directory called 'test' here is the code i added to the /etc/frontview/apache/httpd.conf file:
Alias /website/test /c/website/test
<Location "/website/test">
Options Indexes FollowSymLinks SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Location>
Is this correct as it doesn't seem to work.
Message 10 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-02-03
04:46 PM
2013-02-03
04:46 PM
Re: Wordpress: enabling Permalinks causes 403 error
I hope that can help:
*Configure Apache for multiple virtual hosts: http://liewdaryl.wordpress.com/2012/05/24/configuring-apache2-on-readynas-ultra-2-for-multiple-virtual-hosts/
*Enabling .htaccess: http://liewdaryl.wordpress.com/2012/05/27/enabling-htaccess-on-readynas-ultra-2/
*and sphardy post here: http://www.readynas.com/forum/viewtopic.php?f=36&t=61282#p343626
Or "easy way" - addon from readynasXtras here: http://readynasxtras.com/readynas-x86-add-ons/wordpress-x86
(PHP 5.3, MySqlOn, PhpMyAdmin 2.5 for create and manage DB and subdomen - needed.)
*Configure Apache for multiple virtual hosts: http://liewdaryl.wordpress.com/2012/05/24/configuring-apache2-on-readynas-ultra-2-for-multiple-virtual-hosts/
*Enabling .htaccess: http://liewdaryl.wordpress.com/2012/05/27/enabling-htaccess-on-readynas-ultra-2/
*and sphardy post here: http://www.readynas.com/forum/viewtopic.php?f=36&t=61282#p343626
Or "easy way" - addon from readynasXtras here: http://readynasxtras.com/readynas-x86-add-ons/wordpress-x86
(PHP 5.3, MySqlOn, PhpMyAdmin 2.5 for create and manage DB and subdomen - needed.)
Message 11 of 11