- Impact
- 50
:hi:
I'm trying to SEO my pages for a site, i managed to do it successfully on my personal home web-server, with apache2+php5.
But it doesn't seem to be working, i have been using apache 1.3/php 4.xx
but just upgraded because my host also upgraded it to the same versions.
I'm trying SEO my dynamic php pages, the server is also running on apache2+php5 i am using ForceType so that i hide the .php from the URI
Thats what i have in the .htaccess file
The main problem is when i try to visit my website : http://www.mysite.com/songs/ it gives me a 404 error
I heard there was another method to do this on apache 2, cant remember quite correctly but i think it was like adding another directive such as "AcceptPath on" i tried that before posting here but when i do that and access that URL it doesn't display the page instead it shows a download box to download the file it shows it as an unknown-file-type. can't figure it out. i'm sure the code is perfectly fine since it runs on my pc server with the same software versions.
Any ideas or helps would really be appreciated, my guess is that somethings wrong on my host side?
Thank you!
Kind Regards,
I'm trying to SEO my pages for a site, i managed to do it successfully on my personal home web-server, with apache2+php5.
But it doesn't seem to be working, i have been using apache 1.3/php 4.xx
but just upgraded because my host also upgraded it to the same versions.
I'm trying SEO my dynamic php pages, the server is also running on apache2+php5 i am using ForceType so that i hide the .php from the URI
Code:
<FilesMatch "^songs$">
ForceType application/x-httpd-php
</FilesMatch>
Thats what i have in the .htaccess file
The main problem is when i try to visit my website : http://www.mysite.com/songs/ it gives me a 404 error
I heard there was another method to do this on apache 2, cant remember quite correctly but i think it was like adding another directive such as "AcceptPath on" i tried that before posting here but when i do that and access that URL it doesn't display the page instead it shows a download box to download the file it shows it as an unknown-file-type. can't figure it out. i'm sure the code is perfectly fine since it runs on my pc server with the same software versions.
Any ideas or helps would really be appreciated, my guess is that somethings wrong on my host side?
Thank you!
Kind Regards,