Forum Moderators: phranque
On the Apache server v 1.3.26 there is an .htaccss file. its contents are:
------------------------
<Files ayc>
ForceType application/x-httpd-php
</Files>
ErrorDocument 404
/ayc_404.php
-------------------
My problem is that I don't want a forced php extension.
For example, I loaded a .swf and wanted to access it directly: www.mypage.com/ayc/fil.swf, and it gave me the following error:
--------------
Parse error: parse error in /alwaysy/public_html/articles/ayc.swf on line 7
Fatal error: Call to undefined function: head() in /alwaysy/public_html/ayc on line 48
------------------------
Which lead me to believe that it's trying to force an swf file into a php extension.
Tech support told me to remove this line from my .htacces file: "<Files ayc> ForceType application/x-httpd-php </Files>" and that would fix it. But in reality that crashed my entire page and gave me the following error message:
-------------------------------
Not Found
The requested URL /ayc/home/about/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.26 Server at www.alwaysyourchoice.com Po
-------------------------------
So after my long long description my goal is to remove the forced .php extension and to be able to access any type file .html .swf .anything without the force :)
I appppplogise in advance if my post sounds newbish.. but well in all honesty .. i am a newb :( :)
Any help would be greatly appreciated!