Hacker News new | past | comments | ask | show | jobs | submit login

Is it easy to do the same for Apache? The best solution I found was some hacky way with an ErrorDocument directive which seems pretty gross.



You can use SSI, and echo the remote IP: https://httpd.apache.org/docs/2.4/howto/ssi.html

``` <!--#echo var="REMOTE_ADDR" --> ```




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: