JShor
08-28-2009, 04:08 PM
Hi,
No code is necessary to explain this dilemma. What I've done is I've set my .htaccess file to allow PHP script files to have the option of NOT having the .php extension.
Now, I want the index file to determine query strings, like so:
http://mysite.com/index/MyQueryString
That works just fine for me. However, if I try this:
http://mysite.com/MyQueryString
... it is recognized as a directory on the server. Is there any way I can get around this? It seems that sites such as youtube and facebook are able to do this.
Like:
http://facebook.com/username
http://youtube.com/username
Thanks in advance for all responses. :)
No code is necessary to explain this dilemma. What I've done is I've set my .htaccess file to allow PHP script files to have the option of NOT having the .php extension.
Now, I want the index file to determine query strings, like so:
http://mysite.com/index/MyQueryString
That works just fine for me. However, if I try this:
http://mysite.com/MyQueryString
... it is recognized as a directory on the server. Is there any way I can get around this? It seems that sites such as youtube and facebook are able to do this.
Like:
http://facebook.com/username
http://youtube.com/username
Thanks in advance for all responses. :)