• Resolved raul_coca

    (@raul_coca)


    <Files *.ini>
    Order deny,allow
    Deny from All
    </Files>
    SetEnv PHPRC /home/website/
    <Files *.ini>
    Order deny,allow
    Deny from All
    </Files>
    SetEnv PHPRC /home/website/
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Viewing 9 replies - 31 through 39 (of 39 total)
  • Moderator James Huff

    (@macmanx)

    No, the .htaccess file is fine. That’s just WordPress’s normal entry, and really it could stay on line 1, 2, 5, 15, it’s not the cause.

    What happens right before the memory allocation error? Or, is there nothing before it?

    Basically, the memory allocation is causing the 500, but it would be nice to know what’s taking all of the memory.

    Also, how much memory is allocated to the server, and how much of that is allocated to PHP?

    Thread Starter raul_coca

    (@raul_coca)

    The error is exactly as I posted, nothing else.

    The server had 768 MB allocated, I told them to make this value a bit higher and now it’s at 1024 MB.

    I have seen that there is an apache update, could this be the problem?
    The website is quite complex, I have 17 scripts running, maybe this is what’s causing the ocasional spikes.

    I found something. Check out the first paragraph. I can’t find CGI Script on the server.

    https://encodable.com/internal_server_error/

    Maybe this last version of WP has some issues. Or not…
    I have 5 other websites, I have hosting plans from the same company, I never had any troubles with them. This is the most complex website I have, maybe a shared server can’t whithstand this type of website.

    Moderator James Huff

    (@macmanx)

    The server had 768 MB allocated, I told them to make this value a bit higher and now it’s at 1024 MB.

    Ok, but what is PHP’s memory allocation?

    Check your php.ini file for the line memory_limit =

    Or, do you mean that PHP has 1024 MB allocated, not the server?

    I found something. Check out the first paragraph. I can’t find CGI Script on the server.

    What you found was an article about someone else with a 500 error who found the cause to be a Perl CGI script.

    An Internal Server Error (error 500) is exactly how it sounds, an error which happens in the server. It could be caused by many things, that’s why we’re asking so many questions. WordPress does not use Perl CGI scripts.

    Thread Starter raul_coca

    (@raul_coca)

    I guess the problem has gone now, I optimized css and the images, I have like 2000+ images, this was the problem I think .

    Thread Starter raul_coca

    (@raul_coca)

    The problem has gone now, I optimized css and images, I have like 2000+ images, this was the problem I think.

    for me the culprit is the number of requests and who is requesting.

    Thread Starter raul_coca

    (@raul_coca)

    Don’t know who was the culprit, but i’m glad it’s gone.

    ok… so unsubscribing from this thread.
    good luck.

    Moderator James Huff

    (@macmanx)

    I’m glad you found a fix.

Viewing 9 replies - 31 through 39 (of 39 total)
  • The topic ‘My .htaccess. Is it set right?’ is closed to new replies.