how to get the .htaccess file to work
I am working apache and I want to start working on several web pages. The files for right now are in several sub folders with each folder with the php files containing a .htaccess file. The .htaccess file looks likes this below:
<FilesMatch "^aboutme$">
ForceType application/
</FilesMatch>
<FilesMatch "^contact$">
ForceType application/
</FilesMatch>
<FilesMatch "^packages$">
ForceType application/
</FilesMatch>
<FilesMatch "^network$">
ForceType application/
</FilesMatch>
What I am trying to do is instead of the saving a .php file, I just have a file that contains php code. So the url would look like this /localhost/
I cannot get the file to overwrite the centralize config file.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apache2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Damiano Venturin
- Solved:
- Last query:
- Last reply: