View Single Post
Old 03-03-2003, 08:23 AM   PM User | #1
Bawy
New Coder

 
Join Date: Sep 2002
Location: eNYCe
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Bawy is an unknown quantity at this point
ForceType for nicer URLs gives a 404 at root level using DirectoryIndex? What gives??

I am attempting to have a site that users can reference files by www.mydomain.com/user without actually creating any directories, rather get the data from a database at script level.

I have been able to do:
www.mydomain.com/myscript/user
no problem by adding
ForceType application/x-httpd-php
to the htaccess file. But I need to be able to have the DirectoryIndex file implicitly accessed using ForceType:

I have set: DirectoryIndex default

www.mydomain.com/default/user works fine but
www.mydomain.com/user gives a 404???

How do I fix that?
Bawy is offline   Reply With Quote