Jump to content

Module page name beginning with api


Recommended Posts



I want to create a page beginning with api for one of my module (for exemple : http://mydomaine/apiculture).

But with a name beginning with "api", I have an "Authorization required". It a pitty !


I think it's due to the .htaccess line :

RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

If you have more than 1 language, you don't have problem : the URL don't begin with api !



Do you have a solution to write an url like http://mydomaine/apiculture ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...