ubuntuforums-unanswered team mailing list archive
-
ubuntuforums-unanswered team
-
Mailing list archive
-
Message #03358
[Question #77092]: how to get the .htaccess file to work
New question #77092 on Ubuntu:
https://answers.edge.launchpad.net/ubuntu/+question/77092
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/x-httpd-php
</FilesMatch>
<FilesMatch "^contact$">
ForceType application/x-httpd-php
</FilesMatch>
<FilesMatch "^packages$">
ForceType application/x-httpd-php
</FilesMatch>
<FilesMatch "^network$">
ForceType application/x-httpd-php
</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/jon/public/network instead of this /localhost/jon/public/network.php
I cannot get the file to overwrite the centralize config file.
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.