Forum Moderators: phranque
in an earlier post I got my server to work with mod_rewrite /.htaccess thanks to gergoe.
(http://www.webmasterworld.com/apache/3520404.htm)
Now I'm facing the next challenge. i got myself the no-hotlink plugin for wordpress and also like to change to the "nice URL" by changing the permalink in Customize Permalink Structure from "Default" to "Date and name based" - Wordpress ask to update the .htaccess to this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!http://www.123456.com
RewriteRule (wp-content/uploads.*\.(gif¦jpg¦jpeg¦png)$) [123456.com...] [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . /index.php [L]
</IfModule>
Gives me 403 error
Server Error log says:
[Mon Dec 10 21:26:34 2007] [error] [client #*$!.#*$!.xx.#*$!] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/htdocs/webxx/html/, referer: [123456.com...]
[Mon Dec 10 21:26:35 2007] [error] [client #*$!.#*$!.xx.#*$!] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/htdocs/webxx/html/favicon.ico
Any advise / pointers on that?
Greetings from La Paz