OT apache question

Michael Weiner hunter at userfriendly.net
Tue Nov 30 17:08:33 UTC 2004


Sorry to be slightly off topic, however, i am trying to come up with a
good/efficient redirect in apache to basically take ALL requests to the
webserver and redirect them all to /index.html - except of
course /index.html requests themselves. I have been able to get
RewriteRule ^.+$  http://www.domain.name/index.html  [R]
to work however that also matches /index.html. And yes, i have read and
am presently reading the apache org rewrite guide  :)

I know this isnt rocket science but the answer is not striking me in the
face - obviously a lack of caffeine this morning. Does any one on the
list have an answer?

Thanks in advance
Michael Weiner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041130/eb15d49b/attachment-0001.sig>


More information about the fedora-list mailing list