All Questions
Tagged with file-extension apache
3 questions
2
votes
2
answers
2k
views
How to remove all .html extensions from all pages of site running under Apache?
On a shared hosting environment based on CentOS-Bash, Apache (with Nginx as a "reverse proxy"), PHP and MySQL I host a MediaWiki website. Normally, no webpage has a .html extension.
I have ...
1
vote
1
answer
1k
views
Remove PHP extension from URLs such that the URLs work with or without a trailing slash
My directory structure is
- Assets
- Dashboard
- index.php
- account.php
index.php
about.php
verify.php
What I basically want it to be:
Remove the .php extension for example http://example.org/...
5
votes
1
answer
2k
views
Apache 2.4 Loads Image Files Even Without Extension. Why?
I have an HTML page with the following:
<img src=J3 width="100" height="150" alt="Student Name" style="float:left;"/>
In the same directory there is an image file, J3.jpg. The page containing ...