how to view http requests at the apache server end

I have a standalone php page that is being called by an application.
THe URL includes GET Variables.

Unfortunately I have to troubleshoot the php page, but the application is unable to tell me what the URL+variables was that was sent.

Is there a log or somethign I can turn on in Apache, that will let me see what the URLs requested are?

Evan CutlerVolunteer Chief Information OfficerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can change the LogLevel Directive to 'debug' in apache.conf to look at the URL being passed to Apache.

Post your Apache.conf if you are having issue.
Dave BaldwinFixer of ProblemsCommented:
This little PHP program will tell you everything that the server tells PHP about the server variables.  You can run it standalone then use what ever parts of it will help you.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<title>PHP Server Variables</title>
<body><h1>PHP Server Variables</h1>

foreach($_SERVER as $key => $value) {
    echo "<b>$key :</b> $value<br />\n";

print_r ($_POST);

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray PaseurCommented:
THe URL includes GET Variables.
In PHP your script should say this:


...that will let you visualize the GET variables.  If you have some test data samples that show what the URL will look like, please post them and I will show you how to process them.  If you don't have any test data yet, please create some so we can move forward toward a good solution, thanks.
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
Thanks, and sorry for the delay...
This got me where I wanted to go.

Thanks again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.