liamfriel 4 Junior Poster

Hey Guys,

I am using an Ajax Image uploader, which for a while worked - but now does not. I was wondering you guys could help me figure out what is wrong. The site is on a host and I have set up a ticket - but I would also like to see what you guys think.

When I attempt to upload an image I get this error:

[B]Forbidden[/B]

You don't have permission to access /folder/file.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.mysite.co.uk Port 80

I can access the page when I type in the URL.

Here is the .htaccess file I use. I wonder if anything here caused the error?

#AllowOverride All
#Options +Indexes
#Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite\.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.mysite.co.uk/$1 [R=301,L]
#RewriteBase /RewriteEngine on

#rewrite rules for ship
RewriteRule ship-(.*).html ship.php?ship=$1 [QSA,L]

#rewrite rules for review
RewriteRule review-(.*).html review.php?review=$1 [QSA,L]

#rewrite rules for gallery
RewriteRule gallery-(.*).html gallery.php?ship=$1 [QSA,L]

#rewrite rules for cabins
RewriteRule cabins-(.*).html cabins.php?ship=$1 [QSA,L]

#rewrite rules for stats & ports
RewriteRule stats-(.*).html stats.php?ship=$1 [QSA,L]

#rewrite rules for dining
RewriteRule dining-(.*).html dining.php?ship=$1 [QSA,L]

#rewrite rules for entertainment
RewriteRule entertainment-(.*).html entertainment.php?ship=$1 [QSA,L]

#rewrite rules for facilities
RewriteRule facilities-(.*).html facilities.php?ship=$1 [QSA,L]

#rewrite rules for fitness
RewriteRule fitness-(.*).html fitness.php?ship=$1 [QSA,L]

#rewrite rules for fitness
RewriteRule ports-(.*).html ports.php?ship=$1 [QSA,L]