Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Problem with Forcetype and URL Parsing

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
forcetype + filesmatch in htaccess - I have write a script based on a htaccess file: Here it is: <font ForceType But the server don't care about it. An idea?

ForceType directive and Apache config - Hello, I have two accounts that I use to play with different web stuff on a cheapie shared hosting service, two different domains. I'm guessing that the two domains are on two different servers because one server supports the

replace &quot;filesMatch-&gt;forcetype&quot; using Rewrite.. - Hi all I have this setup on my own server: 1. in All 2. and in the .htaccess in that dir: en ForceType

PHP not parsing through some virtual hosts. - I have just recently installed new php 4.3.4, mysql and apache2 on my server. Things had been running fine and while seems to be properly I am having some problems getting certain php pages to parse. I can't get any of my virtual..

Suse 9.2 - Apache 2 Directory VirtualHost Parsing Bug? - My vhost config files worked perfectly until I installed the update today. (This was a critical update installed by the YaST online updater) Now my current version is (Was 2.0.50-7 before the update) It appears that a..
Next:  Apache: Another root directory?  
Author Message
saiena

External


Since: Oct 06, 2005
Posts: 1



(Msg. 1) Posted: Thu Oct 06, 2005 6:57 am
Post subject: Problem with Forcetype and URL Parsing
Archived from groups: alt>apache>configuration (more info?)

Hello.

I've implemented search-engine friendly URLs on several servers using the
Forcetype feature to run my PHP script "pages", e.g.,

<Files pages>
ForceType application/x-httpd-php
</Files>

This allows me to use urls such as:
www.myhost.com/pages/home

On one server (running: NetWare IA32 NLM 6 50 Intel Pentium, Apache/2.0.52
(NETWARE) mod_jk/1.2.6a PHP/5.0.3 ), I am having a problem.

When the URL ends in the name of my script, it works ok, e.g.:
www.myhost.com/pages

But when the url includes additional elements after "pages" (e.g.,
www.myhost.com/pages/home), instead of stopping at "pages", apache is
continuing to parse the url, and looking for a file
"/pages/home/index.html" (which does not exist, of course).

Any help is much appreciated.

-steve

 >> Stay informed about: Problem with Forcetype and URL Parsing 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]