Log in

View Full Version : error 404 message


Mazinger
09-20-2007, 08:38 PM
Hello.

I'm having this problem too much when browing my forum:



Forbidden

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



Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



What do you think this could be?

Marco van Herwaarden
09-21-2007, 07:31 AM
Either the file permissions do not allow the webserver to access the file, the file is not there, or access is restricted by Hardened PHP/Suhosin.

Mazinger
09-21-2007, 08:06 AM
That happens accediently, and work again when I do a few reloads to the page.

Mazinger
09-22-2007, 03:38 PM
Actually this happens for all sites hosted on this server? I belive this is server issuse.

Do any one know a fix?

Dismounted
09-23-2007, 06:30 AM
Did you see Marco's post?

Mazinger
09-23-2007, 07:36 AM
Either the file permissions do not allow the webserver to access the file, the file is not there, or access is restricted by Hardened PHP/Suhosin.

I don't believe in the first point, because that works as turn on for a minute, and turn off for a second.

What's Hardened PHP/Suhosin?

Dismounted
09-23-2007, 07:52 AM
It's a "beefed-up" (security-wise) version of PHP which can cause undesired results if configured incorrectly. You should ask your host if they have it installed.

Marco van Herwaarden
09-23-2007, 08:45 AM
Check your PHPinfo for Suhosin or Hardened PHP.

Mazinger
09-23-2007, 09:54 AM
Check your PHPinfo for Suhosin or Hardened PHP.
I opened php info in admin cp, and when I searched for 'Hardened' and 'Suhosin', I got not results message.

Marco van Herwaarden
09-23-2007, 10:06 AM
Enable Public PHPinfo and provide a link to your board.

Mazinger
09-23-2007, 10:24 AM
Here's it: http://www.ahatalsaher.com/phpinfo.php

Marco van Herwaarden
09-23-2007, 07:46 PM
This may be due to mod_security.

While mod_security can be a very powerful tool, misconfigured or overly strict rule sets can interfere with vBulletins Operation. Below for Apache users you can use an htaccess file and add a specific rule to disable mod_security.

Make or edit your forum .htaccess file and add the following code

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Note, place this file in your main forum directory.
See this also thread: http://www.vbulletin.com/forum/showthread.php?t=167121

Also i notice that a lot of functions are disabled. This might lead to other problems. ou might ask your host to reconsider these.

Last what is the memory limit set to? If set to low it might also lead to problems.

Mazinger
09-23-2007, 09:05 PM
We actually disabled mod_security just for the purpose of 'quick reply' to work (by the code in .htacess file), but we still get that error message.

Do you have any notes about what you've noticed in my php info so I can tell me host about?

Thanks for your time. :)

Marco van Herwaarden
09-24-2007, 08:04 AM
Then i have no real clue as what is causing your problems other then maybe a memory_limit.

About your config:

disable_functions:
dl,exec,shell_exec,system,passthru,popen,pclose,pr oc_open,proc_nice,proc_termina te,proc_get_status,proc_close,pcntl_exec,pfsockope n,leak,apache_child_terminate, posix_kill,posix_mkfifo,posix_setpgid,posix_setsid ,posix_setuid,escapeshellcmd,b acktick,cmd,escapeshellarg,hell-exec,fpassthru,exec,crack_check,crack_closedict,cr ack_getlastmessage,crack_opend ict,psockopen,php_ini_scanned_files,php_u,curl_ini t,curl_exec,copy,tempnam,symli nk,mkdir,unlink

A lot of functions disabled, some might cause problems with for example attachments or other functions that might not work (or not as expected).

Mazinger
09-24-2007, 08:53 AM
Thanks.

I'll let him know about all that... hopefully he will find a solution.