Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6821311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:31:48+00:00 2026-05-26T21:31:48+00:00

I keep getting 500 (Internal Server Error) and I suspect this is because I

  • 0

I keep getting 500 (Internal Server Error) and I suspect this is because I am setting docroot to docroot=${HOME}*. I want to ‘peek under the hood’ because I suspect ${HOME} is what is causing the problems. How can I do this, or at least write all the variables to log whenever there is a problem.

EDIT I am using suPHP version 0.7.1-1 which does support variables within docroot

EDIT I tried cheating by appending the ${HOME} variable to the log file name. For simplicity, I used the ${UID} variable since ${HOME} might have forward slashes in it. I updated the below line in the /etc/suphp/suphp.conf file

logfile=/var/log/suphp/suphp${UID}.log

I get the following file

/var/log/suphp/suphp${UID}.log

It’s as if the ${UID} variable does not even exist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:31:49+00:00Added an answer on May 26, 2026 at 9:31 pm

    This problem arises out of the fact that the * pattern in regular expressions here does not match /. Furthermore, the * is not even necessary since docroot will automatically include all recursive files. All I had to do was change

    docroot=${HOME}*
    

    to

    docroot=${HOME}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Keep getting this error after inserting a subdatasheet into a query and trying to
I keep getting a PermGen error on my Tomcat 6 server. I know what
I keep getting this error: MySQL said: #1064 - You have an error in
I keep getting this error ever so often when I launch the debugger to
I keep getting a Parse error: syntax error, unexpected ':', expecting ')' in /home/jobkill/public_html/process.php
I working on a custom 404 page and keep getting a 500 error from
I have PHP as CGI installed server with magento. I keep getting the 500
I'm using the Html Agility Pack and I keep getting this error. The remote
I keep getting this error when trying to delete a record from my table.
I've a rails 3.1 app on Heroku, I keep getting an 500 error in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.