Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Basically folder etc has files:


How can I make /etc/contact direct to /etc/contact.php?

share|improve this question
Multiviews should do this - can you enable it for that directory? –  Shane Madden May 26 '12 at 0:45

1 Answer 1

RewriteCond %{REQUEST_URI}.php -f
RewriteRule (.*) $1.php
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.