Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jacobmischka
on June 6, 2021
|
parent
|
context
|
favorite
| on:
A New Future for Icanhazip
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.
Ayesh
on June 6, 2021
[–]
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: