2

i want log in my accesslog the full urls not just this.

127.0.0.1 - - [07/May/2011:20:19:48 +0200] "GET /test/index1.php HTTP/1.1" 200 31333 "-" "Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0"

i want log for example:

/test/index.php?page=10 or I use also mod rewrite than it would be /test/Page/100

is this possible?

On my server is running Apache / PHP 5

Thank you for your help.

1 Answer 1

1

Use the LogFormat directive to specify the exact format that you want. The parameter for the query string is %q

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.