Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

1 Answer

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

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.