Revision [9659]

This is an old revision of ModRewrite403Workaround made by JavaWoman on 2005-06-27 07:51:43.

 

Consistent Error 403 on fresh Wikka install


Symptoms

Going to any URL in your Wikka yields an error 403.

Cause

The option FollowSymLinks is not set for your directory in the configuration files.

Applies to

Any Wikka version running on Apache.

Solution

Note: This works IFF (if, and only if) you have AllowOverride set to All or Options in Apache's httpd.conf!

Open the .htaccess file in Wikka's home directory and add the Options +FollowSymLinks on the line underneath <IfModule mod_rewrite.c>.

This should solve your problem, assuming that your host allows you to override the options! If not, please speak to your administrator to either set the default to allow following symlinks, or to give you override control for your directory.


Example configuration file (default + option set):

### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|picturesplace|learnthebiz|pi-o|erotica|ghettoinc|port5|bulk-email|camgirls|paris-hilton|modelos|kredit|handyflirt24|versicherung|wwww|erotower|krank|x-1000|flirtnet|blowjob|agedwife|in-the-vip|boysfirsttime|milf|captain-stabbin|tranny|Kontakt|erotik|fetish|frauen|hardcore|fick|krankenversicherung|jinnan-cross|8thstreet|xxx|XXX|ficken|fuck).*" BadReferrer

order deny,allow
deny from env=BadReferrer

<IfModule mod_rewrite.c>
 Options +FollowSymLinks
 RewriteEngine on
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^(.*/[^\./]*[^/])$ $1/
 RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>


Apache docs on options directive


CategoryWorkaround
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki