apache - trouble removing .php extension from rackspace site htaccess -


i trying remove .php extensions website being hosted on rackspace. have issue resolved local using htacess, same solution doesnt work on rackspace.

rewritecond %{http_host} ^(domain.com)$ // check rackspace hosted domain rewritecond %{request_filename} !-f rewritecond %{request_uri} !^/folder/([^\.]+) rewriterule ^([^\.]+)$ http://%{http_host}/$1.php [nc,l] 

rackspace have special requirements must specify domain in rewriterule or else rackspace resolve root directory in server instead.

the problem feed url

domain.com/file

and resolves

domain.com/file.php

in url. how rackspace not add .php extension in url. been trying issue can find solutions generic htaccess, nothing specific rackspace.

any ideas?


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -