There is no way to license software that is the result of combining components that have Apache v2 license with and components that have GPL v2 license that does not contradict the terms of at least one of the licenses, even if you do not modify any of the components in either package.
The Apache Licensing discussion on GPL compatibility indicates that if you use software that is licensed under Apache v2, you must license that portion of your software under Apache v2. However, if you have also included software licensed under GPL v2, then your software is considered to be a derivative work, and you must release the entire software under GPL v2. But, since the Apache v2 license says that the portions covered by the Apache license must be released under Apache v2, you do not have permission to release it under GPL.
This is from the discussion in the Gnu FAQ section on incompatible licenses that says:
Only the copyright holders for the program can legally release their
software under these terms. If you wrote the whole program yourself,
then assuming your employer or school does not claim the copyright,
you are the copyright holder—so you can authorize the exception. But
if you want to use parts of other GPL-covered programs by other
authors in your code, you cannot authorize the exception for them. You
have to get the approval of the copyright holders of those programs.
However, nothing is stopping you from creating a website using a mix of GPL and Apache components. Both licenses permit you to use the software for derivative works and you do not need to license software you create to yourself in order to use it. The limitations the license impose are on copy and redistribution and sublicensing.
There are some related questions (with good answers) on the programmers stack exchange that may shed some more light on the topic.