apache - using functions in a php file through URL rewrited by htaccess -


i have php file function add_user inside it.

i want call fuction browser, , works if use url user.php?rquest=add_user, want access same function (and others in same file too) following url user/add_function.

within .htaccess file in same directory have following rule:

rewriteengine on rewriterule ^user/(.*)$ user.php?rquest=$1 [qsa,nc,l] 

but 404 error.

apparently doesnt ^user/ part, think. maybe because file.

how can access add_user function using user/add_user?

thank you.

i fixed adding options -multiviews in .htaccess file in subdirectory.

i still think it's hosting provider related though.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -