Page 1 of 1

server error (changed server)

Posted: 09 Apr 2010, 19:31
by Fire-Fox
Hey!


I have just changed server. but when i upload a pic i get and error... and all the pic there is uploaded to the site, gives the below error to =/

http://phpbb3addons.com/download/file.p ... view&id=90

can anybody tell me what to do so i can fix this error

Re: server error (changed server)

Posted: 10 Apr 2010, 10:12
by corny
have you chmodded the folders correctly?

Re: server error (changed server)

Posted: 10 Apr 2010, 13:32
by Fire-Fox
Yes i have. i have tryed to chmod all folder to 0777 just to se if it changed anything, but it was the same :(

Re: server error (changed server)

Posted: 10 Apr 2010, 13:42
by cisco007
have you tried contacting you host, and asking about it!?

Re: server error (changed server)

Posted: 10 Apr 2010, 13:51
by Fire-Fox
No i haven't
dont think they are blocking anything. the server is one i have root access to...

[edit]got it working i had

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb3addons.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb3bbcodes.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(php)$ ../stop.gif [L]
in the download folder...[/edit]

When i add the .htaccess file, it blocks the picture. Can't see why it should...

Re: server error (changed server)

Posted: 10 Apr 2010, 14:09
by cisco007
well i used to get a server error on your link, now all i get is a "you are not authorized to download attachment" error!

Re: server error (changed server)

Posted: 10 Apr 2010, 14:20
by Fire-Fox
Yes. proberly because your not a registered member on the site :) but why is the .htaccess giving the error. it didn't on the other server =/

Re: server error (changed server)

Posted: 10 Apr 2010, 15:48
by Stoker
What does the server error logs tell you?

Re: server error (changed server)

Posted: 11 Apr 2010, 02:11
by Fire-Fox
The only thing is

This is from the error log via ACP
A general error occured: General Error
ยป Module not accessible

Re: server error (changed server)

Posted: 11 Apr 2010, 22:54
by Fire-Fox
It was the rewrite modul that wasn't loaded into Apache webserver :)