can you show how i can check if mod rewrite with apache configuration is setup for curl in a linux server

i have a debian and fedora also using centos and was wondering how i can check for that