What do you mean? I don't need the preinstalled web server, it is old and not updateable, I wanna use macports to install a new one. – user893730Nov 26 '11 at 3:37
In that case, removing the preinstalled Apache is irrelevant at best, and dangerous at worst. Just install the MacPorts version in /opt/local/bin (or wherever) and launch that instead of the preinstalled version. The real questions have to do with how (/if) to integrate the MacPorts Apache with Lion Server's configuration interface and web-related services (Wiki, WebDAV, WebMail, Profile Manager, etc). (And how to do that depends on what your goals are...) – Gordon DavissonNov 26 '11 at 7:41