
Originally Posted by
deano Hi,
I was trying to install Textpattern onto my site, so I uploaded all the files as instructed, but one of those was a .htaccess file. Now when I goto the site all I get is a 403 Forbidden Error Page. Obviously (In my mind at least) the .htaccess is causing the problems, but I have no idea why.
Code:
# DirectoryIndex index.php index.html
# Options +FollowSymLinks
# RewriteBase /relative/web/path/
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php Thanks in advance for any help
Ok, I have messed around a bit and I now have the following htaccess
Code:
DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteBase /home/virtual/site155/fst/var/www/html/textpattern
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule> Instead of a 403, I now get a 500
Any ideas anyone ?